bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Replacement for C-w


From: Marcus Brinkmann
Subject: Re: Replacement for C-w
Date: Wed, 28 Aug 2002 22:48:08 +0200
User-agent: Mutt/1.4i

On Wed, Aug 28, 2002 at 04:27:48PM -0400, David Walter wrote:
>         F11 and F12 emit ^S and ^T under a hurd term?

Nothing funky that the Mach console does now should be of any concern to
you.  The "hurd" terminal defines escape sequences that are compatible with
screen, Linux etc:

        kf1=\EOP, kf10=\E[21~,
        kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
        kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
        kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS,
        kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,

> So I guess  I would vote for  A-F[1...12] on the console,  then people
> who work under both GNU/Linux and GNU/Hurd environments won't have two
> key  combinations to  remember, and   when working  remotely  or in  a
> terminal F[1...12].
> 
> That is: console-ncurses:   [f1..f12]
>          console-console: A-[f1..f12]

Well, there are applications that use function keys, and note that we will
not only need key codes for virtual console switching, but for a lot of
other stuff as well.  This includes scrollback buffer and some configuration
modes.  A command prefix like screen has seems to be appropriate, together
with the possibility to configure any key to any command.

Although we need a sane default of course, having it configurable (like
screen is) is the only thing that can end this thread under 200 messages :)
However, the details of this are better left for a bit later, when we have
more functions and input support in the PC console client.

Thanks,
Marcus

-- 
`Rhubarb is no Egyptian god.' GNU      http://www.gnu.org    marcus@gnu.org
Marcus Brinkmann              The Hurd http://www.gnu.org/software/hurd/
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]