OSSP CVS Repository

ossp - Difference in ossp-pkg/due/.due/due.term.sh versions 1.1 and 1.2
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/due/.due/due.term.sh 1.1 -> 1.2

--- due.term.sh  2004/07/10 08:17:15     1.1
+++ due.term.sh  2004/10/04 15:34:50     1.2
@@ -43,9 +43,14 @@
 
 #   adjust terminal settings
 if expr $- : ".*i.*" >/dev/null; then
-    mesg y
+    BASH_INTERACTIVE=yes
+else
+    BASH_INTERACTIVE=no
 fi
-if [ ".$TERM" = .xterm ]; then
+if [ ".$BASH_INTERACTIVE" = .yes ]; then
+    mesg y
+fi  
+if [ ".$TERM" = .xterm -a ".$BASH_INTERACTIVE" = .yes ]; then
     stty -istrip cs8
 fi
 shopt -s checkwinsize
@@ -59,6 +64,7 @@
 HISTSIZE=9000
 HISTFILESIZE=9000
 HISTIGNORE="&"
+HISTTIMEFORMAT='%Y-%m-%d %H:%M:%S  '
 
 #   provide command for rotating a little propeller for
 #   keeping a remote connection busy and this way alive

CVSTrac 2.0.1