tcsh: TERM in /etc/csh.login
Kacper Kornet
kornet at camk.edu.pl
Sat Apr 9 23:25:46 CEST 2005
tchs doesn't not set the TERM variable, when it is not set earlier. It can
cause sometimes problems.
#v+
Index: csh.login
===================================================================
RCS file: /cvsroot/SOURCES/csh.login,v
retrieving revision 1.10
diff -u -r1.10 csh.login
--- csh.login 17 Oct 2004 16:55:22 -0000 1.10
+++ csh.login 9 Apr 2005 21:25:02 -0000
@@ -18,6 +18,13 @@
set autoexpand
set autolist
+if ( "$?TERM" == "0") then
+ setenv TERM linux
+else if ( "$TERM" == "uknown" ) then
+ setenv TERM linux
+endif
+
+
# Key bindings
bindkey "^R" i-search-back # i-search
#v-
Best wishes,
--
Kacper
More information about the pld-devel-en
mailing list