Mail Archives: djgpp/1999/03/11/08:48:29
Mark E.,
Thank you *sooo* much for working on a port of bash 2.03.
I downloaded the most recent beta binary (the optimized one that uses
malloc from libc) and tried it out. I made no changes to my djgpp
setup; I just invoke the 2.03 bash.exe (as a login shell) instead of
the 1.14.7 binary.
The only difference I see so far is that the 2.03 bash does not read the
_inputrc file for readline, and therefore starts in emacs editing-mode
rather than my preferred vi editing-mode. I can `source' the _inputrc
file from bash, or source it from the _bprof file during bash startup,
but I do not have to do this with 1.14.7.
jt
[_inputrc file follows]
# for bash's readline
$if BASH
# variables
set bell-style none
set visible-stats on
set editing-mode vi
set horizontal-scroll-mode off
$if mode=emacs
# key bindings for emacs
#
# translation characters for extended keys:
# "\e[0": no shifts, "\e[1": SHIFT, "\e[2": CTRL, "\e[3": ALT
# "A": UP, "B": LEFT, "C": RIGHT, "D": DOWN, "E": INS, "F": DEL
# "G": HOME, "H": END, "I": PAGE UP, "J": PAGE DOWN
# "XA": F1, "XB": F2, ... "XL": F12
#
"\e[0A": previous-history
[snipped]
"\e[3XC": "ALT + Function Key 3"
$endif
$endif
- Raw text -