Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F112066249
D32078.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
721 B
Referenced Files
None
Subscribers
None
D32078.diff
View Options
diff --git a/bin/csh/dot.cshrc b/bin/csh/dot.cshrc
--- a/bin/csh/dot.cshrc
+++ b/bin/csh/dot.cshrc
@@ -41,6 +41,10 @@
bindkey "^W" backward-delete-word
bindkey -k up history-search-backward
bindkey -k down history-search-forward
+ if ( $TERM =~ "xterm*" ) then
+ alias precmd 'printf "\033]0;${HOST}:$cwd\007"'
+ endif
+
endif
endif
diff --git a/share/skel/dot.cshrc b/share/skel/dot.cshrc
--- a/share/skel/dot.cshrc
+++ b/share/skel/dot.cshrc
@@ -38,6 +38,10 @@
bindkey "^W" backward-delete-word
bindkey -k up history-search-backward
bindkey -k down history-search-forward
+ if ( $TERM =~ "xterm*" ) then
+ alias precmd 'printf "\033]0;${HOST}:$cwd\007"'
+ endif
+
endif
endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 13, 8:28 AM (18 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17132500
Default Alt Text
D32078.diff (721 B)
Attached To
Mode
D32078: Make {t,}csh sessions more xterm friendly
Attached
Detach File
Event Timeline
Log In to Comment