author | John Beck <John.Beck@Oracle.COM> |
Wed, 08 Feb 2012 16:47:41 -0800 | |
changeset 681 | 7c568e880861 |
child 5810 | 76203f2cf39d |
permissions | -rw-r--r-- |
681
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
1 |
'\" te |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
2 |
.\" Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved. |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
3 |
.TH enhance 1 "2004 年 5 月 18 日" "SunOS 5.11" "ユーザーコマンド" |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
4 |
.SH 名前 |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
5 |
enhance \- 拡張されたコマンド行編集機能 |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
6 |
.SH 形式 |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
7 |
.LP |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
8 |
.nf |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
9 |
\fBenhance\fR \fIcommand\fR [\fIargument\fR]... |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
10 |
.fi |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
11 |
|
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
12 |
.SH 機能説明 |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
13 |
.sp |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
14 |
.LP |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
15 |
\fBenhance\fR プログラムは、ソースコードを利用できない他社のアプリケーションのユーザーに、拡張されたコマンド行編集機能を提供します。これは、アプリケーションと実端末間に仮想端末を配置することにより実現されます。これは、\fBtecla\fR コマンド行編集ライブラリを使って実端末からの入力を読み取り、その入力行をすぐに仮想端末経由でアプリケーションに転送します。アプリケーションからの出力はすべて、変更されずに実端末に戻されます。 |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
16 |
.sp |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
17 |
.LP |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
18 |
アプリケーションが出力の生成を 10 分の 1 秒より長く停止する場合、拡張プログラムは常に最新の未完了の出力行をプロンプトとして処理し、その後にユーザーが入力した未完了の入力行をすべて再表示します。ユーザーに気づかれない程度のわずかな遅延も、プログラムが正しく動作する上で必要ありません。これは単に、入力行がしばしば再表示されるために出力速度が低下することを避けるための最適化です。 |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
19 |
.sp |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
20 |
.LP |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
21 |
Tecla ライブラリにより提供されるユーザーレベルのコマンド行編集機能の説明は、\fBtecla\fR(5) のマニュアルページに記載されています。 |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
22 |
.SS "不完全性" |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
23 |
.sp |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
24 |
.LP |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
25 |
未解決の大きな問題の 1 つは、制御端末による入力のエコーを実行するかしないかを変更するアプリケーションの処理方法です。たとえば、\fBftp\fR や \fBtelnet\fR などのパスワードの入力を求めるプログラムは、制御端末に対して一時的にユーザーの入力をエコーしないように指示します。この要求は仮想端末のアプリケーション側に送られるため、拡張プログラムはこれが起きたことを識別できず、ユーザーがパスワードを入力している最中も、入力を制御端末にエコーし続けます。 |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
26 |
.sp |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
27 |
.LP |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
28 |
さらに、ホストアプリケーションの実行前に、拡張プログラムはまず仮想端末を \fBnoecho\fR モードに設定するため、プログラムに送信されるものが重複してエコーされることはありません。\fBnoecho\fR モードに切り替わったプログラムがその後、以前に有効だった端末モードを復元せずに、エコーを明示的に復元した場合は、新しい行を入力するたびに次の行に重複するコピーが表示されます。 |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
29 |
.SH ファイル |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
30 |
.sp |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
31 |
.ne 2 |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
32 |
.mk |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
33 |
.na |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
34 |
\fB\fB/usr/lib/libtecla.so\fR\fR |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
35 |
.ad |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
36 |
.RS 24n |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
37 |
.rt |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
38 |
\fBtecla\fR ライブラリ |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
39 |
.RE |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
40 |
|
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
41 |
.sp |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
42 |
.ne 2 |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
43 |
.mk |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
44 |
.na |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
45 |
\fB\fB~/.teclarc\fR\fR |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
46 |
.ad |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
47 |
.RS 24n |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
48 |
.rt |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
49 |
\fBtecla\fR 個人用カスタマイズファイル。 |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
50 |
.RE |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
51 |
|
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
52 |
.SH 属性 |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
53 |
.sp |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
54 |
.LP |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
55 |
属性についての詳細は、\fBattributes\fR(5) を参照してください。 |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
56 |
.sp |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
57 |
|
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
58 |
.sp |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
59 |
.TS |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
60 |
tab() box; |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
61 |
cw(2.75i) |cw(2.75i) |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
62 |
lw(2.75i) |lw(2.75i) |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
63 |
. |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
64 |
属性タイプ属性値 |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
65 |
_ |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
66 |
使用条件library/libtecla |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
67 |
_ |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
68 |
インタフェースの安定性確実 |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
69 |
.TE |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
70 |
|
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
71 |
.SH 関連項目 |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
72 |
.sp |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
73 |
.LP |
7c568e880861
7143177 move libtecla from ON to Userland (Userland portion)
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
74 |
\fBlibtecla\fR(3LIB), \fBattributes\fR(5), \fBtecla\fR(5) |