diff options
| author | Baptiste Daroussin <bapt@FreeBSD.org> | 2021-02-26 09:05:35 +0000 |
|---|---|---|
| committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2021-02-26 09:05:35 +0000 |
| commit | 01b7bcd408fd9e9dc9088b1df5761fcc0971d7e1 (patch) | |
| tree | 593f2e62b1846058a020ffcecb0ef93eb7ac2153 /samples/msgbox5 | |
| parent | 4dccdce4191d6e2bc3ba9f782b0fe1aa46b743e3 (diff) | |
Diffstat (limited to 'samples/msgbox5')
| -rwxr-xr-x | samples/msgbox5 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/samples/msgbox5 b/samples/msgbox5 index f5d942725d5c..e91dbe87f9c3 100755 --- a/samples/msgbox5 +++ b/samples/msgbox5 @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: msgbox5,v 1.5 2010/01/13 10:26:52 tom Exp $ +# $Id: msgbox5,v 1.6 2019/12/11 00:03:34 tom Exp $ # this differs from msgbox3 by making a window small enough to force scrolling. . ./setup-vars @@ -18,6 +18,6 @@ $DIALOG --title "MESSAGE BOX (width $width)" --clear --no-collapse "$@" \ Hi, this is a simple message box. You can use this to \ display any message you like. The box will remain until \ you press the ENTER key." 10 $width -test $? = $DIALOG_ESC && break +test $? = "$DIALOG_ESC" && break width=`expr $width + 1` done |
