1*4c8945a0SNathan Whitehorn#!/bin/sh 2*4c8945a0SNathan Whitehorn# $Id: msgbox4-eucjp,v 1.5 2010/01/13 10:20:03 tom Exp $ 3*4c8945a0SNathan Whitehorn 4*4c8945a0SNathan Whitehorn. ./setup-vars 5*4c8945a0SNathan Whitehorn 6*4c8945a0SNathan Whitehornwidth=35 7*4c8945a0SNathan Whitehornwhile test $width != 61 8*4c8945a0SNathan Whitehorndo 9*4c8945a0SNathan Whitehorn$DIALOG --title "MESSAGE BOX (width $width)" --clear --no-collapse "$@" \ 10*4c8945a0SNathan Whitehorn --msgbox "\ 11*4c8945a0SNathan WhitehornThis sample is written in EUC-JP. 12*4c8945a0SNathan WhitehornThere are several checking points: 13*4c8945a0SNathan Whitehorn(1) whether the fullwidth characters are displayed well or not, 14*4c8945a0SNathan Whitehorn(2) whether the width of characters are evaluated properly, and 15*4c8945a0SNathan Whitehorn(3) whether the character at line-folding is lost or not. 16*4c8945a0SNathan Whitehorn 17*4c8945a0SNathan Whitehorn�����������������������������������ĤƤȤʤˤ̤ͤ� 18*4c8945a0SNathan Whitehorn�������������������������������������������������� 19*4c8945a0SNathan Whitehorn���£ãģţƣǣȣɣʣˣ̣ͣΣϣУѣңӣԣգ֣ףأ� 20*4c8945a0SNathan Whitehorn 21*4c8945a0SNathan WhitehornHi, this is a simple message box. You can use this to \ 22*4c8945a0SNathan Whitehorndisplay any message you like. The box will remain until \ 23*4c8945a0SNathan Whitehornyou press the ENTER key." 22 $width 24*4c8945a0SNathan Whitehornwidth=`expr $width + 1` 25*4c8945a0SNathan Whitehorndone 26