[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: control
From: |
Micah Cowan |
Subject: |
Re: control |
Date: |
Thu, 04 Dec 2008 10:03:12 -0800 |
User-agent: |
Thunderbird 2.0.0.18 (X11/20081125) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
(sorry, accidentally hit "Reply" instead of "Reply All")
Micah Cowan wrote:
> broz wrote:
>> Hi,
>> i have a question about gnuscreen which I think is great btw. I
>> may have a hard time conveying what I want to know, but here goes:
>
>> I currently use nano as my editor (within gnuscreen of course). I can
>> have multiple files open in it, and can switch to the next one with the
>> M-. (or M-<) key. Is there some way to have screen send that key as
>> a control, not as text? I tried register-process escaping but can't get
>> the hang of it...
>
> I'm having trouble what you're asking. In terminals, virtually
> _everything_ is text: controls certainly are. The only things that can
> be done that aren't some variety of "sending text" are changing the stty
> values, and sending SIGWINCH to inform an app that the window size has
> changed.
>
> Perhaps you should explain what screen is currently doing that you don't
> want it to do?
>
> In terminals, M-. is either sent as the escape character (ESC) followed
> by a period, or else by sending the period character but with its
> highest bit set instead of unset (0xAE instead of 0x2E). Hardly anyone
> does that anymore, though, because it interferes with character
> encodings, so ESC . is the norm.
>
> That's what your terminal would generally send to nano, with or without
> screen. Is something else going on?
>
- --
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer.
GNU Maintainer: wget, screen, teseq
http://micah.cowan.name/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkk4G2AACgkQ7M8hyUobTrHvtgCeNVEXevUAY7zPMsE7xIaHBrCZ
MLcAn1AewCZSLG5B5vcKYQgdMZ0k94Er
=h4jq
-----END PGP SIGNATURE-----
- control, broz, 2008/12/04
- Message not available
- Re: control,
Micah Cowan <=