-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday 11 January 2002 12:18 am, [EMAIL PROTECTED] wrote: > On Thu, Jan 10, 2002 at 11:30:16PM -0600, Ron Johnson wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > On Thursday 10 January 2002 11:04 pm, [EMAIL PROTECTED] wrote: > > > On Thu, Jan 10, 2002 at 10:26:41PM -0600, Ron Johnson wrote: [snip] > snip... > > Your termcap seems fine. I would suggest it may be a problem with the > readline library that bash is using. Probably a bug or a problem in the > build. It may also be the bash build. Try the following on the computer > that is not recognising home and end. You can make any key perform any > function this way. > > type > > vi /etc/inputrc > > then go down to the end of the file and add a line > > type " > > then (this is important), press ctrl-V, you should get a little ^ > > then press home > > then close the quote and finish the line. It should read > > "^[OH": beginning-of-line > > Do the same for end > > "^[OF": end-of-line > > exit the shell and spawn a new bash. > > Does it work? > > This however has the possibility of screwing up other terminals. So if you > use other terminals (which will send different cooked characters for home > and end) then you should encase the definitions in an if block. like... > > $if term=xterm > "^[OH": beginning-of-line > "^[OF": end-of-line > $endif > > info readline will give you more information, in particular the function > and variable index will show you what you can bind key sequences to. > > If this fixes it, then their is probably a bug in the bash or readline deb > that your using. Let us know what the following gives > > dpkg -l |grep bash > > and > > dpkg -l |grep readline > > so a bug report can be made
That fixed it, even though the values were "^[[1~": beginning-of-line "^[[4~": end-of-line and I had to add in the 2nd ", and descriptions. Here are the installed packages: # dpkg -l > dpkg.installed # grep bash dpkg.installed ii bash 2.05a-3 The GNU Bourne Again SHell ii bash-doc 2.05a-3 Documentation and examples for the # grep readline dpkg.installed ii libreadline4 4.2a-3 GNU readline and history libraries > $if term=xterm Why isn't it $TERM? Many thanks. - -- +------------------------------------------------------------+ | Ron Johnson, Jr. Home: [EMAIL PROTECTED] | | Jefferson, LA USA http://ronandheather.dhs.org | | | ! "Millions of Chinese speak Chinese, and it's not | ! hereditary..." | ! Dr. Dean Adell(sp?) ! +------------------------------------------------------------+ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8PoN4jTz5dS9Us5wRAgEpAJ4+4vYoQBaWbpTvQK0teoE/8ALGLwCfU5F7 uiJc7YHdFpipYU8/MkGYHEQ= =kf8D -----END PGP SIGNATURE-----

