[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: function keys do not work
From: |
Folkert van Heusden |
Subject: |
Re: function keys do not work |
Date: |
Mon, 26 Mar 2007 21:51:29 +0200 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Well:
Solaris 10 | WORKS | TERM=dtterm | ncurses-5.4
Linux | not | TERM=screen | ncurses-5.5
Linux | not | TERM=xterm (as set by putty) | ncurses-5.5
Linux Debian | not | TERM=screen | ncurses-5.5 5.5-5
Linux Debian | not | TERM=xterm | ncurses-5.5 5.5-5
MacOS 10.3 | not | TERM=xterm-color | ncurses-5.4
AIX | WORKS | TERM=xterm (putty) | ncurses-5.2-3
On Mon, Mar 26, 2007 at 12:40:34PM -0600, Ricardo Cantu wrote:
> From a prompt type:
> echo $TERM
>
> Does this match the TERM in putty?
>
> On Monday 26 March 2007 12:34 pm, Folkert van Heusden wrote:
> > Hi,
> >
> > I do:
> >
> > keypad(stdscr, TRUE);
> >
> > <...>
> >
> > int c = getch();
> >
> > if (c == KEY_F(1))
> > {
> > /* do something */
> > }
> >
> > now it seems c never is KEY_F(1) when I press F1!
> > This problem occurs under macos x and linux, on solaris it works fine
> > (linux and solaris tested from a putty window).
> >
> > Linux (does not work):
> > - /lib/libncurses.so.5.5
> > - debian package: 5.5-5
> >
> > MacOS X (does not work):
> > - /usr/lib/libncurses.5.4.dylib
> >
> > Solaris 10 (DOES work):
> > - /usr/local/lib/libncurses.so.5.4
> >
> >
> > Folkert van Heusden
>
> --
> Ricardo Cantu
> Computer Services
> 3506 Buchanan St Suite C
> Wichita Falls, TX 76308
> (940) 696-3010
>
>
>
> _______________________________________________
> Bug-ncurses mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-ncurses
Folkert van Heusden
--
www.vanheusden.com/multitail - win een vlaai van multivlaai! zorg
ervoor dat multitail opgenomen wordt in Fedora Core, AIX, Solaris of
HP/UX en win een vlaai naar keuze
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com