Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: (2) Re: History Up key
- X-seq: zsh-workers 13612
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: Peter Stephenson <pws@xxxxxxx>, zsh-workers@xxxxxxxxxx (Zsh hackers list)
- Subject: Re: PATCH: (2) Re: History Up key
- Date: Mon, 12 Mar 2001 18:37:43 +0000
- In-reply-to: <Tc0a88d015240593627@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <Tc0a88d015240593627@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
On Mar 12, 5:36pm, Peter Stephenson wrote:
} Subject: PATCH: (2) Re: History Up key
}
} > why not use termcap/terminfo to find esc for arrow keys?
}
} I'd like some indication there are non-standard terminals that this doesn't
} wreck horribly before committing it.
There are some ancient terminals (I think Qume terminals are an example)
for which the termcap bindings are (or at least, were)
kd => newline
kl => backspace
kr => space
with ku not bound, of course. Probably an adequate solution is to avoid
binding the "arrow" keys in those circumstances where zsh automatically
enters single-line-zle mode.
Otherwise, there are of course broken termcap/terminfo database, but zsh
will be no worse off than any other program that trusts them.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
Messages sorted by:
Reverse Date,
Date,
Thread,
Author