usage: grotty [-hfvbciuodBU] [-F dir] [files ...]
usage: grotty [-hfvbciuodBU] [-F dir] [files ...]
GROTTY(1) GROTTY(1) 名称 grotty - タイプライタ型デバイスのための groff ドライバ 書式 grotty [ -hfbuodBUv ] [ -Fdir ] [ files... ] -F オプションとパラメータの間に空白を含めることが可能です。 解説 grotty は、GNU troff の出力をタイプライタ型デバイスのために変換します。 通常 grotty は、ASCII ベースのシス テ ム 上 で は groff に -Tascii, -Tkoi8-r, -Tlatin1, -Tutf8 のいずれかのオプションを指定することにより 、EBCDIC ベースのシステム上では -Tcp1047 オプションを指定することにより そ れぞれ起動されます。ファイル名を指定しない場合は標準入力を読み込みま す。ファイル名として - を指定した場合も標準入力を読み込みます。出力は標 準出力に書き出されます。 通 常 grotty は、ボールド文字 c を ‘c BACKSPACE c’ というシーケンスで、 イタリック文字 c を ‘_ BACKSPACE c’ というシーケンスで出力します。こ れ らのシーケンスは、 ul(1) を通すことにより、端末で表示することができるよ うになります。 more(1) や less(1) のようなページャも、これらのシーケ ン ス を 表示することができます。 less(1) を使って表示する場合は -B または -U オプションを、 more(1) を使って表示する場合は -b オプションを使用 し て ください。 grotty は逆改行を出力しないので、 col(1) を通す必要はあり ません。 フォント記述ファイルには、以下のコマンドを含めることができます。 internalname n ここで、 n は 10 進数の整数です。もし n の 01 ビットがセットされてい る な ら、そのフォントはイタリックフォントとして扱われます。 02 ビットがセ ットされているなら、ボールドフォントとして扱われます。フォント記述の コ ー ド フ ィールドは、出力時に用いられる文字を指定します。このコードは、 troff の \N エスケープシーケンスでも使用されます。 オプション -Fdir フォントとデバイス記述ファイルの検索パスの前に、ディ レ ク ト リ dir/devname を 追加します。 name はデバイス名で、通常は ascii, koi8-r, latin1, utf8, cp1047 のいずれかです。 -h 出力に水平タブを使用します。水平タブは 8 桁ごとに設定されてい る ものとします。 -f フォームフィードを使用します。最終行に出力するものがないページの 最後にフォームフィードが出力されます。 -b ボールド文字を出力するのに二重打ちを使わないようにします。 -u イタリック文字を出力するのにアンダーラインを使用しないようにしま す。 -B ボールドイタリック文字をただの二重打ちで出力します。 -U ボールドイタリック文字をただのアンダーラインで出力します。 -o ボールドとアンダーライン以外に二重打ちを用いないようにします。 -d すべての \D コマンドを無視します。このオプションを指定しないと、 grotty は \D’l...’ コマンドのうち引数のどちらかが 0 (すなわち水 平 あるいは垂直線の描画) であるものを、文字 -, |, + を用いて描画 します。 -v バージョン番号を表示します。 関連ファイル /usr/share/groff_font/devascii/DESC ascii デバイス記述ファイル /usr/share/groff_font/devascii/F ascii デバイスにおけるフォント F 用のフォント記述ファイル /usr/share/groff_font/devkoi8-r/DESC koi8-r デバイス記述ファイル /usr/share/groff_font/devkoi8-r/F koi8-r デバイスにおけるフォント F 用のフォント記述ファイル /usr/share/groff_font/devlatin1/DESC latin1 デバイス記述ファイル /usr/share/groff_font/devlatin1/F latin1 デバイスにおけるフォント F 用のフォント記述ファイル /usr/share/groff_font/devutf8/DESC utf8 デバイス記述ファイル /usr/share/groff_font/devutf8/F utf8 デバイスにおけるフォント F 用のフォント記述ファイル /usr/share/groff_font/devcp1047/DESC cp1047 デバイス記述ファイル /usr/share/groff_font/devcp1047/F cp1047 デバイスにおけるフォント F 用のフォント記述ファイル /usr/share/tmac/tty.tmac grotty で用いるマクロ /usr/share/tmac/tty-char.tmac そのままでは grotty に表示できない文字の表示方法の定義 EBCDIC ホストでは、 cp1047 デバイス用のファイルのみがインストールされる ことに注意してください。 バグ grotty は、単純なドキュメントの作成を意図して作られています。 水平や鉛直方向への小さな移動 (半改行など、1文字、1行より小さな位置決め) をサポートしていません。 水平線、鉛直線以外の \D コマンドはサポートされていません。 1 行目よりも上に位置する文字(すなわち垂直方向の座標が 0 である文字)は出 力されません。 関連項目 groff(1), troff(1), groff_out(5), groff_font(5), groff_char(7), ul(1), more(1), less(1) Groff Version 1.17.2 6 August 2001 GROTTY(1)
GROTTY(1) GROTTY(1) NAME grotty - groff driver for typewriter-like devices SYNOPSIS grotty [ -bBcdfhiouUv ] [ -Fdir ] [ files... ] It is possible to have whitespace between the -F option and its parame- ter. DESCRIPTION grotty translates the output of GNU troff into a form suitable for typewriter-like devices. Normally grotty should be invoked by using the groff command with a -Tascii, -Tascii8, -Tlatin1, -Tnippon or -Tutf8 option on ASCII based systems, and with -Tcp1047 and -Tutf8 on EBCDIC based hosts. If no files are given, grotty will read the stan- dard input. A filename of - will also cause grotty to read the stan- dard input. Output is written to the standard output. By default, grotty emits SGR escape sequences (from ISO 6429, also called ANSI color escapes) to change text attributes (bold, italic, colors). This makes it possible to have eight different background and foreground colors; additionally, bold and italic attributes can be used at the same time (by using the BI font). The following colors are defined in tty.tmac: black, white, red, green, blue, yellow, magenta, cyan. Unknown colors are mapped to the default color (which is dependent on the settings of the terminal; in most cases, this is black for the foreground and white for the background). Use the -c switch to revert to the old behaviour, printing a bold char- acter c with the sequence ‘c BACKSPACE c’ and an italic character c by the sequence ‘_ BACKSPACE c’. At the same time, color output is dis- abled. The same effect can be achieved by setting either the GROFF_NO_SGR environment variable or using the ‘sgr’ X command (see below). For SGR support, it is necessary to use the -R option of less(1) to disable the interpretation of grotty’s old output format. Conse- quently, all programs which use less as the pager program have to pass this option to it. For man(1) in particular, either add -R to the $PAGER environment variable, e.g. PAGER="/usr/bin/less -R" export PAGER or use the -P option of man to set the pager executable and its options, or modify the configuration file of man in a similar fashion. grotty’s old output format can be displayed on a terminal by piping through ul(1). Pagers such as more(1) or less(1) are also able to dis- play these sequences. Use either -B or -U when piping into less(1); use -b when piping into more(1). There is no need to filter the output through col(1) since grotty never outputs reverse line feeds. The font description file may contain a command internalname n where n is a decimal integer. If the 01 bit in n is set, then the font will be treated as an italic font; if the 02 bit is set, then it will be treated as a bold font. The code field in the font description field gives the code which will be used to output the character. This code can also be used in the \N escape sequence in troff. OPTIONS -b Suppress the use of overstriking for bold characters. Ignored if -c isn’t used. -B Use only overstriking for bold-italic characters. Ignored if -c isn’t used. -c Use grotty’s old output format (see above). This also disables color output. -d Ignore all \D commands. Without this grotty will render \D’l...’ commands that have at least one zero argument (and so are either horizontal or vertical) using -, |, and + characters. -f Use form feeds in the output. A form feed will be output at the end of each page that has no output on its last line. -Fdir Prepend directory dir/devname to the search path for font and device description files; name is the name of the device, usu- ally ascii, ascii8, latin1, utf8, nippon or cp1047. -h Use horizontal tabs in the output. Tabs are assumed to be set every 8 columns. -i Use escape sequences to set the italic text attribute instead of the underline attribute for italic fonts (‘I’ and ‘BI’). Note that most terminals (including xterm) don’t support this. Ignored if -c is active. -o Suppress overstriking (other than for bold or underlined charac- ters in case the old output format has been activated with -c). -u Suppress the use of underlining for italic characters. Ignored if -c isn’t used. -U Use only underlining for bold-italic characters. Ignored if -c isn’t used. -v Print the version number. USAGE grotty understands a single X command produced using the \X escape sequence. \X’tty: sgr n’ If n is non-zero or missing, enable SGR output (this is the default), otherwise use the old drawing scheme for bold and underline. ENVIRONMENT GROFF_NO_SGR If set, the old drawing scheme for bold and underline (using the backspace character) is active. Colors are disabled. FILES /usr/share/groff/1.18.1.4/font/devascii/DESC Device description file for ascii device. /usr/share/groff/1.18.1.4/font/devascii/F Font description file for font F of ascii device. /usr/share/groff/1.18.1.4/font/devascii8/DESC Device description file for ascii8 device. /usr/share/groff/1.18.1.4/font/devlatin1/DESC Device description file for latin1 device. /usr/share/groff/1.18.1.4/font/devnippon/DESC Device description file for nippon device. /usr/share/groff/1.18.1.4/font/devlatin1/F Font description file for font F of latin1 device. /usr/share/groff/1.18.1.4/font/devutf8/DESC Device description file for utf8 device. /usr/share/groff/1.18.1.4/font/devutf8/F Font description file for font F of utf8 device. /usr/share/groff/1.18.1.4/font/devcp1047/DESC Device description file for cp1047 device. /usr/share/groff/1.18.1.4/font/devcp1047/F Font description file for font F of cp1047 device. /usr/share/groff/1.18.1.4/tmac/tty.tmac Macros for use with grotty. /usr/share/groff/1.18.1.4/tmac/tty-char.tmac Additional klugdey character definitions for use with grotty. Note that on EBCDIC hosts, only files for the cp1047 device will be installed. BUGS grotty is intended only for simple documents. There is no support for fractional horizontal or vertical motions. There is no support for \D commands other than horizontal and vertical lines. Characters above the first line (ie with a vertical position of 0) can- not be printed. Color handling is different compared to grops(1). \M doesn’t set the fill color for closed graphic objects (which grotty doesn’t support anyway) but changes the background color of the character cell, affect- ing all subsequent operations. SEE ALSO groff(1), troff(1), groff_out(5), groff_font(5), groff_char(7), ul(1), more(1), man(1), less(1) Groff Version 1.18.1.4 11 November 2010 GROTTY(1)
コロナウイルスの日ごとの感染者数・死者数をグラフ化してみました。どの国が増加傾向にあり、どの国が終息に向かっているかを視覚化しています。
Copyright(C) linux-cmd.com All Rights Reserved. Author Takayuki Yukawa