[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#629358: xterm with -h or -v doesn't quit immediately if -h or -v is not the first option



On Sun, 5 Jun 2011, Vincent Lefevre wrote:

On 2011-06-05 17:36:46 -0400, Thomas Dickey wrote:
fwiw, the manpage alludes to this (it doesn't say that xterm exits after
doing either of those operations).  The original change that we're talking
about was Debian #110226

It doesn't say that xterm exits after doing either of those operations,
but what is really unintuitive is that the behavior changes whether
-h / -v is the first argument or not.

agreed. What I missed in the previous change was the end of the if-then-else chain, which reset the 'quit' variable. It's been too long ago to recall why I thought it was a good idea, and it's a simple change to force a quit as expected.

(I'll update the manpage, too ;-)

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net



Reply to: