Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Apr 2011 13:24:51 -0700
From:      Gary Kline <>
To:        FreeBSD Mailing List <freebsd-questions@FreeBSD.ORG>
Subject:   Re: I'm looking for a curses one-iner.
Message-ID:  <>
In-Reply-To: <>
References:  <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Sun, Apr 10, 2011 at 12:22:50PM -0700, Chip Camden wrote:
> Quoth Gary Kline on Sunday, 10 April 2011:
> > People,
> > 
> > Can anybody point me to a one-line of curses (it may be *long* and
> > obscure) that allows keyboard input _without_ hitting <cr>/enter.  
> > So, in effect, I couold use the curses getchar() and have things
> > echoed to stdout without bothering to type Enter.   There may be a
> > matching one-liner to set things back to the way they were upon
> > exiting the curses program.
> See also "man raw".  I think what you want is raw() and noraw().

	YES! ANd give that man in the srtaw hat a seegar!

	After waiting and thinking about howto get a user-side driver to
	make individual keys "click," and after wading thru the 30 pages
	of python that i'm now getting my head around, I decided to try
	it myself.  Borrow here/there, and put in my own click.c into
	the daemon.   According to the one-laptop-per-child group my
	program might be a win for their platform.  The "keyboard" is
	membrane-style.  Et cetera.

	Even if it only help me on my old 2005 Thinkpad, hey....

> -- 
> .o. | Sterling (Chip) Camden      |
> ..o | |
> ooo | 2048R/D6DBAF91              |

 Gary Kline  Public Service Unix
           Journey Toward the Dawn, E-Book:
          The 7.98a release of Jottings:

Want to link to this message? Use this URL: <>