On Mon, 19 Apr 1999, David DeSimone wrote:
[ctrl-arrow]
> > > You can't type such a key sequence. :)
> > That's weird: you're saying Linux can't do something DOS can? :)
<snip>
> You can test this out by typing Ctrl-V at your shell prompt, then
> pressing the Up-Arrow key. You should see "^[[A" on your input line;
> that's the sequence of VT100 codes for cursor-up. Then, if you type
> Ctrl-V, followed by Ctrl-Up-Arrow, you'll see that the exact same key
> sequence is generated.
That's a good tip :) Well, I did just what you suggested, and in fact
I do get different sequences for ctrl-arrow. (Note: I have TERM set to
"linux", not VT100.) Here's what I see:
UpArrow: ^[[A Ctrl-UpArrow: ^[~
DnArrow: ^]]B Ctrl-DnArrow: ^[~
I don't know if it means much, but since the same sequence is printed
for up and down arrows, it would be useless anyway.
Anyway, I can live with that. I was really asking about the
possibility because when viewing a message, it's second nature to
scroll the message text with cursor arrows rather than PgUp/Dn or
Enter, or even space. After several days with mutt, I am still making
the mistake of skipping to next message instead of scrolling down. As
a half-measure I remapped <ins> amd <del> to scroll up and down by
line, because I'm used to that in Lynx - however, that doesn't feel
*completely* right, either, since my fingers would much rather use
<del> for delete. I *could* map up/down arrows the way I want, but
then I can't think of anything sensible to use for scrolling up and
down the message list :) Oh well...
.marek
--
General Frenetics, Discorporated: http://www.lodz.pdi.net/~eristic/
People must not do things for fun. We are not here for fun. There is
no reference to fun in any Act of Parliament.