Hello Jago,
On 5/12/06, Jago Pearce <[EMAIL PROTECTED]> wrote:
They work in bash but not with Fish.
How do I get them working the correct way?
Everything works in aterm on my system. Both fish and bash use a
terminal database (terminfo and termcap respectively) as well as a
file with overrides for this database called /etc/inputrc, so in
theory they should always behave the same.
Unfortunatly there are multiple things that can go wrong, including
strange conditionals in the inputrc file, differences between terminfo
and termcap, a problem with fishes inputrc-parser, etc..
On my system, pressing home and end in aterm generate the byte
sequences (hexadecimal)
1b 5b 37 7e
and
1b 5b 38 7e
respectively. Use 'make key_reader; ./key_reader' in the main fish
direcory if you've downloaded the source in order to test this on your
system.
There are a number of ways to tell fish to modify it's keybindings,
the simplest one is probably to create a file called '.fish_inputrc'
in your home direcotry, containing something like this:
$include /etc/fish_inputrc
"\e[7~": beginning-of-line
"\e[8~": end-of-line
Best of luck
--
Axel
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users