Re: [arch] ncurses and KEY_RESIZE/SIGWINCH

2007-07-06 Thread Sergej Pupykin
  I have some problems with ncurses apps (dialog and htop). When I resize
  terminal (I try xterm, urxvt, konsole) application can not get new terminal
  sizes. I found that terminal emulators sends SIGWINCH correctly. Also I try
  to rebuild ncurses with --enable-sigwinch. Nothing happens.
 
  Please advise what can I do?


AS I've also experienced a lot of issues regarding ncurses and resizing
AS terminals, but was never able to track down exactly what the deal was.
AS  Just wanted to say that you're not the only one, but I can't help
AS much beyond that.


I fixed this by commenting

#export COLUMNS LINES

line in /etc/profile, So it seems as bash package bug.

Anybody knows WHY??? :-O

PS. So not included /etc/profile into .bashrc is the reason why it works on
some machines.

___
arch mailing list
arch@archlinux.org
http://archlinux.org/mailman/listinfo/arch


Re: [arch] ncurses and KEY_RESIZE/SIGWINCH

2007-07-05 Thread Aaron Schaefer
On 7/5/07, Sergej Pupykin [EMAIL PROTECTED] wrote:

 Hi,

 I have some problems with ncurses apps (dialog and htop). When I resize
 terminal (I try xterm, urxvt, konsole) application can not get new terminal
 sizes. I found that terminal emulators sends SIGWINCH correctly. Also I try
 to rebuild ncurses with --enable-sigwinch. Nothing happens.

 Please advise what can I do?


I've also experienced a lot of issues regarding ncurses and resizing
terminals, but was never able to track down exactly what the deal was.
 Just wanted to say that you're not the only one, but I can't help
much beyond that.

--
Aaron ElasticDog Schaefer

___
arch mailing list
arch@archlinux.org
http://archlinux.org/mailman/listinfo/arch


Re: [arch] ncurses and KEY_RESIZE/SIGWINCH

2007-07-05 Thread Eric Belanger
On Thu, 5 Jul 2007, Sergej Pupykin wrote:


 Hi,

 I have some problems with ncurses apps (dialog and htop). When I resize
 terminal (I try xterm, urxvt, konsole) application can not get new terminal
 sizes. I found that terminal emulators sends SIGWINCH correctly. Also I try
 to rebuild ncurses with --enable-sigwinch. Nothing happens.

 Please advise what can I do?


Resizing works here with htop and xterm, aterm or konsole. I don't have
any special setup. I don't know if it's related but I'm using fvwm.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


___
arch mailing list
arch@archlinux.org
http://archlinux.org/mailman/listinfo/arch


Re: [arch] ncurses and KEY_RESIZE/SIGWINCH

2007-07-05 Thread Sergej Pupykin
EB Resizing works here with htop and xterm, aterm or konsole. I don't have
EB any special setup. I don't know if it's related but I'm using fvwm.

I try x86_64 now. It works too. But my i686 system is not working... :(

___
arch mailing list
arch@archlinux.org
http://archlinux.org/mailman/listinfo/arch


Re: [arch] ncurses and KEY_RESIZE/SIGWINCH

2007-07-05 Thread Sergej Pupykin
 EB Resizing works here with htop and xterm, aterm or konsole. I don't have
 EB any special setup. I don't know if it's related but I'm using fvwm.

SP I try x86_64 now. It works too. But my i686 system is not working... :(

Btw, it may be a shell problem, not ncurses. shell may not pass SIGWINCH to
childs (htop, etc...)

But I check the same shell on x86_64 (I use zsh) and it works too.

It is very strange...

___
arch mailing list
arch@archlinux.org
http://archlinux.org/mailman/listinfo/arch


Re: [arch] ncurses and KEY_RESIZE/SIGWINCH

2007-07-05 Thread Eric Belanger
On Fri, 6 Jul 2007, Sergej Pupykin wrote:

  EB Resizing works here with htop and xterm, aterm or konsole. I don't have
  EB any special setup. I don't know if it's related but I'm using fvwm.

 SP I try x86_64 now. It works too. But my i686 system is not working... :(

 Btw, it may be a shell problem, not ncurses. shell may not pass SIGWINCH to
 childs (htop, etc...)

 But I check the same shell on x86_64 (I use zsh) and it works too.

 It is very strange...


I just checked in my i686 system and it works. I'm using bash as shell.
You could try to see if it woks in bash.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


___
arch mailing list
arch@archlinux.org
http://archlinux.org/mailman/listinfo/arch