screen-users
[Top][All Lists]
Advanced

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

Re: Some keys are not giving the expected result when pressed


From: Alain Bench
Subject: Re: Some keys are not giving the expected result when pressed
Date: Thu, 5 Jul 2007 22:56:39 +0200 (CEST)
User-agent: Mutt/1.5.13 (2006-11-28)

Hello Christian,

 On Tuesday, June 19, 2007 at 8:09:48 +0200, Christian Andersson wrote:

> When i press lshift+rarrow i only get some output data instead of
> moving the cursor (in mcedit) for example.

    Shift-arrows are not part of the Screen virtual terminal. Those keys
are not translated between the real terminal and applications. And are
not declared in TERM=screen terminfos.

    However Screen doesn't block those keys, they are passed unmodified
to applications. So you could build a custom terminfo entry, beginning
with a basic screen one, and adding any keys you want. As starting
example:

| screen.xterm|GNU Screen inside Xterm,
|       kRIT=\E[1;2C,
|       use=screen,

     Tic -x this and you'll get a specialized entry better exploiting
Xterm features. It's less portable though: Don't use that if you happen
to detach and reattach to another terminal.


Bye!    Alain.
-- 
Give your computer's unused idle processor cycles to a scientific goal:
The address@hidden project at <URL:http://folding.stanford.edu/>.




reply via email to

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