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
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
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
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
-
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
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
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
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
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
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
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
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
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
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
14 matches
Mail list logo