|
̾??terminfo - ü???????ѥӥ??ƥ??Υǡ????١???????/usr/share/misc/terminfo/*/*????terminfo ??ü?????????Ҥ????ǡ????١????Ǥ??ꡢ nvi(1), rogue(1) ?ʤɤβ??̤????Ѥ????ץ????????? curses(3X) ?ʤɤΥ饤?֥????ˤ??äƻ??Ѥ????ޤ??? terminfo ?ϡ?ü???????ĥ????ѥӥ??ƥ??ν?????Ϳ???????????????ɤΤ褦?ˤ??ƹԤ????? ???ꤷ??ɬ?פʥѥǥ????????????????????ꤹ?뤳?Ȥǡ?ü?????????? ???Ҥ??ޤ???terminfo ?Υ????ȥ??ϡ?`,' ?Ƕ??ڤ??줿?ե??????ɤ????ʤ??ޤ? (?ե??????????? ?????ޤϥХå??????å????ǥ????????פ??뤫??\072 ?Ƚޤ?)?? `,' ???ѥ졼???θ??ζ?????̵?뤵???ޤ??? ??ü????ɽ???ǽ??Υ????ȥ??ϡ?ü????ɽ?????ΤȤ????Τ????Ƥ???̾???? ???ꤷ?ޤ???̾????ʣ?????ꤹ???Ȥ??? `|' ?Ƕ??ڤ??ޤ??? ?ǽ???̾???ϡ?????ü???Τ??ΤȤ??ƺǤ??褯?Τ??줿??ά????Ϳ???ޤ??? ?Ǹ???̾???ˤϡ?????ü???????̤Ǥ?????????Ĺ??̾???????ꤹ???٤??Ǥ??? ???????ʳ???̾???ϡ?Ʊ??ü?????ؤ???̾?ȸ??ʤ????ޤ??? ?Ǹ??Τ??ΰʳ???̾???ϡ????٤ƱѾ?ʸ???????ʤꡢ???ޤޤ??Ƥ??Ƥ? ?????ޤ????? ?Ǹ???̾???ˤϡ??ɤߤ䤹?????뤿??????ʸ???????????ޤ??Ƥ???ޤ????? ü??̾ (?Ǹ??ξ?Ĺ?ʤ??ΤϽ???) ?ϡ??ʲ?????«?ˤ??????ä??դ??Ƥ????????? ̾???δ?????ʬ????ü?????????????ϡ??ɥ?????????ħŪ??ʬ????̾?դ??ޤ? (``hp2621'' ?Τ褦??)?? ????̾???ˤϥϥ??ե????ޤ??ƤϤ????ޤ????? ?⡼?ɤ䡢?桼???????꤬????????ʬ?ˤĤ??Ƥϡ?????̾?θ??ˡ? ?ϥ??ե??ȥ⡼?ɤ????????Ĥ???ɽ???Ƥ????????? ?㤨?С?vt100 ?? 132 ???⡼?ɤ? vt100-w ?Τ褦?ˤʤ??ޤ??? ?Ȥ????Ȥ??????????С??ʲ????????????ȤäƤ?????????
ü????̿̾??§?ˤĤ??Ƥ??????Τꤿ???Ȥ??? term(7) ?Υޥ˥奢???? ???Ȥ??Ƥ????????? ?????ѥӥ??ƥ??ʲ??? terminfo ?ε??ҥ֥??å??˴ޤޤ졢terminfo ???Ȥ??????ɤ????ѤǤ??? ?????ѥӥ??ƥ??δ?????ɽ?Ǥ???ɽ?γƹԤΰ?̣?ϼ????̤??Ǥ???variable ?? (terminfo ???٥???) ?ץ??????ޤ??????ѥӥ??ƥ??? ???Ѥ????Ȥ????Ѥ???̾???Ǥ??? capname ?ϡ??ǡ????١????Υƥ????Ȥ??????Ѥ???û??̾?ǡ? ?ǡ????١??????????ʹ֤??Ѥ???̾???Ǥ??? ??ǽ?ʾ????Ͼ??ˡ?capname ?? ANSI X3.64-1979 ɸ?൬?? (???? ECMA-48 ?? ???ä??????????Ƥ??ޤ??????????Ǥ?Ʊ???Τ⤷???????????ɤ?????̾???? ?ȤäƤ??ޤ?) ??Ʊ???⤷?????????Τ??Τ??????Ǥ????ޤ??????ΰ?̣?⡢ ???ε??ʤǤε????˹??פ????褦?ˤ??Ƥ????ޤ??? termcap code ?ϸ?ŵŪ?? termcap ?????ѥӥ??ƥ???̾???Ǥ? (?????Ĥ??Υ????ѥӥ??ƥ??Ͽ????????Τǡ? ????̾???? termcap ??ͳ?褷?ޤ???)?? ?????ѥӥ??ƥ???̾????Ĺ???ˤϡ????ޤä????¤Ϥ????ޤ?????????̾???? û?????????????ե??????˥??֤??Ȥä? cap ?줤???¤٤??????褦?ˡ????????ʤ??????? 5 ʸ???????¤????? ???Ѥ????Ƥ??ޤ??? ?Ǹ??ˡ??????Ǥϥ????ѥӥ??ƥ??ΰ?̣???????褦?Ȥ??ޤ????????????ˤ? ?ʲ??Τ褦?ʥ????ɤ????????礬?????ޤ???
?ʲ??ϥ֡????ͥ????ѥӥ??ƥ??Ǥ? :
?ʲ??Ͽ??ͥ????ѥӥ??ƥ??Ǥ? :
?ʲ??ο??ͥ????ѥӥ??ƥ??ϡ?SVr4.0 ?? term ??¤?Τ?¸?ߤ??Ƥ??ޤ????? ?ޥ˥奢???ˤ?̤???????????????ޤ????? SVr4 ?ǥץ????б????뤿???˺Τ??????????ޤ?????
?ʲ???ʸ?????ѥӥ??ƥ??Ǥ? :
?ʲ???ʸ?????ѥӥ??ƥ??ϡ?SVr4.0 ?? term ??¤?Τ?¸?ߤ??Ƥ??ޤ????? ?ޥ˥奢????̤???????????ʤ????Ƥ??ޤ?????
?????ȥ??????ʲ??Υ????ȥ??ϡ?ANSI ????ü???Ҥ??????ΤǤ?????????Ū??ü???? terminfo ?????ȥ꤬ŵ??Ū?ˤϤɤΤ褦?Ǥ??뤫??ɽ???Ƥ??ޤ???
2 ???ܰʸ??ι???Ƭ?˶?????ʸ?????֤????Ȥǡ? ?????ȥ???ʣ???Ԥ?ʬ???Ʒ?³???ƽ??Ȥ??Ǥ??ޤ??? ????Ƭ?? ``#'' ???֤????Ȥǥ??????Ȥ??ޤ??뤳?Ȥ??Ǥ??ޤ??? terminfo ?Υ????ѥӥ??ƥ??ˤϡ?3 ?Ĥη????????ޤ??? ?֡????ͥ????ѥӥ??ƥ??ϡ?????ü??????????????ͭ???Ƥ??뤫?ɤ?????ɽ???ޤ??? ???ͥ????ѥӥ??ƥ??ϡ?????ü?????礭???䡢?ٱ????礭???????ꤷ?ޤ??? ʸ?????ѥӥ??ƥ??ϡ?ü???Τ??뵡ǽ???¹Ԥ??????ݤ??Ѥ??륷?????? ???ꤷ?ޤ??? ?????ѥӥ??ƥ??η????٤ƤΥ????ѥӥ??ƥ??ˤ?̾?????????ޤ????㤨?С?ANSI ɸ??ü???? ??ư?ޡ????? (?Ĥޤꡢ?Ԥ?ü????ã?????м?ưŪ?????????Ԥ??ʤ????뤳??) ??ͭ???뤳?Ȥ? ?????ѥӥ??ƥ? am ??ɽ?????ޤ??? ???ä? ansi ?ε??Ҥ? am ???ޤߤޤ??? ???ͥ????ѥӥ??ƥ??θ??ˤ?ʸ?? `#' ??³???????????????ͤ?³???ޤ??? cols ?ϡ?????ü???η?????ɽ???Ƥ??ꡢansi ?Ǥϡ? ?????ͤ? `80' ?Ǥ??뤳?Ȥ??ޤ??? ???ͥ????ѥӥ??ƥ????ͤϡ??ץ??????ߥ??? C ?ε??????Ȥä? 10 ?ʿ??? 8 ?ʿ???16 ?ʿ???Ϳ???뤳?Ȥ??Ǥ??ޤ? (?㤨?С?255??0377??0xff??0xFF)???Ǹ??ˡ?ʸ?????ѥӥ??ƥ??ϡ?el (?????ޤǾõ?륷????????) ?ʤɤ? ?褦?ˡ?2 ʸ???Υ????ɤȡ?`=' ?ȡ????????? `,' ?ޤǤδ֤?ʸ?????Ȥ? ɽ?????ޤ??? ʸ?????ѥӥ??ƥ??????ǡ?ʸ???Υ????ɤ???ñ?ˤ??뤿???ˡ? ?????Ĥ??Υ????????ץ??????????ѤǤ??ޤ??? \E ?? \e ?ϤȤ??ˡ?ESCAPE ʸ???˥ޥåפ????ޤ??? ^x ??Ǥ?դ?Ŭ?ڤ? x ?˴ؤ??? control-x ?˥ޥåפ????ޤ??? \n \l \r \t \b \f \s ?Ϥ??줾?졢???ԡ??饤???ե????ɡ??????? ???֡??Хå????ڡ??????ե??????ե????ɡ??????˥ޥåפ????ޤ??? ????¾?ˡ?\^ ?? ^ ?ˡ? \\ ?? \ ?ˡ? \, ?ϥ????ޤˡ? \: ?? : ?ˡ? \0 ?ϥ̥?ʸ???˥ޥåפ????ޤ??? (\0 ?? \200 ?????????ޤ?????????ʸ????????ü???ޤ??? ?ۤȤ??ɤ?ü???Ǥ? CS7 ?????ꤵ???Ƥ????Τǡ??̥?ʸ????Ʊ?ͤε?ư?? ?????????Ǥ???stty(1) ?Ȥ??Ƥ???????) ?Ǹ??ˡ?\ ?θ??? 8 ?? 3 ???ο??????ꤷ??ʸ????ɽ?????Ȥ??Ǥ??ޤ??? ?ߥ???ñ?̤??ٱ??ϡ?el=\EK$<5> ?Τ褦?ˡ?ʸ?????ѥӥ??ƥ??? ?ɤξ????Ǥ? $<..> ?Υ֥饱?åȤǰϤ????֤????Ȥ??Ǥ??ޤ??? ?????ٱ???Ϳ???뤿???Υѥǥ??ϡ??ؿ? tputs ???Ԥ??ޤ????ٱ??? 1/10 ?????٤ο??Ǥ???ɬ?פ??????ޤ????????? `*'??'/' ?ޤ??Ϥ???ξ?????Ĥ??Ƥ??뤫?⤷???ޤ?????`*' ?ϥѥǥ??ν????? ?ƶ??????????ԤιԿ??????㤵????ɬ?פ????뤳?ȡ??????Ƥ??????פ? ?ƶ????????? 1 ñ?̤???????ɬ?ץѥǥ??ˤ??????ޤ뤳?Ȥ?ɽ???ޤ??? (ʸ???????ξ??硢?????ϱƶ????????? ?? ?ο??Ǥ?) ?̾?ǥХ????? xon ?????ѥӥ??ƥ????????С??ѥǥ??? ????Ū?ʤ??ΤǤ????????ȷ??ˤϻȤ????ޤ????ٱ??????????????ޤ????? `/' ???????ϥѥǥ???ɬ?ܤΤ??ΤǤ??뤳?Ȥ????ե????????? xon ???????ǥХ??????Ф??Ƥ????ꤵ?줿?ߥ???ñ?̤??ٱ??????????ޤ??? ???륱???ѥӥ??ƥ??????ȥ????Ȥ??ͤФʤ??ʤ????礬?????ޤ???
?????????????ϡ??????ѥӥ??ƥ?̾?????˥ԥꥪ?ɤ??֤??Ƥ?????????
???????? 2 ???ܤ? ind ?????????Ǥ???
?????ѥ??뤵?줿???Ҥ??ɤ߹????Ķ??ѿ? TERMINFO ?????ꤵ???Ƥ????С??????Ϻ??????ε??Ҥ? ?????ѥ??뤷?????Τ??ޤ??ǥ??쥯?ȥ??Υѥ?̾?Ȳ??ᤵ???ޤ??? ???Υǥ??쥯?ȥ???????õ???ޤ???TERMINFO ?????ꤵ???Ƥ??ʤ????С?ncurses ?Ǥ? terminfo ?ɤ߹??ߥ????ɤ? ???????????˥ǥ??쥯?ȥ? $HOME/.terminfo ???饳???ѥ??뤵?줿???Ҥ? õ???ޤ??? ?????Ǹ??Ĥ????Τ˼??Ԥ????Ķ??ѿ? TERMINFO_DIRS ?????ꤵ???Ƥ????С? ?ѿ??????Ƥ????Ƕ??ڤ??줿õ???٤??ǥ??쥯?ȥ??Υꥹ?ȤȲ??ᤷ?ޤ? (???Υ????ȥ??? /usr/share/misc/terminfo ??õ?????ޥ??ɤȤ??Ʋ??ᤵ???ޤ?)?? TERMINFO_DIRS ?ǥ??쥯?ȥ??Τ??????ˤ?Ҥ????Ĥ????ʤ????С??ɤ߹??ߤ? ???Ԥ??ޤ??? TERMINFO ?? TERMINFO_DIRS ?????ꤵ???Ƥ??ʤ????С??Ǹ??˻??ߤ??????????? ?????ƥ??? terminfo ?ǥ??쥯?ȥ? /usr/share/misc/terminfo ?Ǥ??? ($HOME/.terminfo õ???? TERMINFO_DIRS ??ĥ?? ɸ???? System V terminfo/curses ?Ǥϥ??ݡ??Ȥ????Ƥ??ޤ?????) ü?????Ҥν????????Ǥϡ??ɤΤ褦?ˤ???ü???ε??Ҥ????????뤫?γ?ά?????????ޤ??? ???äȤ???ΨŪ?ʤ??????ϡ? terminfo ?????ˤ?????????ü???ε??Ҥ??ޤͤƺ??????뤳?ȤǤ??? vi ?ʤɤΥ?????ǥ????˽ݤ??ε??Ҥ??Ȥ碌?Ƥߤơ????ε??Ҥ? ?????????ɤ??????????å????ʤ??顢???Ҥ??????˺????夲?Ƥ椯???ȤǤ??? ?̾??Τ??ΤȤ??ޤ??ˤ⤫??Υ?줿ü???ξ??硢 terminfo ?ե??????ε???ǽ?Ϥη??١??⤷???ϥƥ??ȥץ????????β????????Υ????ɤ? ?Х??????餫?ˤʤ뤫???Τ??ʤ??Τǡ??????ˤ????դ??Ƥ?????????(ü???????ʸ???˽Ƥ????Ƥ??ʤ???????) ?Ԥα??????κݤΥѥǥ??? ?????ˤϡ??礭?ʥե??????? 9600 ?ܡ????Խ????????̤????ۤɤ? 16 ?????٤? ???????Ƥ??顢 `u' ?????????٤??Ф䤯Ϣ?Ǥ????Ȥ??????????ƥ??Ȥ??? ???Ȥ褤?Ǥ??礦?? ü?????????㤰?????ˤʤ??Τʤ顢???̤ϡ??⤦?????ѥǥ???ɬ?פ??? ???????ȤǤ???ʸ???????ˤĤ??Ƥ??????褦?ʥƥ??Ȥ??Ԥ????Ȥ??Ǥ??ޤ??? ????Ū?ʥ????ѥӥ??ƥ?ü???γƹԤη????Ͽ??ͷ??????ѥӥ??ƥ? cols ?ǻ??ꤷ?ޤ??? ü???? CRT ?ξ??硢???̤ιԿ??ϥ????ѥӥ??ƥ? lines ?? ???ꤷ?ޤ??? ???????뤬???ޡ???????ã?????Ȥ??˼??ιԤκ?ü?˲??????????硢 ?????ѥӥ??ƥ? am ?????ꤹ??ɬ?פ??????ޤ??? ü?????????̾õ??奫?????????ۡ????ݥ????????ˤ??äƤ椯???Ȥ??Ǥ??????硢 ???ε?ǽ??ʸ?????ѥӥ??ƥ? clear ?ǻ??ꤷ?ޤ??? ü???? (????ʸ???????˽??Ϥ??????ˤ??ξ??????õ???ΤǤϤʤ?) ?Ť??Ǥ????????硢?????ѥӥ??ƥ? os ?????ꤹ??ɬ?פ??????ޤ??? ????ü???ǡ????եȥ??ԡ????֤??????ʤ????硢 hc ?? os ?Ȥ????ꤷ?ޤ??? (os ?ϡ??ϡ??ɥ??ԡ?ü???䡢APL ü???????Ǥʤ???TEKTRONIX 4010 ??????Τ褦?ʥ??ȥ졼?????????״?ü???ˤ?Ŭ?Ѥ????ޤ???) ???ߤιԤκ?ü?˥???????????ư?????륳???ɤ?¸?ߤ??????硢?????? cr ?ǻ??ꤷ?ޤ??? (?̾??????????ʸ?????Ĥޤ? control M ?ˤʤ??ޤ???) ??İ?????ʥ? (?٥롢?ӡ??ײ??ʤ?) ?????????륳???ɤ????????硢?????? bel ?ǻ??ꤷ?ޤ????????????? (?Хå????ڡ????Τ褦??) 1 ?ݥ??????????????ذ?ư?????? ?????ɤ????????硢?????? cub1 ?ǻ??ꤷ?ޤ??? Ʊ?ͤˡ????ؤΰ?ư?????ؤΰ?ư?????ؤΰ?ư?Ϥ??줾?졢 cuf1, cuu1, cud1 ?ǻ??ꤷ?ޤ??? ???????ζɽ?Ū??????????ư??ǽ?ϡ??̲᤹???????Υƥ????Ȥ??ѹ????????Τ? ???äƤϤʤ??ޤ????Ȥ??С?????ʸ???Ϥ??β??Υƥ????Ȥ??õ?Ƥ??ޤ? ???ᡢ???̤? `cuf1= ' ?Ȥϻ??ꤷ?ޤ????? ?????Ƕˤ??ƽ??פʤ??ȤȤ??ơ? terminfo ?˥????ɤ??줿?ɽ?Ū??????????ư?ϡ?CRT ü???κ?ü?????? ??ü?Ǥ??????????ʤ??Ȥ??????ȤǤ??? ?ץ????????ϡ? bw ?λ??꤬?ʤ??¤ꡢ??ü?ǥХå????ڡ????????Ϥ??褦?Ȥ??ƤϤ????ޤ????? ?ޤ??????̾?ü?ǡ????˰?ư???褦?Ȥ??ƤϤ????ޤ????? ?ƥ????Ȥ????˥????????뤹?뤿???ˤϡ??ץ????????ϲ??̺??????˥????????? ??ư?????ơ? ind (index) ʸ?????????Ф??Ƥ????????? ?ƥ????Ȥ˥????????뤹???ˤϡ??ץ????????ϲ??̺??????˥????????? ??ư?????ơ? ri (reverse index) ʸ?????????Ф??Ƥ????????? ʸ???? ind ?? ri ?ε?ư?ϡ????줾?????˽Ҥ٤????̶??˥??????뤬?ʤ??????ˤ? ?????????Ƥ??ޤ????? ?????????륷?????Υѥ?????դ??С????????ϡ? indn ?? rin ?ǡ????????ϡ??????????뤹???Կ??????ꤹ???ѥ?????? 1 ?ļ??뤳?Ȥ??????Ƥ? ind ?? ri ?ȡ?Ʊ????ư???ޤ??? ???????⡢???????뤬Ŭ?ڤʲ???ü??¸?ߤ??ʤ??????ε?ư???????????ޤ????? ?????ѥӥ??ƥ? am ?ϡ???ü?ǥƥ????Ȥ????Ϥ????Ƥ⥫?????뤬 ??ü??α?ޤ?³???뤫?ɤ??????ޤ??????????????ε?ư?Ϻǽ????Ǥ? cuf1 ?ε?ư?ˤ?ɬ??????Ŭ?Ѥ????ޤ????? ??ü?????ζɽ?Ū??ư?????????줿???Τϡ? bw ?????ꤵ???Ƥ????????ˡ???ü?????? cub1 ?? 1 ?????ιԤα?ü?˰?ư?????Ȥ??????Ȥ????Ǥ??? bw ?????ꤵ???Ƥ??ʤ????硢???θ??̤??????????ޤ????? ?????ϡ??㤨?С????̤?ü?˱??ä?Ȣ???????Ȥ????????ʤ??ΤǤ??? ü??????ư?ޡ???????ǽ???ڤ??ؤ???ǽ?ʾ??硢 terminfo ?ե??????Ǥϡ??̾??Ϥ??ε?ǽ?ϥ??????֡??Ĥޤ? am ?Ǥ????????ꤷ?ޤ??? ü???????ιԤ???Ƭ???˰?ư???륳?ޥ??ɤ????ľ??硢???Υ??ޥ??ɤ? nel (newline) ?ǻ??ꤹ?뤳?Ȥ??Ǥ??ޤ??? ???Υ??ޥ??ɤ??????߹ԤλĤ?????ʬ???õ?뤫?ɤ????ϴط??????ޤ????? ?Ǥ????顢ü?????? cr ?? lf ???????ʤ??????Ǥ⡢ư??? nel ?????뤳?Ȥϲ?ǽ?Ǥ??礦?? ?????ޤǾҲ𤷤??????ѥӥ??ƥ??ǡ??ϡ??ɥ??ԡ?ü???䡢“???饹?? tty” ü???Ҥ????ˤϽ?ʬ?Ǥ??? ?????ǡ?model 33 teletype ?ϡ?
?ȵ??Ҥ????ޤ?????????Lear Siegler ?Ҥ? ADM-3 ?ϡ?
?ȵ??Ҥ????ޤ??? ?ѥ?????????줿ʸ?????????????????????ʤɡ??ѥ??????ɬ?פȤ???ʸ?????ϡ? printf(3S) ???Υ????????? %x ???ޤ??ѥ??????ʸ?????ѥӥ??ƥ????Ѥ??? ???Ҥ??ޤ??? ?㤨?С????????????֤????ꤹ?? cup ?????ѥӥ??ƥ??ϡ???ư???ιԤȷ??????ꤹ?? 2 ?ĤΥѥ??????Ϳ????ɬ?פ? ?????ޤ??? (?Ԥȷ??? 0 ???????????桼???˸?????ʪ?????̤Ȥ??ޤ????ܤ˸????ʤ? ????????ʬ?ϻ??Ȥ??ޤ?????) ü?????????????ФΥ??????????ֻ??굡ǽ?????ľ??硢?????? mrcup ??ɽ???ޤ????ѥ?????Ϥ??????Ǥϡ??????å??ȡ???????????????̤? % ?????ɤ? ?Ѥ??ޤ????̾??ϡ????????ϥѥ?????? 1 ?ĥ????å??˥ץå??夷?? ???????????ǽ??Ϥ??ޤ??? ???ä?ʣ???????ɬ?פʤ??Ȥ⤷?Ф??Ф????ޤ??? % ?????ɤˤϰʲ??ΰ?̣???????ޤ??? %% `%' ?????Ϥ??? %[[:]flags][width[.precision]][doxXs] printf ?ǤΤ褦?ˡ??ե饰?? [-+#] ?ȥ??ڡ??? %c printf() ?? %c ?Τ褦?ˡ?pop() ??ɽ?????? %s printf() ?? %s ?Τ褦?ˡ?pop() ??ɽ?????? %p[1-9] i ???ܤΥѥ???????ץå??夹?? %P[a-z] pop() ??ưŪ?ѿ? [a-z] ?????ꤹ?? %g[a-z] ưŪ?ѿ? [a-z] ???ץå??夹?? %P[A-Z] pop() ????Ū?ѿ? [a-z] ?????ꤹ?? %g[A-Z] ??Ū?ѿ? [a-z] ???ץå??夹?? %'c' ʸ?????? c %{nn} ???????? nn %l strlen(pop) ???ץå??夹?? %+ %- %* %/ %m ???ѱ黻 (%m ?Ͼ?;): push(pop() op pop()) %& %| %^ ?ӥåȱ黻: push(pop() op pop()) %= %> %< ?????黻: push(pop() op pop()) %A, %O ???? and ?????????? or ???? (????????) %! %~ ñ???黻 push(op pop()) %i ?ǽ??? 2 ?ѥ?????? 1 ???? (ANSI ü????) %? expr %t thenpart %e elsepart %; if-then-else, %e elsepart ?ϥ??ץ??????? else-if ?? Algol 68 ???˻?????ǽ: %? c1 %t b1 %e c2 %t b2 %e c3 %t b3 %e c4 %t b4 %e %; ci ?Ͼ????ᡢbi ?????Ρ? ?????黻?ϡ??̾??ν??????¤٤????ڥ????ɤ??Ф??Ƹ??ַ????ǻ??ꤷ?ޤ??? ?㤨?С?x-5 ???????ˤϡ?"%gx%{5}%-" ?????ꤷ?ޤ??? ?????????פ??줿ʸ??????ɾ???????? %P ?ѿ??? %g ?ѿ???¸³???ޤ??? HP2645 ???????ͤ??Ƥߤޤ??礦???????? 3 ?? 12 ???˰?ư???????ˤϡ? \E&a12c03Y ?? 6 ?ߥ??äΥѥǥ??????Ф???ɬ?פ??????ޤ??? ?????ǹԤȷ??Ȥ??դˤʤäƤ??뤳?Ȥȡ? ?ԡ????Ȥ? 2 ???ǽ??Ϥ????Ƥ??뤳?Ȥ????դ??Ƥ????????? ????ü???? cup ?????ѥӥ??ƥ??ϡ?“cup=6\E&%p2%2dc%p1%2dY” ?Ȥʤ??ޤ??? Microterm ACT-IV ?ϡ?^T ?θ??˸??ߤιԤȷ????? ?ɤ?????ñ?˥Х??ʥ??ͤ?????ɬ?פ??????ޤ????? “cup=^T%p1%c%p2%c” ?Ȥʤ??ޤ??? “%c” ???Ȥ?ü???ϡ??????????????????᤹???? (cub1) ?? ???̾??? 1 ?Ծ??˥???????????ư?????뤳?? (cuu1) ???Ǥ???ɬ?פ??????ޤ??? ?????ϡ??????ƥब?ѹ??????갮???Ĥ֤????ꤹ????ǽ???????뤿?ᡢ \n, ^D, \r ???μ¤??????Ǥ????Ȥϸ¤??ʤ??????Ǥ??? (terminfo ???饤?֥????롼?????ϡ????֤??褷??Ÿ???????ʤ??褦?? ü???⡼?ɤ????ꤷ?ޤ????Ǥ????? \t ?ϳμ¤??????Ǥ??ޤ??? ?????? Ann Arbor 4080 ?ǤϽ??פʤ??Ȥ?ʬ?äƤ??ޤ???) ?Ǹ??????? LSI ADM-3a ?Ǥ????????ϹԤȷ???????ʸ???????Υ??ե??åȤ? ɽ???ޤ????Ǥ????顢“cup=\E=%p1%' '%+%c%p2%' '%+%c” ?Ȥʤ??ޤ??? `\E=' ?????Ф????塢?ǽ??Υѥ???????ץå??夷??????ʸ???? ASCII ?? (32) ?? ?ץå??夷???????????ä??? (?????? 2 ?Ĥ??ͤ????????ˤ????¤??å??? ?ץå??夷) ?????ͤ?ʸ???Ȥ??ƽ??Ϥ??ޤ??? ???θ塢2 ???ܤΥѥ?????ˤĤ??Ƥ?Ʊ?ͤν??????Ԥ??ޤ??? ?????å????Ȥ????Ȥǡ???????ʣ???ʷ?????ǽ?Ǥ??? ??????????ư????????????®?˥ۡ????ݥ??????? (???̤κ?????) ?˰?ư????????ˡ?????? ü???ξ??硢?????? home ?ǻ??ꤹ?뤳?Ȥ??Ǥ??ޤ???Ʊ?ͤˡ???®?? ???????˰?ư????????ˡ?????ľ????? ll ?ǻ??ꤹ?뤳?Ȥ??Ǥ??ޤ??? ü???ˤ??äƤϡ??ۡ????ݥ??????? cuu1 ???Ȥäƾ??˰?ư???? ???ȤǤ???ư???ǽ?ʾ????⤢???ޤ????? ?ץ????????? (ll?Ǥ??????ꤷ?ʤ??¤?) ??ʬ???餽?????Ƥ? ?ʤ??ʤ????ȤˤʤäƤ??ޤ????????ϡ??ۡ????ݥ??????????˰?ư???? ??????ư???ˤĤ??ơ??ץ????????ϰ????????Ǥ??ʤ??????Ǥ??? ?ۡ????ݥ????????ϰ??ֻ??? (0,0)???Ĥޤꡢ???????ǤϤʤ??????̤κ??????? ?????????Ȥ????դ??Ƥ????????? (?Ǥ????顢HP ü???? \EH ?Υ??????? home ?Ȥ??ƻ??ѤǤ??ޤ?????)ü?????Ԥ????????Х??????????ֻ??굡ǽ?????ľ??硢ñ???ѥ?????????? ?????ѥӥ??ƥ? hpa (??ʿ???а???) ?? vpa (??ľ???а???) ?ǻ??ꤷ?ޤ??? (hp2645 ?Τ褦??) ????Ū?? 2 ?ѥ?????Υ??????????⤳?????????? û???ʤ????礬?Ȥ??ɤ????ꡢ???ξ??硢 cup ?????⤽???????Ȥ???ǽ?????????ޤ??? ?ѥ?????????줿?ɽ???ư??ǽ (?㤨?С? n ?屦?ذ?ư????) ??¸?ߤ??????硢???????ϡ??????İ?ư???뤫?????ꤹ?? ?ѥ?????? 1 ?Ļ??? cud, cub, cuf, cuu ???Ȥäƻ??ꤹ?뤳?Ȥ??Ǥ??ޤ??? ???????ϼ??ˡ?TEKTRONIX 4025 ?Τ褦??ü???? cup ???????ʤ???????ͭ?פǤ??? ???????Υ????ѥӥ??ƥ??????Ѥ????ץ??????????¹Ԥ????ݤˡ?ü???? ?ü??ʥ⡼?ɤˤ???ɬ?פ????????硢???Υ⡼?ɤ????륳???ɤȽФ륳???ɤ줾?? smcup ?? rmcup ?ǻ??ꤹ?뤳?Ȥ??Ǥ??ޤ??? ???????????֤????????????Ȥ??ơ??㤨?? Concept ?Τ褦?ˡ?ʣ???ڡ????? ????????????ü?????????ޤ??? ???????л??????????????????????ФΥ??????????ֻ??굡ǽ?????????ʤ? ????ü???ξ??硢???̤??礭???Υ??????ɥ? 1 ????ü???˸????dz????դ??? ???????????ֻ?????Ŭ?ڤˤǤ????褦?ˤ??ʤ????Фʤ??ޤ????? ???Υ????ѥӥ??ƥ??? TEKTRONIX 4025 ?Ǥ????Ѥ????Ƥ??ޤ??? ???????Ǥϡ? smcup ?ǡ?terminfo ?ǻ??Ѥ??륳?ޥ???ʸ???????ꤷ?Ƥ??ޤ??? rmcup ?????????? ?????Ϥ??줿???ˡ?smcup ???????????̤? (rmcup ?????Ϥ??????ξ??֤?) ???????ʤ??ʤ??С?nrrmc ?? ???ꤷ?Ƥ????????? ?ΰ??õ?ü??????????????ư???????ˡ????߰??֤????Ԥ???ü?ޤǾõ???ǽ?Ǥ??????硢 ?????? el ?ǻ??ꤹ?٤??Ǥ??? ü??????????????ư???????ˡ??Ԥ???Ƭ???鸽?߰??֤??ޤ??Ƹ??߰??֤ޤ? ?õ???ǽ?Ǥ??????硢?????? el1 ?ǻ??ꤹ?٤??Ǥ??? ü???????߰??֤??????̤ν????ޤǤ??õ???ǽ?ʾ??硢?????? ed ?? ???ꤹ?٤??Ǥ??? ed ?ϹԤ??? 1 ?夫???Ԥ??????Τ??????????ޤ??? (?Ǥ????顢?ޤȤ??? ed ?????ѤǤ??ʤ??????Ǥ⡢???̤ιԺ????ꥯ?????Ȥ??Ȥäƥ??ߥ??졼?Ȳ?ǽ?Ǥ???)?Ԥ?????/?????ȿ?ľ??ư?????????Τ????Ԥ????˶????Ԥ??ˤĤ??뤳?Ȥ??Ǥ???ü???ξ??硢 ?????? il1 ?ǻ??ꤹ?٤??Ǥ????????ϡ??Ԥ???Ƭ???֤ǤΤ߹Ԥ????ޤ??? ?????塢?????????Ͽ??????Ǥ????????Ԥ??֤?????ɬ?פ??????ޤ??? ü?????????????Τ????Ԥ??????Ǥ??????硢?????? dl1 ?ǻ??ꤹ?٤??Ǥ??? ???ε?ǽ?Ϻ??????????Ԥ???Ƭ?ǤΤ߹Ԥ????ޤ??? il1 ?? dl1 ???Ѽ??ǡ?????/?????????Կ???ɽ???ѥ?????? 1 ?ļ??????Τϡ? il ?? dl ?Ȥǻ????Ǥ??ޤ???(vt100 ?Τ褦??) ???????????ΰ?????????ǽ??ü???ξ??硢 ?ΰ????ꥳ?ޥ??ɤ? csr ?????ѥӥ??ƥ????Ѥ??ƻ?????ǽ?Ǥ??????Υ????ѥӥ??ƥ??? 2 ?ĤΥѥ?????? ???????????ΰ?????Ƭ?ԤȺǽ??ԡ????????ޤ??? ???ä????Ȥˡ????Υ??ޥ??ɼ¹Ը??Υ??????????֤??????????ޤ????? Ŭ?ڤ??ΰ??? csr ???Ѥ??뤳?ȤǹԤ?????/?????θ??̤????뤳?Ȥ???ǽ?Ǥ??? sc ?? rc (????????????¸?Ȳ???) ???ޥ??ɤϡ?????????????/????ʸ???????????? ư?????ʤ????Ȥ??ݾڤ????ˤ?ͭ?ѤǤ??礦?? (ncurses(3X) ?饤?֥????ϼ?ưŪ?ˤ??ι??????Ԥ??Τǡ? csr ??????/????ʸ???????ȥ??ѤˤĤ???ɬ?פϤʤ????Ȥ? ???դ??Ƥ?????????) ?????Ⱥ??????????????⤦ 1 ?Ĥ???ˡ?ϡ?(HP-700/90 ??????ˤ?????/?????? ?????ޤ????????Υ?????Τ褦??) ?????Ĥ???ü???ˤ????????????å???ǽ?? index ???Ȥ߹??碌?ƻȤ????ȤǤ??? ?ޤȤ??ʹ?????/???????ޥ??ɤ??????ʤ?ü???ǡ????̤κǾ?ü?⤷???? ?Dz?ü?ǹԤ????????????硢 ri ?⤷???? ind ???ȤäƹԤ????Ȥ??Ǥ??ޤ????ޤȤ??ʹ?????/???????ޥ??ɤ????ľ????Ǥ⡢ ?????????Ȥ?????®?????礬¿???Ǥ??? ?????????뤹???ƥ??????ɥ????¼?Ū?˲??????Υ??????Х????Υӥ塼?ݡ??Ȥ? ?????ʤ顢?֡????? non_dest_scroll_region ?????ꤹ?٤??Ǥ??? ???Υ????ѥӥ??ƥ????ƥ??Ȥ??뤿???ˤϡ????̤??????˥??????????ΰ????Ĥ??ꡢ ?Dz??Ԥ˲????????ΰ??ΰ??־??˥?????????ư??????ri ???Ԥä??? dl1 ?? ind ???ԤäƤ????????? ri ???ΰ??β??ؤȥ????????뤷?ƾä????ǡ??????? ?ƤӸ??????ʤ顢???????????????˲?Ū?Ǥ???System V Curses ?? XSI Curses ?? ind, ri, indn, rin ???˲?Ū???????????? ???ߥ??졼?????뤳?Ȥ????Ԥ??ޤ??? ???줬?????Ǥʤ??¤? csr ?????????ʤ??褦?ˤ?ʸ???ˤ????ս??????ޤ??? ???? curses ?μ????Ϥ??괲???ǡ?ndstr ???????????Ƥ????? ???????????θ???????Ū?˾õ????Ԥ??ޤ??? ???????ΰ????ˡ????٤ƤΥ??ޥ??ɤ??ƶ????륦?????ɥ??????????뤳?Ȥ? ?Ǥ???ü???ξ??硢?????ϡ??ѥ??????ʸ???? wind ?ǻ??ꤹ?٤??Ǥ??? ?????????Ǥγ??Ϲԡ???λ?ԡ????Ϸ塢??λ????ɽ?? 4 ?ѥ?????ϡ? ???ν??֤?Ϳ???ޤ??? ??¦??ɽ???????????ݻ??Ǥ???ü???ξ??硢da ?????ѥӥ??ƥ??? ???ꤹ?٤??Ǥ?????¦??ɽ???????????ݻ??Ǥ??????硢db ?????ꤹ?٤??Ǥ??? ???????ϡ??Ժ????䥹?????????ˤ??ꡢ???̺Dz?ü?????????Ԥ??夬?äƤ??뤳?ȡ? ?????ӡ?ri ?ˤ????ե??????????ˤ??????????Ԥ??????äƤ??뤳?Ȥ?ɽ???ޤ??? ʸ????????/????terminfo ?ǵ??Ҳ?ǽ??ʸ????????/?????˴ؤ??ơ?????Ū?ˤ? 2 ?????? ?????ƥꥸ??????ü?????????ޤ??? ???äȤ?ɸ??Ū??ʸ??????/??????ǽ?ϡ????߹Ԥ?ʸ???Τߤ??ƶ????????? ???եȤ???ʸ???ϰ??ΤȤʤäư?ư????ü?Ǿä??ƹԤ????ΤǤ??? ????¾??ü?????㤨?? Concept 100 ?? Perkin Elmer Owl ?Τ褦?ʤ??Τξ??硢 ɽ?????Ϥ??줿?????Ȥ????Ǥʤ??????Ȥδ֤˶??̤??????ޤ???????/?????? ?Ȥ??ʤ????եȤϲ??̾???ɽ?????Ϥ????Ƥ??ʤ????????Ф??ƤΤ?Ŭ?Ѥ??졢 ???줾???????ξ??ǡ??⤷????ɽ?????Ϥ????Ƥ??ʤ????? 2 ?Ĥˤʤ??ޤ?????ʬ?? ???äƤ???ü?????ɤ????Υ????פ???Ĵ?٤??ˤϡ????̤??õ?Ƥ??顢???????? ??ư???Ѥ??ƥƥ????Ȥ? 2 ?ս???ʬ???ƽ??Ϥ??ޤ???“abc” ?? “def” ?δ֤? (????ʸ???Ǥʤ?) ?ɽ?Ū??????????ư???Ѥ??? “abc def” ?????Ϥ??Ƥ????????? ???θ塢?????????? “abc” ?????˰?ư??????ü?????????⡼?ɤˤ??ޤ??? ʸ?????Ǥ??????ȡ??ԤλĤ꤬???ΤȤʤäƥ??եȤ??ƹԤ?ü??ʸ???????ܤ? ?????Ƥ椯?ʤ??С?????ü????ɽ?????Ϥ??줿?????Ȥ????Ǥʤ??????????̤??ޤ????? “abc” ?????եȤ??? “def” ?????ꤽ?θ??Ϥ????餬?????? ?Ԥ?ü?ޤǿʤߡ????ιԤޤǿʤ??ʤ??С?????ü???? 2 ???ܤΥ????פΤ??Τ? “insert null” ??ɽ???????ѥӥ??ƥ? in ?????ꤹ?٤??Ǥ??? ????Ū?ˤϡ??????????̤?°?? (?????⡼?ɤ? 1 ?Ԥ?ʣ???Ԥ????????ӡ? ɽ?????Ϥ????Ƥ??ʤ??????????̰??????뤫?ݤ?) ?Ǥ??????????⡼?ɤ? ????°?? 1 ?Ĥǵ??ҤǤ??ʤ?ü???ˡ????ޤǤ??ܤˤ????ä????ȤϤ????ޤ?????terminfo ?Ǥϡ??????⡼?ɤ?????ü???⡢???߹Ԥξ??Ǿ???????????û?? ????????????ü???⡢ξ???Ȥ?Ҥ??뤳?Ȥ??Ǥ??ޤ??? ?????⡼?ɤ????륷?????? smir ?ǻ??ꤷ?Ƥ????????? ?????⡼?ɤ????Ф륷?????? rmir ?ǻ??ꤷ?Ƥ????????? ??????????ʸ????ľ???ˡ????륷?????????Ф???ɬ?פ??????????? ich1 ?ǻ??ꤷ?Ƥ??????????ޤȤ????????⡼?ɤ?????ü???ΤۤȤ??ɤǤϡ? ich1 ?????ꤹ?뤳?ȤϤʤ??Ǥ??礦?? ?????????̾??Ǿ??????????륷??????????ü???ξ????ϡ? ich1 ?????ꤹ?٤??Ǥ??? ξ??????ü???ξ??硢?̾??? ich1 ???????????⡼?ɤ?????˾?ޤ????Ǥ??礦?? ????Ū?ˤϡ??ºݤ?ξ?????Ȥ߹??碌?ƻ??Ѥ???ɬ?פ??????????ʳ??ϡ?ξ??Ʊ???? ???ꤹ?٤??ǤϤ????ޤ????äơ?ξ???????? curses ???Ȥ??ʤ? ???ץꥱ?????????????ˤϺ??𤹤????Τ??????ޤ????????????ϡ????????Ȥä? ?????λ???ʸ???????Ťˤʤ뤳?ȤǤ??????????ϸ??ߤǤϵ??Ǥ????ۤȤ??ɤ? ich ???????Ϥ??????? smir ??ɬ?פȤϤ????? ?ۤȤ??ɤ? smir ?????⡼?ɤϳ?ʸ???????? ich1 ??ɬ?פȤϤ??ޤ????? ???äơ??????? curses ?ϼºݤˤ??줬???¤??Ȳ??ꤷ?? rmir/smir ?? ich/ich1 ?Τɤ??餫???? (ξ???Ǥ? ?????ޤ???) ??Ŭ?ڤʤ??ΤȤߤʤ??????Ѥ??ޤ????⤷??ξ????ɬ?פȤ????ۤ? ?Ť?ü???Υ????ȥ??????? curses ?ǻȤ??????˽???ɬ?פ??????ʤ顢 ich1 ?? rmir/smir ?????????ޤ??Ƥ????????? ???????Υѥǥ???ɬ?פʾ??硢ip (ʸ???ץ?????) ??ɬ?פʥߥ??ä? ???????ꤷ?Ƥ?????????????¾?Υ???????ʸ?? 1 ʸ???????????????Ф??? ɬ?פΤ??????Τ??ä????? ip ?ǻ??ꤹ?뤳?Ȥ??Ǥ??ޤ??? ???????⡼?ɡפ????ꡢ????????????ʸ?????Ȥˤ??륳???ɤ??դ??? ???Ф???ɬ?פΤ???ü???ξ??硢 smir/rmir ?? ich1 ?Ȥ?ξ???Ȥ????ꤷ?Ƥ????????????????뤳?Ȥǡ??????餬?Ȥ??????褦?ˤʤ??ޤ??? ich ?????ѥӥ??ƥ??ϥѥ???? n 1 ?Ĥ??Ȥꡢ?????? ich1 ??ư???? n ???֤??ޤ??? ?????⡼?ɤǤʤ??Ȥ???ʸ?????Ϥδ֤˥ѥǥ???ɬ?פʤ顢rmp ?? ?ߥ??äΥѥǥ??ο??????ꤷ?Ƥ????????? ?????⡼?ɤ???????Ʊ???Ԥ?ʸ???????????뤿???ˡ???????????ư????ɬ?פ????? ???礬?????ޤ? (?㤨?С????????֤θ??˥??֤?????????)???????⡼?ɤ? ???ä??ޤޤǥ???????????ư?????뤳?Ȥ??Ǥ??????硢???Τ褦?ʾ??????????? ??®?˹Ԥ??????ˡ??????ѥӥ??ƥ? mir ?????ꤹ?뤳?Ȥ??Ǥ??ޤ??? mir ????ά???Ƥ⡢?ƶ??????????Τ?®?٤ΤߤǤ??? ü???ˤ??äƤ? (ͭ̾?? Datamedia ?Υ????Ȥ?) ?????⡼?ɤ? ư????ˡ?ΰ㤤?ˤ??? mir ?????ꤷ?ƤϤ????ʤ????Τ??????ޤ??? ?Ǹ??ˡ?ʸ?? 1 ʸ???κ????ѤȤ??? dch1 ???? n ʸ?? ?????ѤȤ??ƥѥ???? n 1 ?Ĥ??Ȥ? dch ?????? smdc ?? rmdc ?줾???????⡼?ɤ????? ???????Ȥ????????Ф륷?????Ȥ???Ϳ???뤳?Ȥ? ?????⡼?? ( dch1 ??ư??뤿???ˡ?ü???????äƤ??ʤ????Фʤ??ʤ??⡼??) ?????ꤹ?뤳?Ȥ? ?Ǥ??ޤ??? n ʸ???????????? (????????????ư???????˶????? n ?Ľ??Ϥ??뤳?Ȥ?Ʊ???ν???) ?????Υ??ޥ??ɤϡ??ѥ?????? 1 ?ĤȤ? ech ???Ȥäƻ??ꤹ?뤳?Ȥ??Ǥ??ޤ??? ?ϥ??饤?ȡ????????Ļ??٥?ü???? 1 ?Ĥޤ??Ϥ????ʾ???ɽ??°???????ľ??硢????????ɽ????ˡ?Ȥ??ưۤʤä? ?????????????Ĥ??????ޤ??? ???顼???å???????¾?μ????????դ????????å???????Ŭ????????ʬ?????ȥ饹?Ȥ? ?⤯??Ω?ķ??????? 1 ?ġ???Ĵ?⡼?? ?????٤??Ǥ??? (???֤ʤ顢ȿžɽ????Ⱦ???٤??ä??????Ρ??⤷????ñ??ȿž?Τߤ??褤?Ǥ??礦??) ??Ĵ?⡼?ɤ????륷???????Ф륷?????Ϥ??줾?? smso ?? rmso ?ǻ??ꤷ?ޤ??? TVI 912 ?? Teleray 1061 ?Τ褦?ˡ???Ĵ?⡼?ɤؤν??????ˤ??????̤˶????? 1 ?? 2 ?ĻĤ????硢xmc ?????ꤷ?ƶ??????ĻĤ뤫?????٤??Ǥ????????????Ϥ??륳???ɡ???λ???륳???ɤϡ????줾?? smul ?? rmul ?ǻ??ꤷ?ޤ??? Microterm Mime ?Τ褦?ˡ????߰??֤?ʸ???˲??????????????? 1 ??ʬ ?????????˰?ư???륳???ɤ?????ü???ξ??硢???Υ????ɤ? uc ?? ???ꤹ?뤳?Ȥ??Ǥ??ޤ??? ????¾?????????ζ?Ĵ?⡼?ɤ????륱???ѥӥ??ƥ??ˤϡ? blink (????) bold (?????⤷???Ϲ??????뤤) dim (?Ť??⤷????Ⱦ????) invis (?????⤷???ϸ????ʤ??ƥ?????) prot (?ݸ?????) rev (ȿžɽ??) sgr0 ( ???٤Ƥ? °???⡼?ɤդˤ???) smacs (?̤?ʸ?????åȥ⡼?ɤ?????) and rmacs (?̤?ʸ?????åȥ⡼?ɤ????Ф?) ???ޤޤ??ޤ??? ???????Υ⡼?ɤΤɤ줫 1 ?Ĥ??ˤ????????ˡ?¾?Υ⡼?ɤ????դˤʤ??????? ?????ޤ??????ʤ??ʤ??????⤢???ޤ??? ?⡼?ɤ?Ǥ?դ??Ȥ߹??碌?????ꤹ?륷??????¸?ߤ??????硢?????? 9 ?ĤΥѥ?????????? sgr (°????????) ?ǻ??ꤷ?ޤ??? ?ѥ?????Τ??줾???ϡ?0 ???? 0 ???ͤ????ꡢ?б?????°?????????դ??? ɽ???ޤ??? 9 ?ĤΥѥ?????Ȥϡ????ˡ???Ĵ????????ȿžɽ???????ǡ??Ť?ɽ?????????? ???????ݸ?̤?ʸ?????åȤǤ??? ɬ?????⤹?٤ƤΥ⡼?ɤ? sgr ?ˤ??äƥ??ݡ??Ȥ????Ƥ???ɬ?פϤ????ޤ????? ??Ω????°?????ޥ??ɤ?¸?ߤ??????Τ????ǹ????ޤ????? ?㤨?С?DEC vt220 ?ϰʲ??Υ⡼?ɤΤۤȤ??ɤݡ??Ȥ??ޤ???
?ƥ⡼?ɤ?ư???椫?ɤ????????????????ˡ???ʤ??Τǡ? ?????????ץ???????ư?????Υ⡼?ɤ٤ƥ??դˤ??????ΤǻϤ??ޤ??? ??Ĵ??ȿž?????????ȹ礻?ǤǤ??Ƥ??ޤ??? ?ݸ??⡼?ɤϥۥ??Ȥξõ?????̤?ʸ?????ݸ???Τǡ?sgr ?Ǥ????̤? ?Ȥ????ޤ???vt220 ü???ˤ??ݸ??⡼?ɤ??????ޤ??? ?̤?ʸ?????åȥ⡼?ɤϡ????դ????ˤ??ä? ^O ?ޤ??? ^N ?Ǥ????Ȥ??????? ?ۤʤ??ޤ??? ???⡼?ɤ??ˤ??륷?????? \E[0;1;4;5;7;8m^N ?Ǥ??? ?????Ĥ??Υ??????ϰۤʤ??⡼?ɤ˶??̤Ǥ??? ?㤨?С?;7 ?ϡ?p1 ?? p3 ?????Ǥ????Ȥ??????ʤ?????Ĵ??ȿž?⡼?ɤ??????ΤȤ??? ???Ϥ????ޤ??? ???Υ?????????¸?ط??Ȥ??碌??;???Ȥ????ʤ??ȼ??Τ褦?ˤʤ??ޤ???
?????٤ư????? sgr ???????˵ͤ??????ȼ??Τ褦?ˤʤ??ޤ??? sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%; %?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, sgr ?????ꤷ???顢sgr0 ?????ꤹ??ɬ?פ????뤳?Ȥ?˺???ʤ??Ǥ????????? ????ˡ?Υ??å??? (magic cookie)?? (xmc) ??????ü???Ǥϡ??⡼?????ꥷ?????????????????ü??ʡ֥??å????פȤǤ? ?Ƥ֤٤????ߤ????̤˻Ĥ??ޤ???????ü???Ǥϡ??⡼?????ꥷ?????ϡ? ??ʸ????;ʬ?ʥӥåȤ??????????ΤǤϤʤ???ɽ?????르?ꥺ?ऽ?Τ??Τ? ?ƶ???Ϳ???ޤ??? HP 2621 ?ʤɤΤ褦??ü???Ǥϡ????ιԤذ?ư?????ꡢ?????????ΰ??ֻ????? ?????ݤ˶?Ĵ?⡼?ɤ??龡????ȴ???ФƤ??ޤ??ޤ??? ??Ĵ?⡼?ɤ??Ѥ????ץ????????ϡ???Ĵ?⡼?ɤǤΰ?ư???????Ǥ??뤳?Ȥ? msgr ?????ѥӥ??ƥ??λ??̵꤬???????ˤϡ?????????????ư????????????ʸ???? ???Ф??????˶?Ĵ?⡼?ɤ???æ?Ф??٤??Ǥ??? ???顼ȯ????̵???? (?٥???????????) ???Τ??뤿?ᡢ???̤??ե??å??夵???? ??ˡ???????Ƥ???ü???ξ??硢?????? flash ?ǻ????Ǥ??ޤ????????? ????????????ư?????ƤϤʤ??ޤ????? ???????뤬?Dz??Ԥˤʤ??Ȥ????̾??ξ??ְʾ??˸??פ????? (?㤨?С????Ǥ??ʤ? ???????????????긫?Ĥ??䤹???֥??å??????????????Dz????????????ˤ???) ɬ?פ????????硢???Υ??????? cvvis ?ǻ??ꤷ?Ƥ????????? ???????????????˸????ʤ??褦?ˤ?????ˡ?????????硢?????? civis ?ǻ??ꤷ?Ƥ????????? ???????Υ⡼?ɤθ??̤??Ǥ??ä????????Ȥ??ơ??????ѥӥ??ƥ? cnorm ?????ꤹ?٤??Ǥ??? ???Ȥ??Ť??Ǥ??Ǥʤ??Ȥ??Ƥ⡢(?ü??ʥ????ɤʤ???) ????ʸ?????????? ?????Ǥ???ü???ξ??硢?????ѥӥ??ƥ? ul ?????ꤹ?٤??Ǥ??? ʸ?????̤?ʸ???˽Ť??Ǥ???????ξ????ʸ???????̤˻Ĥ??ʤ顢?????ѥӥ??ƥ? os ?????ꤷ?Ƥ????????? ?Ť??Ǥ???????ʸ???Ǿõ???ǽ?ʾ??硢eo ?????ꤷ?Ƥ??Τ??Ȥ????餫?? ???Ƥ????٤??Ǥ??? ?????ѥåɤȥե??????????????ȥ????ɤ????Ф??륭???ѥåɤ????ľ??硢 ???Υ????ѥåɤ˴ؤ????????????ꤹ?뤳?Ȥ??Ǥ??ޤ??? ???դ??٤????Ȥ??ơ??????ѥåɤ??ɽ??⡼?ɤǤ???ư??ʤ?ü?? (?㤨?С????եȾ??֤Ǥʤ? HP 2621 ?Υ??????????˳??????ޤ?) ?????ȤϤǤ??ʤ????Ȥ??????ޤ??? ???????֤??????????֤????????Ǥ??륭???ѥåɤξ??硢???????Τ????Υ????ɤ? smkx ?? rmkx ?Ȥǻ??ꤹ?뤳?Ȥ??Ǥ??ޤ??? ???????λ??꤬?ʤ????硢?????ѥåɤϾ??????????֤Ȥ??ư??????ޤ??? ????????????????????????????????????home ?????????Ф??륳???ɤϡ????줾?? kcub1, kcuf1, kcuu1, kcud1, khome ?ǻ????Ǥ??ޤ??? f0, f1, ..., f10 ?Τ褦?ʥե????????????????硢?????餬???Ф??? ?????ɤ? kf0, kf1, ..., kf10 ?ǻ????Ǥ??ޤ??? ???????Υ????? f0 ???? f10 ?ޤǤΥǥե????ȤΥ??٥??ʳ??Υ??٥??????ľ??硢 ???Υ??٥??? lf0, lf1, ..., lf10 ?ǻ????Ǥ??ޤ??? ¾???ü쥭???????Ф??륳???ɤϡ??ʲ??Τ褦?˻????Ǥ??ޤ??? kll (?ۡ????????? (home down))?? kbs (?Хå????ڡ??? (backspace))?? ktbc (?????֥??ꥢ (clear all tabs))?? kctab (???η??Υ??֥??ȥåפꥢ)?? kclr (???̾õ? (clear screen) ?????ޤ??????? (erase) ????)?? kdch1 (ʸ?????? (delete character))?? kdl1 (?Ժ??? (delete line))?? krmir (?????⡼?ɤ???ȴ???? (exit insert mode))?? kel (?????ޤǥ??ꥢ)?? ked (???̤ν????ޤǥ??ꥢ)?? kich1 (ʸ?????? (insert character) ?ޤ????????⡼?ɤ????? (enter insert mode))?? kil1 (?????? (insert line))?? knp (???Υڡ??? (next page))?? kpp (???Υڡ??? (previous page))?? kind (???ʥ????????? (scroll forward) / ???ߥ????????? (scroll down))?? kri (???ॹ???????? (scroll backward) / ?徺?????????? (scroll up))?? khts (???η??˥??֥??ȥåפ?????)?? ???ˡ??????ѥåɤ? 4 ?Ĥ????????ޤ? 3 × 3 ?Υ????????????ľ??硢¾?? 5 ?Ĥ? ?????? ka1, ka3, kb2, kc1, kc3. ?ǻ??ꤷ?ޤ??? 3 × 3 ?Υ?????????ư?????ѥåɤθ??̤?ɬ?פʾ??硢???????Υ?????ͭ?ѤǤ????ե????????˥ץ??????ह??ʸ?????ϡ? pfkey, pfloc, pfx ?ǻ????Ǥ??ޤ??? ???̤Υ??٥???ʸ?????? pln ?ǻ??ꤹ?٤??Ǥ??? ????????ʸ?????ϡ????줾?? 2 ?Ĥΰ??????????ޤ??? ?ץ????????оݤΥե????????ֹ? (0 ???? 10 ?ޤ?) ?ȡ? ?????˥ץ??????ह??ʸ?????Ǥ??? ?????ϰϳ??Υե????????ֹ????Ȥ???̤?????Υ??????Ф??ƥץ??????ष?? ???ޤ????⤷?줺????????ü????¸??ư???Ȥʤ??ޤ??? ???????Υ????ѥӥ??ƥ??ΰ㤤?ϰʲ????̤??Ǥ??? pfkey ?????ꤹ???ȡ????Υ????????Ȥϡ??桼???????ꤷ??ʸ???????פ????Τ? Ʊ?????Ȥˤʤ??ޤ??? pfloc ?Ǥϡ?ü???????Ƕɽ?Ū?ˤ???ʸ???¹Ԥ????뤳?Ȥˤʤ??ޤ??? pfx ?Ǥϡ?????ʸ???????ԥ塼???????Ф????뤳?Ȥˤʤ??ޤ??? ?????ѥӥ??ƥ? nlab, lw, lh ?ϥץ?????????ǽ?ʲ??̤Υ??٥??? ?????????⤵?????????ޤ??? ???٥????դ??륳?ޥ??ɤ??????ʤ顢smln ?? rmln ?? ???ꤷ?Ƥ????????? ?ѹ??????????Τ??μ¤ˤ??뤿???ˡ??̾? smln ?? 1 ?İʾ??? pln ???????θ??ǽ??Ϥ????ޤ??? ???֤Ƚ?????ü?????ϡ??ɥ????????֤????ľ??硢???Υ??֥??ȥåפޤǥ??????????ʤ??? ???ޥ??ɤ? ht (?̾??? control I) ?ǻ????Ǥ??ޤ??? ???Υ??֥??ȥåפޤǺ??????˿ʤ????ָ??ॿ?֡ץ??ޥ??ɤϡ? cbt ?ǻ????Ǥ??ޤ??? ü?????????֤?ü???????Ф??줺?˥????ԥ塼???????Ƕ?????Ÿ?????????⡼?ɤ? ?ʤäƤ??????硢?ץ????????ϡ????Ȥ? ht ?? cbt ??¸?ߤ??Ƥ⡢???????????Ѥ??ʤ??Ȥ?????«?ˤʤäƤ??ޤ????????ϡ? ?桼???????֥??ȥåפ??????????ꤷ?Ƥ??ʤ???ǽ???????뤿???Ǥ??? ?Ÿ????????ˡ? n ?Ĥζ??Ȥ˥ϡ??ɥ????????֤????????????Ƥ???ü???ξ??硢???ͥѥ???? it ?????ꤷ?ޤ????????ϥ??֤Ȥ??????ꤵ????????????ɽ???ޤ??? ?̾?????? tset ???ޥ??ɤ????ϡ??ɥ?????????Ÿ???????Ѥ????⡼???????ȡ????֥??ȥå??????Ȥ? ?Ԥ????ɤ????????ꤹ?뤿???˻??Ѥ??ޤ??? ???֥??ȥå????????Դ?ȯ?????????˵????Ǥ???ü???ξ??硢terminfo ?Ǥε??Ҥ? ?ݤˡ????֥??ȥåפ??????????ꤵ???Ƥ??뤳?Ȥ????ꤷ?ƹ????ޤ?????¾?Υ????ѥӥ??ƥ??Ȥ??ơ? is1, is2, is3 ?????ꡢ????????ü??????????????ʸ?????????ꤷ?ޤ????ޤ??? iprog ?????ꡢ??????ü?????????ѤȤ??Ƽ¹Ԥ????ץ????????Υѥ?̾?????ꤷ?ޤ??? ?ޤ???if ?????ꡢ?????Ͻ?????ʸ??????Ĺ?????硢???????ޤ??ե??????? ̾???????ꤷ?ޤ??? ????????ʸ?????ˤ??ꡢterminfo ?λĤ??ε??Ҥ?̷???ʤ?ư????⡼?ɤ? ü???????ꤵ???뤳?Ȥ??????????ޤ??? ?̾?桼???????????뤿?Ӥˡ? tput ?ץ????????? init ???ץ???????????ʸ??????ü?????Ф??????Ф??ޤ??? ???Фϰʲ??ν????ǹԤ????ޤ??? ?ץ??????? iprog ???¹? ; is1 ?????? ; is2 ?????? ; mgc, smgl ?? smgr ?ǥޡ??????????? ; tbc ?? hts ?ǥ??֤????? ; ?ե????? if ?????? ; ?Ǹ??? is3 ?????ϡ? ???????ΤۤȤ??ɤ? is2 ?ǹԤ????ޤ??? ???̤Υ??????? is2 ???֤????ü??ʾ????? is1 ?? is3 ?Ȥ??֤????Ȥǡ?ʸ?????줾????ʣ?????ƻ??????ʤ??Ƥ⡢ ?ü???ü???⡼?ɤ????ꤹ?뤳?Ȥ??Ǥ??ޤ??? ?ޤä????櫓?Τ狼???ʤ????֤??????????뤿???Ρ??????ϡ??ɴ????? ?ꥻ?åȤ??Ԥ??????Υ????????Ȥ?Ʊ?ͤˡ? rs1, rs2, rf, rs3 ?ǻ??ꤹ?뤳?Ȥ??Ǥ??ޤ??????????? is2 ?? if ???ɤ????????????Ǥ??? ü?????ϥޤä??Ȥ??˻Ȥ??ץ????????Ǥ??롢 reset ?????????Υ??????????Ϥ??ޤ??? ???ޥ??ɤ? rs1, rs2, rs3, rf ???֤??Τϡ????̡????Υ??ޥ??ɤ????̤˥桼???????𤵤??????̤߽Ф??? ???ġ??????????κݤˤ?ɬ?פʤ??????˸¤??ޤ??? ?㤨?С?vt100 ?? 80 ???⡼?ɤ????ꤹ?륳?ޥ??ɤϡ????̤ʤ? is2 ?˴ޤ????Ϥ??Ǥ????? ???Υ??ޥ??ɤϲ??̤˺??𤵤??르?ߤ??????Ф??ޤ?????ü???ϴ??? 80 ???⡼?ɤ? ?ʤäƤ????Τ????̤Ǥ??Τǡ????Υ??ޥ??ɤ??ޤ???ɬ?פ????ޤ????? ???֥??ȥåפ????ꡢ???ꥢ???Ԥ????ޥ??ɤ????????硢???????? tbc (?????֥??ȥåפΥ??ꥢ) ?? hts (?ƹԤθ??߷??˥??֥??ȥåפ?????) ?˻????Ǥ??ޤ??? ?????????˴ؤ??ơ??????????????????Τ???ʣ???ʥ???????ɬ?פʾ??硢 ???Υ??????? is2 ?? if ???֤??Ƥ???ޤ????? ?ٱ??ȥѥǥ??????ϡ??ɥ??ԡ?ü???? (?㤨?С?DEC VT100 ???ޤ?) ?????˸Ť? CRT ???ޤࡢ ¿???θŤ????٤?ü???? XON/XOFF ?ϥ??ɥ????????? DTR ?ϥ??ɥ????????? ???ݡ??Ȥ??ޤ??????????Υ????????ΰ?ư?ȥ?????????ѹ??θ??ˤϡ? ?ѥǥ?????ʸ????ɬ?פ??⤷???ޤ?????ü?????ե????????Τ????? xon/xoff ?ϥ??ɥ????????????Ѥ??????? (???ʤ????? ???ϥХåե??????դ˶?ʤ??ȡ??ۥ??Ȥ˼?ưŪ?? ^S ???????֤?????)?? xon ?????ꤷ?Ƥ????????? ???Υ????ѥӥ??ƥ??ϥѥǥ??????Ф??ޤ??ޤ????¼?Ū??®?٤????¤Τʤ? ???????ޥåץȷ????Υ??????ǥХ??????Ф??Ƥ??????Ǥ??ޤ??? ?롼??????????Ū?ʥ????Ȥ˴ؤ??Ƥ????褤???Ѥ?????Ω?Ƥ뤳?Ȥ??Ǥ????褦?ˡ? ???ξ????Ǥ??ѥǥ??????????ꤹ?٤??Ǥ????????????ºݤϥѥǥ?????ʸ???? ?????????ޤ????? pb (?ѥǥ??ܡ??졼??) ?????ꤹ?뤳?Ȥǡ??ܡ??졼?Ȥ? pb ???ͤ????㤤???硢?ѥǥ????ޤ??????ޤ??? ?????ȥ??˥ѥǥ??ܡ??졼?Ȥ??ʤ????С? ?ѥǥ??????Ф????뤫?????ʤ????? xon ?ˤ??괰???????椵???ޤ??? ?̥? (0) ʸ???ʳ??Υѥǥ?????ʸ????ɬ?פȤ???ü???ξ??硢?????? pad ?ǻ????Ǥ??ޤ??? pad ʸ?????κǽ???ʸ???Τߤ????Ѥ????ޤ??? ???ơ???????ü???ˤϡ??̾??Υ??եȥ??????Ǥϻ??Ѥ????ʤ? (?????椨??ü???? lines ?????ѥӥ??ƥ??ǤϿ????????ʤ?) ;ʬ?ʡ֥??ơ??????ԡפ? ???Ĥ??Τ⤢???ޤ????Ǥ???ñ?ʾ????ˤϡ????ơ??????Ԥϥ??????????֤λ????ϲ?ǽ?Ǥ????? ???̾??Υ??????????ΰ??ΰ????ǤϤʤ????ΤǤ??? ???????ΤȤ??? 23 ?ԤΥ??????????ΰ??Τ??? 24 ?Ԥ? VT100 ??Ʊ???褦?ˡ? Heathkit H19 ?ˤϡ????μ??Υ??ơ??????Ԥ??????ޤ??? ???ξ????? hs ?????ѥӥ??ƥ??ǻ??ꤷ?ޤ??? ???ơ??????Ԥ??????ˤ????̤ʥ???????ɬ?פȤ???ü???⤢???ޤ??? ?????ϥѥ?????? 1 ?ĤȤ?ʸ???? tsl ??ɽ???ޤ??? ?????ϥ????????ơ??????Ԥ?Ϳ?????줿 0 ???˰?ư???ޤ??? ?????ѥӥ??ƥ? fsl ?ǺǸ??? tsl ?????μ????̤Υ??????????֤? ????ɬ?פ??????ޤ??????Τ????? tsl ?? fsl ?????? sc (save cursor) ?? rc (restore cursor) ??ʸ???????ͤ??ޤ??? ɬ?פ????뤫?⤷???ޤ????? ???ơ??????Ԥ??̾ü????????Ʊ???????Ȳ??ꤵ???Ƥ??ޤ??????줬 ?????Ǥʤ??Τʤ顢???Τ??Ȥ????ͥ????ѥӥ??ƥ? wsl ?ǻ????Ǥ??ޤ??? ???ơ??????Ԥ??õ???????????륳?ޥ??ɤ? dsl ?ǻ????Ǥ??ޤ??? ?֡????ͥ????ѥӥ??ƥ? eslok ?ϡ????ơ??????????ǥ????????ץ??????? ?????????̾??̤?Ư?????Ȥ??ޤ??? ncurses ?μ????Ϥ??????Υ????ѥӥ??ƥ??Τɤ????ޤ????Ѥ??Ƥ??ޤ????? ?????餬???פˤʤä??餳???˵??Ҥ??ޤ??? ????¿????ü???ˤϿޤ??????Τ?????Ω???̤?ʸ?????åȤ??????ޤ??? terminfo ?? curses ?? VT100 ?ǥ??ݡ??Ȥ????Ƥ?????ʸ???? AT&T 4410v1 ??ʸ???Τ????Ĥ??ݡ??Ȥ??ޤ??? ?????̤?ʸ?????åȤ? acsc ?????ѥӥ??ƥ??????ꤵ???ޤ???
???????ǥХ????ο????åȤ??????????Τ˰??֤褤??ˡ?ϡ?????ɽ?Τ???ü???Ѥ? ???ԡ????????ɲä????б????????ΤȤ????? (smacs/rmacs ?????å??? ?֤????Ф???????????) ???Ф?????ʸ????Ϳ???뤳?ȤǤ??????줫?? VT100 ?? ????ü????ʸ?????麸?˽????ɤ߾夲?Ƥ????????? ???줬 ACSC ʸ?????ˤʤ??ޤ??? ???ΰ????ۤȤ??ɤΥ??顼ü???? `Tektronix ??' ?? `HP ??' ?Τɤ??餫?Ǥ???Tektronix ?? ü???ˤϡ????餫???????????줿 N ?? (N ???̾? 8 ?Ǥ?) ???Ȥ????ꡢ ʸ????????????Ω?????ʿ????طʿ??????ꤷ?ơ?N * N ?ο??ڥ??ˤǤ??ޤ??? HP ??ü???Ǥϡ????ڥ??줾???̡??????ꤹ??ɬ?פ??????ޤ? (???ʤ??طʤ? ??Ω?ˤ??????Ǥ??ޤ???)?? 2*M ?ΰۤʤä????????? M ?ޤǤο??ڥ????Ǥ??ޤ???ANSI-?ߴ?ü???? Tektronix ?? ?Ǥ????????Ĥ??δ???Ū?ʿ??˴ؤ??륱???ѥӥ??ƥ??Ͽ??ΰ??????Ȥ???Ω?Ǥ??????? ?????ѥӥ??ƥ? colors ?? pairs ?ˤϡ?Ʊ????ɽ???Ǥ??뿧?ޤ??? ???ڥ??κ??????????ꤷ?ޤ???op (original pair) ʸ?????????ʿ????طʿ??? ü???ε????ͤ˥ꥻ?åȤ??ޤ???oc ʸ?????Ϥ??٤Ƥο??ޤ??Ͽ??ڥ??? ü???ε????ͤ˥ꥻ?åȤ??ޤ???(¿???? PC ü?????ߥ??졼?????ޤ?) ?????Ĥ???ü???Ǥϡ??Ÿ??????????طʿ??ǤϤʤ??????ߤ??طʿ??? ?????ΰ????õ?ޤ??????ξ????ˤϥ֡????ͥ????ѥӥ??ƥ? bce ?? ???ꤹ?٤??Ǥ??? Tektronix ????ü???Ǹ??ߤ????ʿ????طʿ????Ѥ??뤿???ˤϡ? setaf (set ANSI foreground) ?? setab (set ANSI background) ?? ?Ȥ?????setf (set foreground) ?? setb (set background) ?? ?ȤäƤ????????? ???????? 1 ?ĤΥѥ?????????ֹ????Ȥ??ޤ???SVr4 ??ʸ???ˤ? setaf/setab ?????????Ƥ??ޤ???XPG4 ?????Ƥˤϡ? ??ü?????طʤ????ʤ????ꤹ?? ANSI ?????????ץ??????ݡ??Ȥ????ʤ顢 ???줾?? setaf ?? setab ?ǻ??ꤹ?٤??Ǥ??? ü?????طʤ????ʤ????ꤹ???̤Υ????????ץ??????ݡ??Ȥ????ʤ顢 ???줾?? setf ?? setb ?ǻ??ꤹ?٤??Ǥ???vidputs() ?ؿ??? refresh ?ؿ? ?ϡ??????????Ƥ????? setaf ?? setab ?? ?Ȥ??ޤ????פȽ??Ƥ??ޤ??? setaf/setab ?? setf/setb ?????ѥӥ??ƥ??Ϥ??줾?? ???Ͱ????? 1 ?ĤȤ??ޤ????????? 0-7 ?ϰܿ??Ǥ????褦?ʲ??Τ褦???????????? ???ޤ? (?????????? curses ?? ncurses ?饤?֥????Ѥ˥إå??? ???ѤǤ??뵭???? #define ?Ǥ?)??ü???Υϡ??ɥ??????Ϥ??????ʤ褦?? ?ޥåפ????Τϼ?ͳ?Ǥ?????RGB ?ͤϿ????֤Ǥ??̾??ΰ??֤??Ƥ??ޤ???
HP ????ü???Ǥϡ??ɤο??ڥ??????ߤΤ??Τ??????ꤹ?뿧?ڥ??ֹ??ѥ?????? ?Ȥ??ʤä? scp ???ȤäƤ????????? Tektronix ????ü???Ǥϡ??????ѹ??Ǥ??뤳?Ȥ??????˥????ѥӥ??ƥ? ccc ???????ޤ????⤷?????Ǥ????С? initc ?????ѥӥ??ƥ??Ͽ??? (0 ???? colors - 1) ?? ???Ҥ??? 3 ?ĤΥѥ???????Ȥ??ޤ??????? 3 ?ĤΥѥ?????ϡ??ǥե????ȤǤ? RGB (Red, Green, Blue) ?ͤȲ??ᤵ???ޤ????֡????ͥ????ѥӥ??ƥ? hls ?? ?????С????????? HLS (Hue, Lightness, Saturation) ??ɸ?ˤʤ??ޤ??? ?ϰϤ?ü???˰?¸???ޤ??? HP ????ü???Ǥϡ?initp ?????ڥ??ͤ??ѹ????륱???ѥӥ??ƥ???Ϳ???ޤ??? ?ѥ?????? 7 ?ĤȤ??ޤ??????ڥ??ֹ? (0 ???? max_pairs - 1 ?ޤ?) ?? 3 ?Ĥο????Ȥ? 2 ?ĤǤ????ǽ????Ȥ??طʿ?????2 ???ܤ??Ȥ????ʿ??Ҥ??ޤ??? ???????Υѥ?????? hls ?˰?¸???? (Red, Green, Blue) ?? (Hue, Lightness, Saturation) ?Ǥ???ɬ?פ??????ޤ??? ???顼ü???Τ????Ĥ??Ǥϡ????ϥϥ??饤?ȤȾ??ͤ??ޤ??? ???ξ??ͤ? ncv ?????ѥӥ??ƥ?????Ͽ?Ǥ??ޤ??? ?????ϡ????????Ѳ?ǽ?ʤȤ??˻Ȥ????Ȥ??Ǥ??ʤ?°???Υӥåȥޥ????Ǥ??? curses ??????°???Ȥ??б??ϰʲ????̤??Ǥ???
?㤨?С?¿???? IBM PC ???????ǡ???????°???????ʿ????ĤȾ??ͤ??Ƥ??ޤ??? ???顼?⡼?ɤǤ????ѤǤ??ޤ??????ϡ?ncv ?????ѥӥ??ƥ??? 2 ?? ???ꤹ?٤??Ǥ??? SVr4 curses ?? ncv ?Ǥϲ??⤷?ޤ??? ncurses ?Ϥ?????ǧ?????ƥ??顼?Ѥ˽??Ϥ???Ŭ?????ޤ??? ????¾?̥? (0) ʸ???ʳ??Υѥǥ?????ʸ????ɬ?פȤ???ü???ξ??硢?????? pad ?? ???ꤹ?뤳?Ȥ??Ǥ??ޤ??? pad ʸ?????κǽ???ʸ???Τߤ????Ѥ????ޤ??? ?ѥǥ?????ʸ?????????ʤ?ü???ξ??硢npc ?????ꤷ?Ƥ????????? ncurses ?? termcap ?ߴ??? PC ?ѿ??????????Ƥ??뤳?Ȥ????դ??Ƥ????????? ???ץꥱ?????????Ϥ????ͤ??ʥ??ʳ??Τ??Τ????ꤹ?뤫?⤷???ޤ??? ncurses ?Ϻǽ??? npc ???ƥ??Ȥ???ü???˥ѥǥ?????ʸ?????ʤ????? napms ???Ȥ??ޤ???ü????Ⱦ?Ԥ????岼??ư?Ǥ??????硢?????? hu (Ⱦ?Ծ???) ?? hd (Ⱦ?Բ???) ?Ȥǻ????Ǥ??ޤ??? ?????ϡ????Ȥ??ơ??ϡ??ɥ??ԡ?ü???ξ??դ?ʸ???????դ?ʸ???Τ????????? Ω???ޤ??? ?ϡ??ɥ??ԡ?ü?????ѻ????ӽФ????Υڡ????˹Ԥ????? (?ե??????ե?????) ?? ?Ǥ??????硢?????? ff (?̾??? control L) ?ǻ??ꤷ?ޤ??? (Ʊ??ʸ?????ˤ???¿?????֤??????????ݤλ????????Τ???) ???ꤷ??ʸ???? ???ꤷ???????????????֤????ޥ??ɤ?¸?ߤ??????硢?ѥ??????ʸ???? rep ???Ѥ??Ƥ????????ꤹ?뤳?Ȥ??Ǥ??ޤ??? 1 ???ܤΥѥ?????Ϸ????֤?????ʸ???ǡ?2 ???ܤΥѥ?????Ϸ????֤??????Ǥ??? ?Ǥ????顢tparm(repeat_char, 'x', 10) ?? `xxxxxxxxxx' ??Ʊ?????ȤǤ??? TEKTRONIX 4025 ?Τ褦?ˡ????ޥ???ʸ??????????ǽ??ü???ξ??硢 cmdch ???Ѥ??Ƥ?????ɽ?????Ȥ??Ǥ??ޤ??? ???٤ƤΥ????ѥӥ??ƥ??ǻ??Ѥ??????ץ??ȥ????ץ??ޥ???ʸ?????????Ǥ??ޤ??? ????ʸ???? cmdch ?????ѥӥ??ƥ??ǻ??ꤵ?졢???줬???̤????ޤ??? ?????Ĥ??? UNIX ?????ƥ??Ǥϰʲ?????«?ˤ??????äƽ??????ʤ????ޤ??? ???ʤ??????ޤ??Ķ??ѿ? CC ?????????줬???ꤵ???Ƥ????????ϡ??????ѥӥ??ƥ????ˤ????ץ??ȥ????? ʸ???Τ??٤Ƥ????δĶ??ѿ??ǻ??ꤵ?줿ʸ?????֤??????????ޤ??? switch, dialup, patch, network ?ʤɤΤ褦?ʡ???????ü???μ?????ɽ???ʤ?ü?????Ҥˤϡ??ץ??????ब ????ü???Ȥɤ??̿??????Ф褤????ʬ?????ʤ???ɽ???Ǥ????褦?ˤ??뤿?ᡢ gn (????Ū) ?????ѥӥ??ƥ??????ꤹ?٤??Ǥ??? (???Υ????ѥӥ??ƥ??ϡ??????????ץ????????狼?äƤ??? ???? ü???ε??Ҥˤ?Ŭ?Ѥ????ޤ?????) ü?????????եȥ????Ȥ???ư???ʸ?????٤Ƥ? 8 ?ӥå??ܤ?Ω?Ƥ????Ф??? ?֥?????פ????ľ??硢???Τ??Ȥ? km ?ˤ???ɽ?????Ȥ??Ǥ??ޤ??? ???λ??꤬?ʤ????硢???եȥ??????ϡ?8 ?ӥå??ܤϥѥ??ƥ??ǡ??̾??? ???ꥢ?????Ƥ????????ꤷ?ޤ??? ???Ρ֥?⡼?ɡפդ???ʸ??????¸?ߤ??????硢?????? smm ?? rmm ?Ȥǻ????Ǥ??ޤ??? ü???????? 1 ??ʬ????¿???Կ??Υ??????????ľ??硢???????ιԿ??? lm ?ǻ????Ǥ??ޤ??? ?? lm#0 ?ϡ??Կ??ϸ????Ǥʤ????ΤΡ?1 ????ʬ?ʾ??Υ??????????Ĥ??Ȥ?ɽ???ޤ??? ü???? UNIX ?β???ü???ץ??ȥ????ݡ??Ȥ??Ƥ??????硢 ????ü???ֹ??? vt ?ǻ????Ǥ??ޤ??? ü??????³???줿?????ץ??????椹?????ǥ??????ԡ?ʸ?????ϡ????Τ褦?? ?????Ǥ??ޤ??????ʤ????? mc0: ???????Ƥΰ????? mc4: ?ץ????ա? mc5: ?ץ??????Ǥ??? ?ץ????????ΤȤ???ü???????Ф??줿?ƥ????ȤϤ??٤ƥץ??????????ޤ??? ?ץ????????ξ??֤Ǥ??ʤ?ü???˥ƥ????Ȥ?ɽ???????뤫?ݤ???̤?????Ǥ??? ?Ѽ??Ǥ??? mc5p ?ϥѥ?????? 1 ?ļ??ꡢ???Υѥ???????ͤ?????ʸ?????????֥ץ??? ?????ˤ?³???????Τ??ȥ??դˤ??ޤ??? ???Υѥ?????? 255 ???ۤ??ƤϤʤ??ޤ????? mc4 ???ޤह?٤ƤΥƥ????Ȥϡ? mc5p ??ͭ???ʴ֡?Ʃ??Ū?˥ץ????Ϥ????ޤ??? ???ߵ?ǽ?????ä???ǽ (Glitches and Braindamage)Hazeltine ü???? `~' ʸ????ɽ???Ǥ??ޤ??????ˤ? hz ?????ꤹ?٤??Ǥ???Concept ?? vt100 ?Τ褦?? am ľ???β???ʸ????̵?뤹??ü???ξ??硢 xenl ?????ꤹ?٤??Ǥ??? ??Ĵɽ?????????????????? (ñ???̾??Υƥ????Ȥ????˽????ǤϺѤޤ?) el ??ɬ?פʾ??硢 xhp ?????ꤹ?٤??Ǥ??? Teleray ü???ϡ????֤ǥ?????????ư???????ˤ??ä?ʸ???٤ƶ????ˤ??? ???ޤ??Τǡ?????ü???Ǥ? xt (?˲?Ū?ʥ???) ?????ꤹ?٤??Ǥ??? ?? : ???????б??????ѿ??ϡ????ߤ? `dest_tabs_magic_smso' ?Ǥ????? ?????ΥС????????Ǥϡ?teleray_glitch ?Ǥ????? ???Τդ???????ǽ?ϡ?``magic cookie''(??ˡ?Υ??å???) ?? ??Ƭ?˥??????????֤??ʤ????Ȥȡ? ??Ĵ?⡼?ɤ??õ?뤿???ˡ??Ժ????ȹ???????ɬ?פǤ??뤳?Ȥ???̣???ޤ??? ncurses ?μ????Ϥ??? glitch ??̵?뤷?ޤ??? Beehive ?? Superbee ü???ϡ???????????ʸ???? control C ʸ?????????? ?????Ǥ??ޤ??????ˤ? xsb ?????ꤷ??f1 ???????????פȤ???f2 ?????? control C ?Ȥ??ƻ??Ѥ??뤳?Ȥ? ɽ???ޤ??? (???????꤬???????Τ??????? Superbee ?˸¤??졢???? ROM ?˰?¸???ޤ???) terminfo ?θŤ??С????????Ǥϡ????Υ????ѥӥ??ƥ??? `beehive_glitch' ?? ?ƤФ??Ƥ??ޤ??????????ߤǤ? `no_esc_ctl_c' ?ȸƤФ??Ƥ??뤳?Ȥ? ???դ??Ƥ????????? ?ʤˤ???????ü???˸?ͭ??¾???????????褷???????硢xx ?η????? ???????????ѥӥ??ƥ????ɲä??ƻȤäƤ???ޤ????? ?褯????ü??2 ?Ĥ??????ˤ褯????ü???????????硢?????Ĥ????㳰???????? ???? (?ѷ???) ??¾?? (???ܼ?) ?Ȼ??Ƥ????Ȥ??????????Ԥ????Ȥ??Ǥ??ޤ??? ?ѷ??????????ˤ????Ƥϡ? ʸ?????ѥӥ??ƥ? use ?ǡ????ܼ???ü????̾???? ?????Ǥ??ޤ??? use ?λ???????????Ϳ?????????ѥӥ??ƥ??ϡ? use ?ˤ??????????????ܥ????פ????Υ????ѥӥ??ƥ???ͥ?褷?ޤ??? ʣ???? use ?????ѥӥ??ƥ???¸?ߤ??????硢?դν??֤ǥޡ????????ޤ??? ???ʤ????????ֱ?¦?? use ?λ????褬?ǽ??˽??????졢 ???ˤ??κ??????????????Ȥ??ä????֤ˤʤ??ޤ??? ?????ȥ?????????Ū?˻??ꤵ?줿?????ѥӥ??ƥ??ϡ? use ?λ????褬Ϳ???륱???ѥӥ??ƥ???ͥ?褷?ޤ????????ѥӥ??ƥ??????κ?¦?? xx@ ???֤????Ȥˤ??ꡢ???Υ????ѥӥ??ƥ??? ???????Ǥ??ޤ????????? xx ?Ϥ??Υ????ѥӥ??ƥ??Ǥ??? ?㤨?С??????ȥ? 2621-nl, smkx@, rmkx@, use=2621, ?? smkx ?? rmkx ???????ʤ? 2621-nl ?????????ޤ??? ?????椨??????ü???ϥӥ??奢???⡼?ɤǤ? ?ե??????????٥????ˤ??ޤ????? ???ε?ǽ?Ϥ???ü???μ?ε?ǽ?䡢?桼???μ????????ɽ???ݤ?ͭ?ѤǤ??? Ĺ???????ȥ??????Ȥ???Ĺ?? terminfo ?Υ????ȥ????????ˤʤꤽ???ˤ????ޤ????ߤޤ? terminfo ?? ʸ????ɽ?κ????? 4K ??ã?????????ȥ??Ϥʤ??ΤǤ????Թ??ʤ??Ȥ? termcap ?ؤ? ?????Ϥ??äȸ????????¤????Ƥ??? (1K ?ޤ?) ?Τǡ?Ĺ?? terminfo ?????ȥ??? termcap ?ؤ????????????????????????????Τ??ޤ?????4.3BSD ?????ӡ??????Ť??С????????? tgetent() ?Υޥ˥奢???ˤϡ? termcap ?????ȥ??Ѥ? 1K ?ΥХåե??????????Ƥ??褦?˽Ƥ????ޤ??? ?????ȥ??? termcap ?饤?֥????ˤ????̥?ʸ???ǽ?λ???????????Τǡ? termcap ?????ȥ??Ȥ??ư????ʺ?????Ĺ???? 1k-1 (1023) ?Х??ȤǤ??? ???ץꥱ?????????Ȼ??Ѥ??? termcap ?饤?֥??꤬???뤫?? ?ޤ???tgetent() ??õ???Ƥ??륿???פ?ü???? termcap ?ե??????? ?ɤ??ˤ??뤫?ˤ??äơ????????Ȥ??????Ĥ??????뤫???Τ??ޤ????? termcap ?饤?֥????????ˤϡ?1023 ?Х??Ȥ???Ĺ???????ȥ??Ĥ????? ?ٹ??Υ??å???????ɽ???????ꡢ??λ?????ꤹ?????Τ⤢???ޤ????? ?????Ǥʤ????Τ⤢???ޤ????????Ǥʤ????Τϥ????ȥ????ڼΤƤ? 1023 ?Х??Ȥ? ???Ƥ??ޤ??ޤ??????ץꥱ?????????ץ????????????ˤ? termcap ?????ȥ??? ?侩???줿 1K ????¿?????????Ƥ????Τ⤢???ޤ??????????Ǥʤ????Τ⤢???ޤ??? ?? termcap ?????ȥ??ˤϤ????˴ط????????פ??礭???? 2 ?Ĥ????ޤ??? "tc" Ÿ?????? "tc" Ÿ?????Ǥ???"tc" ?ϡ????ߤΥ????ȥ??κǸ??? ¾?? termcap ?????ȥ????դ????????Υ????ѥӥ??ƥ????ɲä??? ?????ѥӥ??ƥ??Ǥ???termcap ?????ȥ꤬ "tc" ?????ѥӥ??ƥ??? ?Ȥ??ʤ??ʤ??С????????? 2 ?Ĥ?Ĺ????Ʊ???Ǥ??? ?ü???ü???Υ桼???ʳ??ˤ??ƶ??????Τǡ???tc Ÿ?????פ?Ĺ???ϺǤ? ???פʤ??ΤǤ????????? /etc/termcap ?ˤ??륨???ȥ꤫???Хå??????å????? ???Ԥ??Ȥ??????????Τ?Ĺ???Ǥ????Хå??????å????Ȳ??Ԥ??Ȥ? tgetent() ?? ?ɤ߹????֤˼????????ޤ??? termcap ?饤?֥????????ˤϺǸ??β??Ԥ????????????Τ⤢???ޤ? (GNU termcap ?ϹԤ??ޤ???)?? ???Τ褦?˲??ꤷ?ޤ???
?????ȡ?tgetent() ?ϥ????ꡢ?????餯?ϥ????å??˽Ťͽ??????֤??ץ????????? ?????????פ??????Ǥ??礦??telnet ?Τ褦?ʥץ??????????ä˼夤?Ǥ??? ????Ū?? telnet ??ü???????פΤ褦???ͤ???ưŪ???̤??Ƥ??ޤ??ޤ??? SunOS 4.1.3 ?? Ultrix 4.4 ?Τ褦?ˡ????٤?Ĺ?? termcap ?????ȥ??? ?ɤ????Ȥ??ˤϷٹ????å???????ɽ?????? termcap ?饤?֥????Ǥ⡢???̤? ˾?ޤ??????ΤǤϤ????ޤ?????OSF/1 3.0 ?Τ褦?? termcap ?饤?֥??꤬ Ĺ???????ȥ????ڤ??ΤƤ??ʤ顢?????ǻ??̤??ȤϤ????ޤ??? ü?????Ф????????Τʥǡ??????֤????Ȥˤʤ??Ǥ??礦?? ??tc Ÿ?????פ?Ĺ???Ͼ???Ʊ???褦?˱ƶ??????Ǥ??礦???? ?ƶ??????????Τ? TERM ??ü???????פ˼ºݤ????ꤷ???ͤ????Ǥ??? tgetent() ??õ???Ƥ??????ǤϤʤ???õ???Ƥ???ü???????פĤ??????? ???٤??? "tc" Ÿ?????Ԥ??????Ǥ??? ???ɡ?1023 ?Х??Ȥ???Ĺ?? termcap ?????ȥ? ?ϡ?termcap ?饤?֥????? ???ץꥱ?????????Τ??ޤ??ޤ??ȹ礻?ǡ??????????פ??ٹ????????Τ??????? ?????????????⤷???ޤ?????"tc" Ÿ?????Ǥ?Ĺ????ʤ顢¾??ü???????פ? ?桼???? termcap ?????ȥ??Τʤ? TERM ?ѿ??????ꤷ?Ƥ????桼???ˤ? ?ƶ??????Ǥ??礦?? -C (termcap ??????) ?⡼?ɤǤϡ?tic(1) ?? ncurses ?? ?????? tc ???? termcap ??????????Ĺ????Ĺ??????硢?ٹ????å????????Ф??ޤ??? -c (check) ???ץ??????ϡ?ʬ?Ϥ??줿 (tc Ÿ??????) Ĺ?????????å????ޤ??? ?Х??ʥ??ߴ??????Ѥ? UNIX ?δ֤ΥХ??ʥ??? terminfo ?????ȥ??ΰܿ????˴??Ԥ????Τ? ?????ǤϤ????ޤ??????????? terminfo ?? (HP-UX ?? AIX ??) ???ʤ??Ȥ? 2 ?Ĥ? ?С????????뤫???Ǥ????ɤ????? SVr1 ?θ??? System V ?? terminfo ???? ʬ?????????Τǡ?ʸ????ɽ?? System V ?? XSI Curses ??ĥ?? (?Х??ʥ??ե????ޥåȤ?) ???ͤ?????ĥ?????ѥӥ??ƥ????ɲä??Ƥ??ޤ?????ĥSVr4 ?? curses ?μ????Τ????Ĥ??? SVr4 ?????Τ??Τ??٤Ƥ? ?ѥ????ʸ???????? %A ?黻?Ҥ? %O ?黻?Ҥ????ᤷ?ޤ?????SVr4/XPG4 ?ϡ??̤?ʸ?????åȥ⡼?ɤ? msgr ???????????ΰ?ư?????Ĥ??뤫 ?ɤ????????ꤷ?ޤ??? (???Τ褦?ʥ⡼?ɤϡ??????????Ǥ? CR ?? NL ?? ?ɽ?Ū?ʰ?ư?????????????ʤ?ʸ???˼̤??Ƥ??ޤ??????Τ??ޤ???)?? ncurses ?μ????? ALTCHARSET ?⡼?ɤǤ? msgr ??̵?뤷?ޤ??? ???Τ??ᡢȿ?Фβ????? XPG4 ?μ????Ǥϡ?ncurses ?Ѥ˺????줿 terminfo ?????ȥ??? msgr ?դˤ???ɬ?פ????뤫???Τ??ޤ????? ncurses ?饤?֥????ϡ??????θ?Ψ???夲?뤿???˾?????ɸ??Ū????ˡ?? ʸ????????ʸ???????⡼?ɤ??ޤ????嵭?? ʸ????????/???? ???????? ???Ȥ??Ƥ????????? set_clock ?? display_clock ?Υѥ?????ִ??? SVr4 ?Ǥ? XSI Curses ???ʤǤ??????????Ƥ??ޤ?????AT&T 505 ü?????????? ??¬???????ΤǤ??? kmous ?????ѥӥ??ƥ??γ??????Ƥˤ????դ??Ƥ?????????ncurses ?? KEY_MOUSE ?Ȥ??Ʋ??ᤷ?褦?Ȥ???xterm ?Τ褦?? ?????ܡ??????ϥ??ȥ?????ǥޥ????ȥ??å????????֤????ȤΤǤ???ü???? ???ߥ??졼???????Ѥ??ޤ??? ?ۤʤ뾦?Ѥ? terminfo ?? curses ?Ϥ??줾???ۤʤ? XSI Curses ɸ???ΰ????? (?????Ĥ??ξ???) ?ۤʤä???ĥ?ݡ??Ȥ??ޤ????ʲ??? 1995 ǯ 10 ???????Ǥ????Τ??????Ǥ??? SVR4, Solaris, ncurses -- SVr4 ?????ѥӥ??ƥ??٤ƥ??ݡ??Ȥ??ޤ??? SGI -- SVr4 ???٤Ƥ??????Τʤ???ĥʸ?????ѥӥ??ƥ? 1 ?? (set_pglen) ?? ???ݡ??Ȥ??ޤ??? SVr1, Ultrix -- terminfo ?????ѥӥ??ƥ??????¤??줿?????ݡ??Ȥ??ޤ??? ?֡????ͤ? xon_xoff ?ǡ????ͤ? width_status_line ?ǡ? ʸ?????? prtr_non ?ǽ??????Ǥ??? HP/UX -- SVr1 ?ΰ????ȡ?SVr[234] ?ο??? num_labels, label_height, label_width ?ȡ??ե??????? 11 ???? 63 ?ޤǤȡ? plab_norm, label_on, label_off ?ȡ?ʸ????ɽ?????ߴ??ʳ?ĥ?? ?????Ĥ????ݡ??Ȥ??ޤ??? AIX -- SVr1 ?ΰ????ȡ??ե??????? 11 ???? 63 ?ޤǤȡ??????????? ???ߴ???ʸ????ɽ??ĥ?ݡ??Ȥ??ޤ??? OSF -- SVr4 ?????? AIX ??ĥ??ξ???ݡ??Ȥ??ޤ??? ??Ϣ?ե?????
??Ϣ????tic(1M), curses(3X), printf(3S), term(5).????Zeyd M. Ben-Halim, Eric S. Raymond, Thomas E. Dickey. Pavel Curtis ?ˤ??? pcurses ?˴??Ť??Ƥ??ޤ??? Visit the GSP FreeBSD Man Page Interface. |