Bug#942759: [PATCH] handling of 0-width terminals

2019-11-08 Thread Fabrice BAUZAC-STEHLY
forwarded 942759 https://github.com/liske/needrestart/issues/166 tags 942759 + upstream fixed-upstream thanks A fix [1] has just been merged upstream. There is no upstream release yet. [1] https://github.com/liske/needrestart/pull/167 -- Fabrice BAUZAC-STEHLY PGP

Bug#942759: [PATCH] handling of 0-width terminals

2019-10-21 Thread Fabrice Bauzac-Stehly
tags 942759 + patch thanks Hello, Here is how to get a terminal that indicates width=0: - In Emacs - C-x d /su:root@localhost: RET - M-x shell RET, select a shell, enter the root password - stty --all The last command prints "columns 0". I suggest the below fix: if the width is 0, then use a