2016-07-12 16:43:38 +00:00
|
|
|
if [ _$TERM = "_gno-console" ]; then
|
|
|
|
stty kill ^X # default line kill char is ^U (right arrow)
|
|
|
|
|
|
|
|
bind Control-H:backward-char
|
|
|
|
bind Control-U:forward-char
|
|
|
|
bind Control-J:next-history
|
|
|
|
bind Control-K:previous-history
|
|
|
|
bind Control-X:unix-line-discard
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ _$TERM = "_gsos-console" ]; then
|
|
|
|
stty kill ^X # default line kill char is ^U (right arrow)
|
|
|
|
stty oxtabs # expand tabs to spaces
|
|
|
|
tput init # make sure CR doesn't also LF.
|
|
|
|
|
|
|
|
bind Control-H:backward-char
|
|
|
|
bind Control-U:forward-char
|
|
|
|
bind Control-J:next-history
|
|
|
|
bind Control-K:previous-history
|
|
|
|
bind Control-X:unix-line-discard
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
if [ _$TERM = "_proterm-special" ]; then
|
|
|
|
stty kill ^X # default line kill char is ^U (right arrow)
|
|
|
|
|
|
|
|
bind Control-H:backward-char
|
|
|
|
bind Control-U:forward-char
|
|
|
|
bind Control-J:next-history
|
|
|
|
bind Control-K:previous-history
|
|
|
|
bind Control-X:unix-line-discard
|
|
|
|
fi
|
|
|
|
|
2016-09-27 13:52:47 +00:00
|
|
|
if [ _$TERM = "_appleIIe" ]; then
|
|
|
|
stty kill ^X # default line kill char is ^U (right arrow)
|
|
|
|
|
|
|
|
bind Control-H:backward-char
|
|
|
|
bind Control-U:forward-char
|
|
|
|
bind Control-J:next-history
|
|
|
|
bind Control-K:previous-history
|
|
|
|
bind Control-X:unix-line-discard
|
|
|
|
fi
|
2021-03-28 00:57:03 +00:00
|
|
|
|
|
|
|
if [ _$TERM = "_appleIII" ]; then
|
|
|
|
stty kill ^X # default line kill char is ^U (right arrow)
|
|
|
|
stty oxtabs cs7 # expand tabs to spaces, 7-bit text.
|
|
|
|
|
|
|
|
bind Control-H:backward-char
|
|
|
|
bind Control-U:forward-char
|
|
|
|
bind Control-J:next-history
|
|
|
|
bind Control-K:previous-history
|
|
|
|
bind Control-X:unix-line-discard
|
|
|
|
fi
|