On Tue, 20 Sep 2011, Michal Suchanek wrote:

Excerpts from Thomas Dickey's message of Tue Sep 20 12:43:43 +0200 2011:
On Tue, 20 Sep 2011, Michal Suchanek wrote:

Excerpts from Thomas Dickey's message of Tue Sep 20 01:25:46 +0200 2011:
On Mon, 19 Sep 2011, Michal Suchanek wrote:

Package: dialog
Version: 1.1-20110707-1
Severity: normal

From the man page:

read further, it is configurable (look for DIALOG_ESC).


Any reason that

1) this is set with a variable, not a command argument

...to make scripting more readable.  As a command argument, the typical
hacker will use a constant.  I don't like to encourage bad habits.

And dialog also returns 1 when it is killed with SIGTERM which is not
documented but is quite different from pressing Cancel or Esc.

Actually that's ncurses (which isn't always successful at cleanup due to
the mixture of buffered- and nonbuffered-I/O).

It also does not restore terminal settings in that case.

...but I can take a look to see if I can improve it.

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



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to