Re: ncurses problem

2018-09-29 Thread Grzesiek Sójka
On 9/29/18 9:14 AM, Sven Joachim wrote: On 2018-09-29 11:02 +, Grzesiek Sójka wrote: On 9/28/18 9:44 AM, Sven Joachim wrote: Actually it is exactly the other way around. If LINES and COLUMNS are set in the environment, then the ncurses library will _not_ update the screen size upon recei

Re: ncurses problem

2018-09-29 Thread Sven Joachim
On 2018-09-29 11:02 +, Grzesiek Sójka wrote: > On 9/28/18 9:44 AM, Sven Joachim wrote: >> >> Actually it is exactly the other way around. If LINES and COLUMNS are >> set in the environment, then the ncurses library will _not_ update the >> screen size upon receiving SIGWINCH, and that causes

Re: ncurses problem

2018-09-29 Thread Grzesiek Sójka
On 9/28/18 9:44 AM, Sven Joachim wrote: On 2018-09-27 08:51 -0400, Greg Wooledge wrote: On Wed, Sep 26, 2018 at 10:38:53PM +, Grzesiek Sójka wrote: Hi there, I compiled following test program: == #include #include [snip] It's supposed to show c

Re: ncurses problem

2018-09-28 Thread Sven Joachim
On 2018-09-27 08:51 -0400, Greg Wooledge wrote: > On Wed, Sep 26, 2018 at 10:38:53PM +, Grzesiek Sójka wrote: >> Hi there, >> >> I compiled following test program: >> == >> #include >> #include > [snip] > >> It's supposed to show current window dimens

Re: ncurses problem

2018-09-27 Thread Greg Wooledge
On Wed, Sep 26, 2018 at 10:38:53PM +, Grzesiek Sójka wrote: > Hi there, > > I compiled following test program: > == > #include > #include [snip] > It's supposed to show current window dimension when resizing terminal > window. Unfortunately, dimension

ncurses problem

2018-09-26 Thread Grzesiek Sójka
Hi there, I compiled following test program: == #include #include int main() { initscr(); int key; while ((key = getch()) != 27) { if (key == KEY_RESIZE) { clear(); mvprintw(0, 0, "COLS = %d, LINES = %d", COL

Re: kernel compilation and ncurses problem

2001-10-20 Thread Bambang Purnomosidi D. P.
Thank you all. Everything's clear n work now. -- bpdp

Re: kernel compilation and ncurses problem

2001-10-20 Thread Marc Wilson
On Sat, Oct 20, 2001 at 11:16:28AM +0700, Bambang Purnomosidi D. P. wrote: > I already have (from unstable) libncurses5, ncurses-bin, ncurses-term, and > ncurses-base. > > DId I miss something?? In order to compile something against ncurses, you need libncurses5-dev installed as well as the r

Re: kernel compilation and ncurses problem

2001-10-19 Thread Hartmut Figge
"Bambang Purnomosidi D. P." wrote: > I already have (from unstable) libncurses5, ncurses-bin, ncurses-term, and > ncurses-base. > > DId I miss something?? [EMAIL PROTECTED]:~$ COLUMNS=120 dpkg -l \*ncurses\* | grep ^ii | cut -b -70 ii libncurses4 4.2-9Shared lib

kernel compilation and ncurses problem

2001-10-19 Thread Bambang Purnomosidi D. P.
I will upgrade my kernet to 2.4.12 because of security problems. When I tried to make menuconfig, it showed error: -- rm -f include/asm ( cd include ; ln -sf asm-i386 asm) make -C scripts/lxdialog all make[1]: Entering directory `/usr/src/linux/scripts/lxdialog' /usr/

Re: ncurses problem?

1997-08-14 Thread Brian Mays
Andrew Howell <[EMAIL PROTECTED]> writes: > Erik Andersen writes: > > I have found that with the newest rxvt (released within the last week I > > believe) it also messes up mutt, sets TERM to rxvt (which seems to break > > a few things that don't know about TERM=rxvt, and also messes up the > > sc

Re: ncurses problem?

1997-08-14 Thread Oleg Krivosheev
Hi, On Thu, 14 Aug 1997, Andrew Howell wrote: > Date: Thu, 14 Aug 1997 12:00:50 +0759 (WST) > From: Andrew Howell <[EMAIL PROTECTED]> > To: Erik Andersen <[EMAIL PROTECTED]> > Cc: Debian Users > Subject: Re: ncurses problem? > Resent-Date: Thu, 14 Aug 1997 04:15:

Re: ncurses problem?

1997-08-14 Thread Andrew Howell
Erik Andersen writes: > I have found that with the newest rxvt (released within the last week I > believe) it also messes up mutt, sets TERM to rxvt (which seems to break > a few things that don't know about TERM=rxvt, and also messes up the > screen for the kernel's menuconfig. Oh, and backspace

Re: ncurses problem?

1997-08-14 Thread Andrew Howell
Erik Andersen writes: > I have found that with the newest rxvt (released within the last week I > believe) it also messes up mutt, sets TERM to rxvt (which seems to break > a few things that don't know about TERM=rxvt, and also messes up the > screen for the kernel's menuconfig. Oh, and backspace