Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Oct 2011 21:51:01 -0700
From:      Gary Kline <kline@thought.org>
To:        Thomas Dickey <dickey@radix.net>
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: OT: how to tell when i've hit a Fn key?
Message-ID:  <20111007045101.GA603@thought.org>
In-Reply-To: <20111006233725.GA18837@saltmine.radix.net>
References:  <20111006224114.GA15978@thought.org> <20111006233725.GA18837@saltmine.radix.net>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Thu, Oct 06, 2011 at 07:37:25PM -0400, Thomas Dickey wrote:
> Date: Thu, 6 Oct 2011 19:37:25 -0400
> From: Thomas Dickey <dickey@radix.net>
> Subject: Re: OT: how to tell when i've hit a Fn key?
> To: Gary Kline <kline@thought.org>
> Cc: FreeBSD Mailing List <freebsd-questions@freebsd.org>
> 
> On Thu, Oct 06, 2011 at 03:41:17PM -0700, Gary Kline wrote:
> > 
> > I've got a 103-key keyboard.  most  of them produce the right WAV
> > file.  i was having some trouble with the arrow key, but think i've
> > found a resolution.  next are the Function key, F1 to F12. 
> > 
> > anybody on-list familiar with curses and can help me  with this?
> > right now, most of the function keys output 4 clicks [!].  
> 
> I generally use tack for verifying the function-keys against the terminal
> description.  (I don't recall seeing a port for tack, but it can probably
> be built starting with ncurses-devel, though I haven't tried that, since
> I build development versions of ncurses outside the ports).
> 
> For _seeing_ the codes, it helps to type ^V (lnext) right before pressing
> a given key, making the escape character visible.
> 

	Hm.  no joy in mudville.  i know the first byte ia an
	ESC [ '\033].  the last, for F1, is an A.  the others are
	hidden.


	i'll check ncurses-devel and see w hat it has.  REAL code
	helps in stuff like this... .


> -- 
> Thomas E. Dickey
> http://invisible-island.net
> ftp://invisible-island.net



-- 
 Gary Kline  kline@thought.org  http://www.thought.org  Public Service Unix
           Journey Toward the Dawn, E-Book: http://www.thought.org
          The 8.51a release of Jottings: http://jottings.thought.org




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20111007045101.GA603>