Re: curses init in one line?

2010-01-19 Thread Polytropon
On Mon, 18 Jan 2010 16:28:38 -0800, Gary Kline kl...@thought.org wrote: ps: re Subject line, I remember it let you use /bin/sh without hittin enter or cr. there's no easy way of doing that in C! In one line? initscr(); cbreak(); noecho(); nonl(); intrflush(stdscr, FALSE);

Any curses gurus on this list? [Was:: {Re: curses init in one line?}]

2010-01-18 Thread Gary Kline
On Sun, Jan 17, 2010 at 07:34:29PM -0800, Gary Kline wrote: I'm going round, round and round. chasing my tail trying to piece to gether a simple [ha!] test program that uses curses. Anybody out there who know how to fix an output cursor move()ment? Please write me

Re: curses init in one line?

2010-01-18 Thread Polytropon
On Sun, 17 Jan 2010 19:34:29 -0800, Gary Kline kl...@thought.org wrote: this is going to sound a bit off the wall, and it may have only worked in FBSD [if I wasn't imagining it], but is there a way to get into curses/ncurses mode in one short line? it has been years but I

Re: curses init in one line?

2010-01-18 Thread Gary Kline
On Mon, Jan 18, 2010 at 09:21:36PM +0100, Polytropon wrote: On Sun, 17 Jan 2010 19:34:29 -0800, Gary Kline kl...@thought.org wrote: this is going to sound a bit off the wall, and it may have only worked in FBSD [if I wasn't imagining it], but is there a way to get into

curses init in one line?

2010-01-17 Thread Gary Kline
this is going to sound a bit off the wall, and it may have only worked in FBSD [if I wasn't imagining it], but is there a way to get into curses/ncurses mode in one short line? it has been years but I think somebody sent me the magic code, for either a shell