Re: Home and end keys (was Re: Make Debian better)
On Fri, Oct 25, 2002 at 23:41:49 +1000, Russell wrote:
> After doing echo -ne "\e[?1h", does Home still give ^[[H ?
No, ^[OH as expected.
> For a bash-specific fix, you could try: set enable-keypad on.
> Maybe zsh has a similar setting.
No, I think I need to configure that with bindkey. By default, one has:
greux:~> bindkey | grep of-buffer
"^[<" beginning-of-buffer-or-history
"^[>" end-of-buffer-or-history
But then, if I get different sequences for Home, depending on the
machine, I'll need to define a key binding for each of them. I'd
like to know if there is a standard for Home and End.
--
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/> - 100%
validated (X)HTML - Acorn Risc PC, Yellow Pig 17, Championnat International
des Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
Reply to: