Scroll to navigation

XMESSAGE(1) General Commands Manual XMESSAGE(1)

̾??

xmessage - ???????ɥ??˥??å????????䤤???碌??ɽ??????(X ?Ǥ? /bin/echo)

????

xmessage [ -buttons label1[:value1],label2[:value2], ... ] [ options ] -file filename
xmessage [ -buttons label1[:value1],label2[:value2], ... ] [ options ] message ...

????

xmessage ?ץ????????ϥ??ޥ??ɹԡ??ե????롢ɸ?????Ϥ??????Ϥ??????å??????? ???????ɥ???ɽ?????롣 ???å??????β??դ˱??äƥܥ????ιԤ????֤????롣???????Υܥ????ξ??ǥ? ?????κ??ܥ????򲡤??ȡ?xmessage ?Ͻ?λ???롣 ?ɤΥܥ??󤬲????줿?Τ??Ͻ?λ???ơ??????Ȥ????֤????롣?ޤ??????ץ??? ???????ˤ??äƤϡ??ܥ????Υ??٥뤬ɸ?????Ϥ˽񤭽Ф????롣

???Υץ????????????̡??????륹?????ץȤˤ????ƥ桼???˾?????ɽ?????뤿 ?????桼?????????򤵤??뤿?????Ѥ??????롣

???????????ꤷ?ʤ????С?xmessage ?ϥ??å??????˹??碌?Ƽ?ưŪ?? ??????(???祵?????ʲ?)???????롣 ???å??????????????ɥ????Ф????礭?????????硢xmessage ?ϥ??????? ???С???ɽ?????롣

???ץ?????

xmessage ??ǧ?????륳?ޥ??ɹԥ??ץ??????򼨤???

-buttons button,button,...
???Υ??ץ??????????ꤹ???ȡ?xmessage ?ϥ????ޤǶ??ڤ??줿 button ???????Τ??줾?????ͤ??Ф??ơ?1?Ĥ??ĥܥ????????????롣 ???Υ??ץ????????б??????꥽?????? buttons ?Ǥ??롣 button ?Τ??줾?????ͤϥ??٥??Ǥ??ꡢ???ץ??????Ȥ??ƥ??????Ƚ? λ???ơ??????ͤ?³???뤳?Ȥ??Ǥ??롣 ???٥????????????? Command button ?????????åȤ?̾???Ǥ??ꡢ?桼?????? ????ɽ?????????ǥե????ȤΥƥ????ȤȤʤ롣?????ϥ????????åȤ?̾???ʤ? ?ǡ????????Ȥäƥܥ??????б??????꥽???????ѹ????뤳?Ȥ??Ǥ??롣 ??λ???ơ??????ͤϡ??ܥ??󤬲????줿?Ȥ??? xmessage ???֤??ͤǤ? ?롣?ǥե????Ȥν?λ???ơ??????ͤ? (100 + ?ܥ????ֹ?) ?Ǥ??롣?ܥ????? ???ˤϡ?1?????Ϥޤ??ֹ椬???????????դ??????롣 -buttons ???ץ??????????ꤵ???Ƥ??ʤ??????˻Ȥ????롢?ǥե????? ??ʸ?????? okay:0 ?Ǥ??롣
label ?˥ޥå??????ܥ??????ǥե????ȤΥܥ????Ȥ??????????롣 ?????????ꤷ?ʤ????С??ǥե????ȤΥܥ??????????????ʤ??? ???Υ??ץ????????б??????꥽?????? defaultButton ?Ǥ??롣 xmessage ?Υ??????ɥ?????Ǥ?դξ????ǥ꥿???󥭡????????????ȡ? ?ǥե????ȤΥܥ??󤬥????ƥ??֤ˤ????롣 ?ǥե????ȤΥܥ?????¾?Υܥ????????⹭???????????ġ?
-file filename
ɽ???????ե??????????ꤹ?롣 ???Υ??ץ????????б??????꥽??????file?Ǥ??롣 filename ?? `-' ?????ꤹ???ȡ?ɸ?????Ϥ????ɤ߹??ߤ??Ԥ? ???롣 ???Υ??ץ??????????ꤷ?ʤ????С?xmessage ?? echo ??Ʊ???? ???ˡ????ץ??????Ǥʤ????Ƥΰ???????ɽ?????롣 -file ???ץ??????ȥ??ޥ??ɹԤ????Υ??å??????Τ????줫?Τ? ?????ꤹ?٤??Ǥ??ꡢξ?????????ꤷ?ƤϤʤ??ʤ???
???Υ??ץ??????????ꤹ???ȡ??ץ????????ϲ????줿?ܥ????Υ??٥???ɸ???? ?Ϥ˽??Ϥ??롣???λ????ϡ?printValue ?꥽?????? TRUE ?򥻥åȤ? ?뤳?Ȥ?Ʊ????̣?Ǥ??롣
?????꡼?????????˥??????ɥ????Ф??? ???λ????ϡ?center ?꥽?????? TRUE ?򥻥åȤ??뤳?Ȥ?Ʊ????̣?? ???롣
?ޥ????????????ζ᤯?˥??????ɥ????Ф??? ???λ????ϡ?nearMouse ?꥽?????? TRUE ?򥻥åȤ??뤳?Ȥ?Ʊ????̣ ?Ǥ??롣
-timeout secs
?桼?????ܥ????򲡤??ʤ????С?xmessage ?? secs ?ô??Ԥä? ???饹?ơ?????0?ǽ?λ???롣 ???λ????ϡ?timeout ?꥽?????ˤ?????????Ʊ????̣?Ǥ??롣

?????????åȤγ??ع?¤

?ƥ????????åȤ?̾???ȳ??ؤˤ????????֤??ΤäƤ????ȡ??꥽?????????ꤹ ???ݤ??????Ǥ??롣?ƥ????????åȤΥ??饹??̾?????ʲ??οޤ˼?????

Xmessage (xmessage)
	Form form
		Text message
		Command (label1)
		Command (label2)
		.
		.
		.

?꥽????

xmessage ?ˤϤ????Ĥ??Υȥåץ??٥륢?ץꥱ?????????꥽???????? ?ꡢ???????Ȥäƥ??ץꥱ??????????ͭ?????????Ԥ????Ȥ??Ǥ??롣

???Ƥ?ɽ???????ե??????????ꤹ??ʸ??????
ɽ???????ܥ????????ꤹ??ʸ?????? -buttons ???ޥ??ɹԥ??ץ??????򻲾Ȥ??뤳?ȡ?
???٥????Ȥäƥǥե????ȥܥ????????ꤹ??ʸ??????
?ץ???????????λ???????ܥ??󤬲????줿?Ȥ??ˡ????Υ??٥???ɸ?????Ϥ˽? ???Ф????ɤ??????ꤹ?뿿???͡? ?ǥե??????ͤ? FALSE ?Ǥ??롣
???????ɥ??򥹥??꡼?????????˽Ф????ɤ??????ꤹ?뿿???͡??ǥե??????? ?? FALSE ?Ǥ??롣
???????ɥ????ޥ????????????ζ᤯?˽Ф????ɤ??????ꤹ?뿿???͡??ǥե??? ???ͤ? FALSE ?Ǥ??롣
?ץ??????ब???ơ?????0?ǽ?λ?????ޤǤ??ÿ????ǥե??????ͤ?0?Ǥ??ꡢ?? ?ξ????ˤϷ褷?ƥ????ॢ???Ȥ??ʤ???
???????ɥ??Υƥ???????ʬ?κ????ι⤵???ԥ????????ǻ??ꤹ?롣?????ϥ??? ???ȥ??ǥ??????????ꤵ???ʤ??ä??Ȥ??˻Ȥ????롣 ?ǥե??????ͤ?0?Ǥ??ꡢ???ξ????ˤϥ????꡼???ι⤵??70%???Ȥ????롣
???????ɥ??Υƥ???????ʬ?κ??????????ԥ????????ǻ??ꤹ?롣?????ϥ????? ?ȥ??ǥ??????????ꤵ???ʤ??ä??Ȥ??˻Ȥ????롣 ?ǥե??????ͤ?0?Ǥ??ꡢ???ξ????ˤϥ????꡼????????70%???Ȥ????롣

??????????

??λ???ơ?????value(?ǥե??????ͤ?0)??¨?¤˽?λ???롣???Υ??????? ???ϡ?xmessage ????λ?????̤???ˡ??Ϳ???뤿???ˡ??ȥ??󥹥졼???? ???ȶ????Ѥ??????롣
?ǥե????ȥܥ????ǻ??ꤵ?줿??λ???ơ???????¨?¤˽?λ???롣 ?ǥե????ȥܥ??󤬤ʤ????硢???Υ??????????ϲ??⤷?ʤ???

??λ???ơ?????

???顼???????ä??????ˤ? xmessage ?? 1 ???֤??????äơ??????ͤ? ?ܥ????˳??????ƤƤϤʤ??ʤ???

??Ϣ????

X(1), echo(1), cat(1)

????

Chris Peterson, MIT Project Athena
Stephen Gildea, X Consortium

Release 6.5 X Version 11