From: Martin Kraus on
hello,
I've got a problem with resizing terminal windows. The information about
terminal resizing doesn't always reach the application running inside the
terminal. I thought it's the problem with blocked WINCH signal, but now I've
found out that it works in about 80% of the cases. If it doesn't work
additional resizes of the term window usualy propagate to the application.

Is there any way to trace signals that get sent between terminal application
and process running inside the terminal? I thought using strace on the
terminal to see if it sends WINCH signals but I can't seem to find it in the
output. However I don't know what exactly to look for.

thanks for the help
martin


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Daniel Burrows on
On Mon, Jun 30, 2008 at 10:47:59PM +0200, Martin Kraus <lists_mk(a)wujiman.net> was heard to say:
> I've got a problem with resizing terminal windows. The information about
> terminal resizing doesn't always reach the application running inside the
> terminal. I thought it's the problem with blocked WINCH signal, but now I've
> found out that it works in about 80% of the cases. If it doesn't work
> additional resizes of the term window usualy propagate to the application.

Is it just one program or all programs that you run in the terminal?
If the latter, does the problem occur with all terminals or just the one
you usually use?

Daniel


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Martin Kraus on
On Mon, Jun 30, 2008 at 07:05:36PM -0700, Daniel Burrows wrote:
> On Mon, Jun 30, 2008 at 10:47:59PM +0200, Martin Kraus <lists_mk(a)wujiman.net> was heard to say:
> > I've got a problem with resizing terminal windows. The information about
> > terminal resizing doesn't always reach the application running inside the
> > terminal. I thought it's the problem with blocked WINCH signal, but now I've
> > found out that it works in about 80% of the cases. If it doesn't work
> > additional resizes of the term window usualy propagate to the application.
>
> Is it just one program or all programs that you run in the terminal?
> If the latter, does the problem occur with all terminals or just the one
> you usually use?

bash, man, less, remote terminals through ssh, everything in the terminal
window that can be affected throught resize.
mk


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Martin Kraus on
On Mon, Jun 30, 2008 at 09:26:00PM -0400, Brian McKee wrote:
> On Mon, Jun 30, 2008 at 4:47 PM, Martin Kraus <lists_mk(a)wujiman.net> wrote:
> > hello,
> > I've got a problem with resizing terminal windows. The information about
> > terminal resizing doesn't always reach the application running inside the
> > terminal.
>
> I thought that was just me. I have notied it from time to time but
> not chased it.
> Is it xterm and konsole and ? as well as gnome-terminal?

all of the terminal emulators i've tried. according to strace the application
recieves WINCH every time but for some reason doesn't act on it every time.

mk


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Ron Johnson on
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 06/30/08 15:47, Martin Kraus wrote:
> hello,
> I've got a problem with resizing terminal windows. The information about
> terminal resizing doesn't always reach the application running inside the
> terminal. I thought it's the problem with blocked WINCH signal, but now I've
> found out that it works in about 80% of the cases. If it doesn't work
> additional resizes of the term window usualy propagate to the application.
>
> Is there any way to trace signals that get sent between terminal application
> and process running inside the terminal? I thought using strace on the
> terminal to see if it sends WINCH signals but I can't seem to find it in the
> output. However I don't know what exactly to look for.

IIRC, there's a (Debian-specific?) bug in ncurses regarding WINCH.

- --
Ron Johnson, Jr.
Jefferson LA USA

"Kittens give Morbo gas. In lighter news, the city of New New
York is doomed."
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkhpxdsACgkQS9HxQb37XmfulQCcCaMOcymJ2kSUgJAFMkPIj6X2
cqoAnR8Emerh7U67RPIuL/RyYRZjAa/s
=ApEK
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org