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

📄 0245-0246.html

📁 linux-unix130.linux.and.unix.ebooks130 linux and unix ebookslinuxLearning Linux - Collection of 12 E
💻 HTML
字号:
<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="0243-0244.html">Previous</A> | <a href="../ewtoc.html">Table of Contents</A> | <a href="0247-0248.html">Next</A></CENTER></P>















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





<TABLE>



<TR><TD>

\n[.fam]

</TD><TD>

The current font family. This is a string-valued register.

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

\n[.fp]

</TD><TD>

The number of the next free font position.

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

\n[.g]

</TD><TD>

Always 1. Macros should use this to determine whether they are running under GNU

troff.

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

\n[.hla]

</TD><TD>

The current hyphenation language as set by the

hla request.

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

\n[.hlc]

</TD><TD>

The number of immediately preceding consecutive hyphenated lines.

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

\n[.hlm]

</TD><TD>

The maximum allowed number of consecutive hyphenated lines, as set by the

hlm request.

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

\n[.hy]

</TD><TD>

The current hyphenation flags (as set by the

hy request.)

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

\n[.hym]

</TD><TD>

The current hyphenation margin (as set by the

hym request.)

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

\n[.hys]

</TD><TD>

The current hyphenation space (as set by the

hys request.)

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

\n[.in]

</TD><TD>

The indent that applies to the current output line.

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

\n[.kern]

</TD><TD>

1 if pairwise kerning is enabled,

0 otherwise.

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

\n[.lg]

</TD><TD>

The current ligature mode (as set by the

lg request.)

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

\n[.ll]

</TD><TD>

The line length that applies to the current output line.

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

\n[.lt]

</TD><TD>

The title length as set by the lt request.

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

\n[.ne]

</TD><TD>

The amount of space that was needed in the last

ne request that caused a trap to be sprung. Useful

in conjunction with the \n[.trunc] register.

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

\n[.pn]

</TD><TD>

The number of the next page: either the value set by a

pn request, or the number of the current page <BR>

plus 1.

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

\n[.ps]

</TD><TD>

The current pointsize in scaled points.

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

\n[.psr]

</TD><TD>

The last requested pointsize in scaled points.

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

\n[.rj]

</TD><TD>

The number of lines to be right-justified as set by the

rj request.

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

\n[.sr]

</TD><TD>

The last requested pointsize in points as a decimal fraction. This is a string-valued register.

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

\n[.tabs]

</TD><TD>

A string representation of the current tab settings suitable for use as an argument to the

ta request.

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

\n[.trunc]

</TD><TD>

The amount of vertical space truncated by the most recently sprung vertical position trap, or, if the

trap was sprung by an ne request, minus the amount of vertical motion produced by the

ne request. In other words, at the point a trap is sprung, it represents the difference of what the vertical position would

have been but for the trap, and what the vertical position actually is. Useful in conjunction with the

\n[.ne] register.

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

\n[.ss]

</TD><TD>

These give the values of the parameters set by the first and second arguments of the

ss request.

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

\n[.sss]

</TD><TD>

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

\n[.vpt]

</TD><TD>

1 if vertical position traps are enabled,

0 otherwise.

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

\n[.warn]

</TD><TD>

The sum of the numbers associated with each of the currently enabled WARNINGS. The number

associated with each warning is listed in the &quot;WARNINGS&quot; subsection.

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

\n(.x

</TD><TD>

The major version number. For example, if the version number is 1.03 then

\n(.x will contain 1.

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

\n(.y

</TD><TD>

The minor version number. For example, if the version number is 1.03 then

\n(.y will contain 03.

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



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





<P>The following registers are set by the \w escape sequence:

</P>



<TABLE>



<TR><TD>

\n[rst]

</TD><TD>

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

\n[rsb]

</TD><TD>

Like the st and sb registers, but takes account of the heights and depths of characters.

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

\n[ssc]

</TD><TD>

The amount of horizontal space (possibly negative) that should be added to the last character before

a subscript.

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

\n[skw]

</TD><TD>

How far to right of the center of the last character in the

\w argument, the center of an accent from a roman font should be placed over that character.

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





<P>The following read/write number registers are available:

</P>



<TABLE>



<TR><TD>

\n[systat]

</TD><TD>

The return value of the system() function executed by the last

sy request.

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

\n[slimit]

</TD><TD>

If greater than 0, the maximum number of objects on the input stack. If less than or equal to 0, there is

no limit on the number of objects on the input stack. With no limit, recursion can continue until

virtual memory is exhausted.

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





<P><B>

MISCELLANEOUS

</B></P>



<P>Fonts not listed in the DESC file are automatically mounted on the next available font position when they are referenced.<BR>

If a font is to be mounted explicitly with the fp request on an unused font position, it should be mounted on the first

unused font position, which can be found in the

\n[.fp] register; although troff does not enforce this strictly, it will not allow a

font to be mounted at a position whose number is much greater than that of any currently used position.

</P>



<P>Interpolating a string does not hide existing macro arguments. Thus in a macro, a more efficient way of doing

</P>



<!-- CODE SNIP //-->

<PRE>

.xx\\$@

</PRE>

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



<P>is

</P>



<!-- CODE SNIP //-->

<PRE>

\\*[xx]\\

</PRE>

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



<P>If the font DESCRIPTION file contains pairwise kerning information, characters from that font will be kerned. Kerning

between two characters can be inhibited by placing a

\&amp; between them.

</P>



<P>In a string comparison in a condition, characters that appear at different input levels to the first delimiter character will

not be recognized as the second or third delimiters. This applies also to the

tl request. In a \w escape sequence, a character

that appears at a different input level to the starting delimiter character will not be recognized as the closing delimiter

character. When decoding a macro argument that is delimited by double quotes, a character that appears at a different input level

to the starting delimiter character will not be recognized as the closing delimiter character. The implementation of

\$@ ensures that the double quotes surrounding an argument will appear the same input level, which will be different to the input level<BR>

of the argument itself. In a long escape name ] will not be recognized as a closing delimiter except when it occurs at the

same input level as the opening ]. In compatibility mode, no attention is paid to the input level.

</P>



<P>There are some new types of condition:

</P>



<TABLE>



<TR><TD>

.ifrxxx

</TD><TD>

True if there is a number register named

xxx.

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

.ifdxxx

</TD><TD>

True if there is a string, macro, diversion, or request named

xxx.

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

.ifcch

</TD><TD>

True if there is a character ch available;

ch is either an ASCII character or a special character

\(xx or \[xxx]; the condition will also be true if

ch has been defined by the char request.

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



<P><B>

WARNINGS

</B></P>



<P>The WARNINGS that can be given by troff are divided into the following categories. The name associated with each warning

is used by the _w and _W OPTIONS; the number is used by the

warn request, and by the .warn register.

</P>



<TABLE>



<TR><TD>

char1

</TD><TD>

Nonexistent characters. This is enabled by default.

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

number2

</TD><TD>

Invalid numeric expressions. This is enabled by default.

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

break4

</TD><TD>

In fill mode, lines which could not be broken so that their length was less than the line length. This

is enabled by default.

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

delim8

</TD><TD>

Missing or mismatched closing delimiters.

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







<P><CENTER>

<a href="0243-0244.html">Previous</A> | <a href="../ewtoc.html">Table of Contents</A> | <a href="0247-0248.html">Next</A></CENTER></P>







</td>
</tr>
</table>

<!-- begin footer information -->







</body></html>

⌨️ 快捷键说明

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