[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ncurses bugs the output of the program I call
From: |
LucasJA |
Subject: |
Re: ncurses bugs the output of the program I call |
Date: |
Fri, 16 Sep 2011 04:58:47 -0700 (PDT) |
Thomas Dickey-2 wrote:
>
> On Thu, 15 Sep 2011, LucasJA wrote:
>
>>
>> Hello.
>>
>> I am developing a shell as a homework and I am using ncurses.
>> I setup the ncurses for my shell. When I call the 'ps' program from my
>> shell, it outputs the result incorrectly on the screen:
>
> You're probably not calling one of the functions which is used to
> temporarily restore the terminal modes before invoking 'ps'.
> For example, endwin (before) and refresh (after).
>
> --
> Thomas E. Dickey
> http://invisible-island.net
> ftp://invisible-island.net
>
> _______________________________________________
> Bug-ncurses mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/bug-ncurses
>
>
If I temporarily leave the ncurses mode, call the 'ps' and return to ncurses
mode (using endwin() then refresh()), the output of the ps is not shown on
my shell, it is shown in the gnome-terminal (I can see the output after I
close my shell program). I would like to see the output of it on my program.
What can I do? Thanks.
--
View this message in context:
http://old.nabble.com/ncurses-bugs-the-output-of-the-program-I-call-tp32474334p32478352.html
Sent from the Gnu - Ncurses mailing list archive at Nabble.com.