OSSP CVS Repository

ossp - Check-in [5045]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 5045
Date: 2005-Apr-05 14:14:34 (local)
2005-Apr-05 12:14:34 (UTC)
User:rse
Branch:
Comment: add some ideas from ¤http://www.geocities.com/h2428/petar/
Tickets:
Inspections:
Files:
ossp-pkg/due/.due/due.term.sh      1.6 -> 1.7     3 inserted, 0 deleted

ossp-pkg/due/.due/due.term.sh 1.6 -> 1.7

--- due.term.sh  2004/10/24 19:30:24     1.6
+++ due.term.sh  2005/04/05 12:14:34     1.7
@@ -62,12 +62,15 @@
 alias sane='(xset r rate 400 40; stty sane; eval `resize`) >/dev/null 2>&1 || true'
 
 #   adjust shell history settings
+PROMPT_COMMAND='builtin history -a'
 shopt -s histappend
 shopt -s cmdhist
 HISTSIZE=9000
 HISTFILESIZE=9000
 HISTIGNORE="&"
 HISTTIMEFORMAT='%Y-%m-%d %H:%M:%S  '
+bind '"\e[A"':history-search-backward
+bind '"\e[B"':history-search-forward
 
 #   provide command for rotating a little propeller for
 #   keeping a remote connection busy and this way alive

CVSTrac 2.0.1