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. > > http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/init.html#RAWCBREAK > > 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 | http://camdensoftware.com > ..o | sterl...@camdensoftware.com | http://chipsquips.com > ooo | 2048R/D6DBAF91 | http://chipstips.com -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.98a release of Jottings: http://jottings.thought.org _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"