bug-ncurses
[Top][All Lists]
Advanced

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

Re: function keys do not work


From: Ricardo Cantu
Subject: Re: function keys do not work
Date: Mon, 26 Mar 2007 15:54:40 -0600
User-agent: KMail/1.9.5

There you go. The two that work match what your terminal is producing 
for F1 (\E[11~) and the two that don't use \EOP.

There are many ways to fix this problem. It all depends on how much control 
you have over these systems and what other people access it and what software 
is being used on it. 

You can update the terminfo database to what comes with ncurses.
You can change what F1-F12 sends in your terminal based on what system you are 
logged into.
You can setup a custom terminal type on those systems using /etc/termcap.
Screen allows you to change kF? tokens in its configuration file /etc/screenrc 
or ~/.screenrc.
And it goes on and on...


On Monday 26 March 2007 3:41 pm, you wrote:
> slackware: kf1=\EOP
> debian: kf1=\EOP
> solaris: kf1=\E[11~
> aix: kf1=\E[11~
>
> to me it gets stranger and stranger
>
> On Mon, Mar 26, 2007 at 03:34:40PM -0600, Ricardo Cantu wrote:
> > Good, now run
> > infocmp xterm
> >
> > what is the value for kf1?
> >
> > On Monday 26 March 2007 3:30 pm, you wrote:
> > > on slackware: ^[[11~
> > > on debian: ^[[11~
> >
> > --
> > Ricardo Cantu
> > Computer Services
> > 3506 Buchanan St Suite C
> > Wichita Falls, TX 76308
> > (940) 696-3010
>
> Folkert van Heusden

-- 
Ricardo Cantu
Computer Services
3506 Buchanan St Suite C
Wichita Falls, TX 76308
(940) 696-3010





reply via email to

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