⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 0227-0231.html

📁 linux-unix130.linux.and.unix.ebooks130 linux and unix ebookslinuxLearning Linux - Collection of 12 E
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<HTML>



<HEAD>

<TITLE>Linux Complete Command Reference:User Commands:EarthWeb Inc.-</TITLE>

</HEAD>

<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
<SCRIPT>
<!--
function displayWindow(url, width, height) {
        var Win = window.open(url,"displayWindow",'width=' + width +
',height=' + height + ',resizable=1,scrollbars=yes');
}
//-->
</SCRIPT>
</HEAD>

 -->




<!-- ISBN=0672311046 //-->

<!-- TITLE=Linux Complete Command Reference//-->

<!-- AUTHOR=Red Hat//-->

<!-- PUBLISHER=Macmillan Computer Publishing//-->

<!-- IMPRINT=Sams//-->

<!-- CHAPTER=01 //-->

<!-- PAGES=0001-0736 //-->

<!-- UNASSIGNED1 //-->

<!-- UNASSIGNED2 //-->



<P><CENTER>

<a href="0225-0226.html">Previous</A> | <a href="../ewtoc.html">Table of Contents</A> | <a href="0232-0233.html">Next</A></CENTER></P>







<A NAME="PAGENUM-227"><P>Page 227</P></A>





<P>null and exit successfully. This can happen when an article has been canceled, or if it has been expired but its history is

still retained. This is default behavior, which can be obtained by using the

_n flag.

</P>



<P>If the _q flag is used, then no message is displayed. The program will still exit with the appropriate exit status. If the

_e flag is used, then grephistory will only print the filename of an existing article.

</P>



<P>If the _l flag is used, then the entire line from the history file will be displayed.

</P>



<P>If the _i flag is used, then grephistory will read a list of Message-IDs on standard input, one per line. Leading and

trailing whitespace is ignored, as are any malformed lines. It will print on standard output those Message-IDs that are not found

in the history database. This flag is used in processing

ihave control messages.

</P>



<P>If the _s flag is used, then grephistory will read a similar list from its standard input. It will print on standard output a list

of filenames for each article that is still available. This flag is used in processing

sendme control messages.

</P>



<P>To specify a different value for the history file and database, use the

_f flag.

</P>



<P><B>

HISTORY

</B>

</P>





<P>Written by Rich $alz (rsalz@uunet.uu.net) for InterNetNews.

</P>



<P><B>

SEE ALSO

</B>

</P>





<P>dbz(3), history(5)

</P>



<H3><A NAME="ch01_ 98">

grodvi

</A></H3>



<P>grodvi&#151;Convert groff output to TeX dvi format

</P>



<P><B>

SINOPSIS

</B>

</P>





<!-- CODE SNIP //-->

<PRE>

grodvi [ _dv ][_wn ][_Fdir ][files ... ]

</PRE>

<!-- END CODE SNIP //-->



<P><B>

DESCRIPTION

</B>

</P>





<P>grodvi is a driver for groff that produces dvi format. Normally, it should be run by

groff_Tdvi. This will run gtroff_Tdvi; it will also input the macros

/usr/lib/groff/tmac/tmac.dvi; if the input is being preprocessed with

geqn, it will also input

/usr/lib/groff/font/devdvi/eqnchar.

</P>



<P>The dvi file generated by grodvi can be printed by any correctly written

dvi driver. The troff drawing primitives are implemented using the

tpic version 2 specials. If the driver does not support these, the

\D commands will not produce any output.

</P>



<P>There is an additional drawing command available:

</P>

<TABLE>



<TR><TD>

\D'Rdhdv'

</TD><TD>

Draw a rule (solid black rectangle), with one corner at the current position, and the

diagonally opposite corner at the current position

+(dh,dv). Afterwards, the current position will be at

the opposite corner. This produces a rule in the

dvi file and so can be printed even with a driver that

does not support the tpic specials, unlike the other

\D commands.

</TD></TR></TABLE>



<P>The groff command \X'anything' is translated into the same command in the

dvi file as would be produced by \special{ anything

} in TeX; anything may not contain a newline.

</P>



<P>Font files for grodvi can be created from tfm files using

tfmtodit(1). The font description file should contain the

following additional commands:

</P>



<TABLE>



<TR><TD>

internalname name

</TD><TD>

The name of the tfm file (without the

.tfm extension) is name.

</TD></TR><TR><TD>

checksum n

</TD><TD>

The checksum in the tfm file is

n.

</TD></TR><TR><TD>

designsize n

</TD><TD>

The designsize in the tfm file is

n.

</TD></TR></TABLE>



<P>These are automatically generated by tfmtodit.

</P>



<A NAME="PAGENUM-228"><P>Page 228</P></A>





<P>In troff, the \N escape sequence can be used to access characters by their position in the corresponding

tfm file; all characters in the tfm file can be accessed this way.

</P>



<P><B>

OPTIONS

</B>

</P>





<TABLE>



<TR><TD>

_d

</TD><TD>

Do not use tpic specials to implement drawing commands. Horizontal and vertical lines will be implemented

by rules. Other drawing commands will be ignored.

</TD></TR><TR><TD>

_v

</TD><TD>

Print the version number.

</TD></TR><TR><TD>

_wn

</TD><TD>

Set the default line thickness to n thousandths of an em.

</TD></TR><TR><TD>

_Fdir

</TD><TD>

Search directory dir/devdvi for font and device description files.

</TD></TR></TABLE>



<P><B>

FILES

</B>

</P>





<TABLE>



<TR><TD>

/usr/lib/groff/font/devdvi/DESC

</TD><TD>

Device description file

</TD></TR><TR><TD>

/usr/lib/groff/font/devdvi/ F

</TD><TD>

Font description file for font F

</TD></TR><TR><TD>

/usr/lib/groff/tmac/tmac.dvi

</TD><TD>

Macros for use with grodvi

</TD></TR></TABLE>



<P><B>

BUGS

</B>

</P>





<P>dvi files produced by grodvi use a different resolution (57,816 units per inch) than those produced by TeX.

Incorrectly written drivers that assume the resolution used by TeX, rather than using the resolution specified in the

dvi file, will not work with grodvi.

</P>



<P>When using the _d option with boxed tables, vertical and horizontal lines can sometimes protrude by one pixel. This is

a consequence of the way TeX requires that the heights and widths of rules be rounded.

</P>



<P><B>

SEE ALSO

</B>

</P>





<P>tfmtodit(1), groff(1), gtroff(1), geqn(1),

groff_out(5), groff_font(5), groff_char(7)

</P>



<P>Groff Version 1.09 14

</P>



<H3><A NAME="ch01_ 99">

groff

</A></H3>



<P>groff&#151;Front end for the groff document formatting system

</P>



<P><B>

SINOPSIS

</B>

</P>





<!-- CODE SNIP //-->

<PRE>

groff [ _tpeszaivhblCENRVXZ][_wname ][_Wname ][_mname ][_Fdir ][_Tdev ] [ _ffam ][_Mdir ][_dcs ][_rcn ][_nnum ]

[_olist ][_Parg ][files ... ]

</PRE>

<!-- END CODE SNIP //-->



<P><B>

DESCRIPTION

</B>

</P>







<P>groff is a front-end to the groff document formatting system. Normally, it runs the

gtroff program and a postprocessor appropriate for the selected device. Available devices are

</P>



<TABLE>



<TR><TD>

ps

</TD><TD>

For PostScript printers and previewers

</TD></TR><TR><TD>

dvi

</TD><TD>

For TeX dvi format

</TD></TR><TR><TD>

X75

</TD><TD>

For a 75 dpi X11 previewer

</TD></TR><TR><TD>

X100

</TD><TD>

For a 100dpi X11 previewer

</TD></TR><TR><TD>

ascii

</TD><TD>

For typewriter-like devices

</TD></TR><TR><TD>

latin1

</TD><TD>

For typewriter-like devices using the ISO Latin-1 character set.

</TD></TR></TABLE>



<P>The postprocessor to be used for a device is specified by the

postpro command in the device description file. This can

be overridden with the _X option.

</P>



<P>The default device is ps. It can optionally preprocess with any of

gpic, geqn, gtbl, grefer, or gsoelim.

</P>



<A NAME="PAGENUM-229"><P>Page 229</P></A>





<P>Options without an argument can be grouped behind a

single _. A filename of _ denotes the standard input.

</P>



<P>The grog command can be used to guess the correct

groff command to use to format a file.

</P>



<P><B>

OPTIONS

</B>

</P>



<TABLE>

<TD><TR>

_h

</TD><TD>

Print a help message.

</TD></TR><TR><TD>

_e

</TD><TD>

Preprocess with geqn.

</TD></TR><TR><TD>

_t

</TD><TD>

Preprocess with gtbl.

</TD></TR><TR><TD>

_p

</TD><TD>

Preprocess with gpic.

</TD></TR><TR><TD>

_s

</TD><TD>

Preprocess with gsoelim.

</TD></TR><TR><TD>

_R

</TD><TD>

Preprocess with grefer. No mechanism is provided for passing arguments to

grefer because most grefer options have equivalent commands that can be included in the file. See

grefer(1) for more details.

</TD></TR><TR><TD>

_v

</TD><TD>

Make programs run by groff print out their version number.

</TD></TR><TR><TD>

_V

</TD><TD>

Print the pipeline on stdout instead of executing it.

</TD></TR><TR><TD>

_z

</TD><TD>

Suppress output from gtroff. Only error messages will be printed.

</TD></TR><TR><TD>

_Z

</TD><TD>

Do not postprocess the output of gtroff. Normally,

groff will automatically run the appropriate postprocessor.

</TD></TR><TR><TD>

_Parg

</TD><TD>

Pass arg to the postprocessor. Each argument should be passed with a separate

_P option. Note that groff does not prepend _ to

arg before passing it to the postprocessor.

</TD></TR><TR><TD>

_l

</TD><TD>

Send the output to a printer. The command used for this is specified by the

print command in the device description file.

</TD></TR><TR><TD>

_Larg

</TD><TD>

Pass arg to the spooler. Each argument should be passed with a separate

_L option. Note that groff does not prepend _ to

arg before passing it to the postprocessor.

</TD></TR><TR><TD>

_Tdev

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -