2 # $Id: msgbox4-utf8,v 1.10 2010/01/13 10:20:03 tom Exp $
9 while test $width != 61
11 $DIALOG --title "MESSAGE BOX (width $width)" --no-collapse "$@" \
13 This sample is written in UTF-8.
14 There are several checking points:
15 (1) whether the fullwidth characters are displayed well or not,
16 (2) whether the width of characters are evaluated properly, and
17 (3) whether the character at line-folding is lost or not.
19 あいうえおかきくけこさしすせそたちつてとなにぬねの
20 1234567890123456789012345
21 ABCDEFGHIJKLMNOPQRSTUVWXY
23 Hi, this is a simple message box. You can use this to \
24 display any message you like. The box will remain until \
25 you press the ENTER key." 22 $width
30 echo "Cancel pressed.";exit;;
32 echo "ESC pressed.";exit;;
35 width=`expr $width + 1`