Re: questions relating to ncurses and dialog(1)

2010-12-31 Thread Eygene Ryabinkin
in the ncurses program. If I use rfork(RFPROC|RFCFDG) then it never shows less on the screen. I suspect this is because in the former case they share the same stdin and stdout and in the latter case less doesn't get any std* streams. Is there a way to avoid this problem? The attached patch should fix

Re: questions relating to ncurses and dialog(1)

2010-12-31 Thread Eygene Ryabinkin
Thu, Dec 30, 2010 at 07:03:44PM -0500, Eitan Adler wrote: 2) The help screen just doesn't show up despite having text and a border and not generating any errors (which are all checked) You're using 'frameCols' while calculating windowStatList[HELP].rowStart, so your window is starting somewhere

Re: questions relating to ncurses and dialog(1)

2010-12-31 Thread Eitan Adler
Thank you. I was stuck for a week on the ncurses issue - but now I don't think I will have that problem anymore. :-} On Fri, Dec 31, 2010 at 5:49 AM, Eygene Ryabinkin r...@freebsd.org wrote: Thu, Dec 30, 2010 at 07:03:44PM -0500, Eitan Adler wrote: 2) The help screen just doesn't show up

Re: questions relating to ncurses and dialog(1)

2010-12-31 Thread Eygene Ryabinkin
Fri, Dec 31, 2010 at 01:39:03PM -0500, Eitan Adler wrote: Thank you. I was stuck for a week on the ncurses issue - but now I don't think I will have that problem anymore. :-} No problems, glad to help ;)) While we're on this topic, may I suggest to meld two buttons, Accept the license

questions relating to ncurses and dialog(1)

2010-12-30 Thread Eitan Adler
- but when I hit q it seems that any actions I took in less also took place in the ncurses program. If I use rfork(RFPROC|RFCFDG) then it never shows less on the screen. I suspect this is because in the former case they share the same stdin and stdout and in the latter case less doesn't get any std* streams

Re: ncurses

2001-08-18 Thread Valentin Nechayev
Wed, Aug 15, 2001 at 17:57:44, zaunere (Hans Zaunere) wrote about Re: ncurses: *Whaps himself* Why didn't I think of that. However the question still lingers, is there anyway to output to stdout? Its kind of a moot point I suppose, just curious. ncurses already outputs to stdout

Re: ncurses

2001-08-16 Thread Terry Lambert
ncurses function I can think of, endwin(), etc. However if there is a printf() anywhere after ncurses stuff has happened, nothing is printed to the screen until the program exits. What am I missing? Is there a trick to this, as it must be possible, right? Printf goes to a buffer, which

ncurses

2001-08-15 Thread Hans Zaunere
I'm sorry that this is offtopic, but I've looked/asked everywhere and no one has a clue. Once a program does initscr(), is it possible to printf()? I can printf() stuff without a problem, but it doesn't get to the screen until the program exits? I've done every ncurses function I can think

Re: ncurses

2001-08-15 Thread Stephen Montgomery-Smith
ncurses function I can think of, endwin(), etc. However if there is a printf() anywhere after ncurses stuff has happened, nothing is printed to the screen until the program exits. What am I missing? Is there a trick to this, as it must be possible, right? Thank you, Hans [EMAIL

Re: ncurses

2001-08-15 Thread Hans Zaunere
fprintf(stderr,..) will print stuff when ncurses is running. *Whaps himself* Why didn't I think of that. However the question still lingers, is there anyway to output to stdout? Its kind of a moot point I suppose, just curious. Thank you, Hans

Re: ncurses

2001-08-15 Thread Mark Peek
At 5:45 PM -0700 8/15/01, Hans Zaunere wrote: Once a program does initscr(), is it possible to printf()? I can printf() stuff without a problem, but it doesn't get to the screen until the program exits? It is best not to mix printf and curses. I've done every ncurses function I can think

ncurses tic(1)

2001-02-01 Thread Peter Pentchev
Is there a way to build tic(1) from the ncurses distribution in src/contrib/ncurses? I know there is one in the ncurses port, but for some reason it is not built in the base system. How do I go about enabling it in the build process? There are also several other utilities in src/contrib

What must be provided by an init for ncurses?

2001-01-19 Thread Alexander Langer
Hello! Libh uses TVision which uses ncurses. I have written a *simple* init which opens /dev/ttyv0. printf() and alikes work, but ncurses does not ("Error opening terminal"). I wonder if anyoen can tell me what my simple init must provide as well to make ncurses running. I have a /e

ncurses+ full screen apps

2000-10-18 Thread Marco van de Voort
Is it possible to capture alt-x keys on the console? Prefer a ncurses solution, but a FreeBSD specific, or even a RAW freebsd console one will do. Marco van de Voort ([EMAIL PROTECTED] or [EMAIL PROTECTED]) To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe fr