mintty: WINCH-signal to child
Thomas Wolff
towo@towo.net
Sun Oct 19 12:06:00 GMT 2014
Am 19.10.2014 12:11, schrieb Helmut Karlowski:
> Am 19.10.2014, 09:48 Uhr, schrieb Duncan Roe:
>
>> bash at least has "shopt -s checkwinsize" to achieve what you want,
>
> That would be a workaround for bash. Ideally every process should
> forward the WINCH-signal to its parent, or the terminal should walk
> through the call-tree. Both not very likely to happen.
>
> xterm does the same as mintty BTW.
There must be something more about it:
Mined does resend a received SIGWINCH to its parent (as an application
should indeed) and it's actually received by bash as can be confirmed
with 'trap "echo WINCH" SIGWINCH'. Despite of the received signal bash
does not adapt its command line width assumption (as can be checked by
typing a long line and seeing where it wraps) (unless that option is
enabled).
Probably a bash bug.
Same in mintty as in xterm in all cases.
Same on Linux (bash 3.2.39 on Debian on PowerPC), so not cygwin-specific.
------
Thomas
>
>
> Thanks,
>
> Helmut
>
> --
>
> --
> Problem reports: http://cygwin.com/problems.html
> FAQ: http://cygwin.com/faq/
> Documentation: http://cygwin.com/docs.html
> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
>
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list