Home | 简体中文 | 繁体中文 | 杂文 | 知乎专栏 | 51CTO学院 | CSDN程序员研修院 | Github | OSChina 博客 | 腾讯云社区 | 阿里云栖社区 | Facebook | Linkedin | Youtube | 打赏(Donations) | About
知乎专栏多维度架构

7.8. 计算机专业标签

7.8.1. 软件名称

		
<para>
<application>Word Perfect</application> is one of several word
processors to claim support for <acronym>SGML</acronym>.
</para>		
		
		

Word Perfect is one of several word processors to claim support for SGML .

7.8.2. 硬件名称

		
<para>
The <acronym>IRQ</acronym> of the <hardware>SCSI Controller</hardware>
can be set to 7, 11, or 15.  The factory default setting is 7.
</para>		
		
		

The IRQ of the SCSI Controller can be set to 7, 11, or 15. The factory default setting is 7.

7.8.3. 数据库

		
<para>
The <database>ProjectStatus</database> database has been updated.
Please note that <database class='field'>Year</database> has been
extended to four digits.
</para>		
		
		

The ProjectStatus database has been updated. Please note that Year has been extended to four digits.

7.8.4. 程序标签

7.8.4.1. 函数

			
<funcprototype>
  <funcdef>void <function>sort</function></funcdef>
    <paramdef>int *<parameter>arr</parameter>[]</paramdef>
    <paramdef>int <parameter>(* comp)</parameter>
      <funcparams>int *, int *</funcparams></paramdef>
</funcprototype>			
			
			
void sort (arr,  
 (* comp)); 
int * arr [] ;
int (* comp) (int *, int *) ;
 

7.8.4.2. 类名

		
<para>
	All user-interface components must be descendants of the
	<classname>Widget</classname>
	class.
</para>		
		
			

All user-interface components must be descendants of the Widget class.

7.8.4.3. 变量名

		
<para>
	In Perl,
	<varname>@ARGV</varname>
	contains the command line parameters
	used when the script was run.
</para>		
		
			

In Perl, @ARGV contains the command line parameters used when the script was run.

7.8.4.4. synopsis

			
<synopsis>
chgrp [-R [-H | -L | -P]] [-f] group file...
</synopsis>			
			
			
				chgrp [-R [-H | -L | -P]] [-f] group file...
			

7.8.4.5. 

			
<para>
In ACL, <constant>main::PCS</constant> contains the path component
separator character.
</para>
<para>
The maximum legal length for a path name is 
<constant class='limit'>PATH_MAX</constant>, defined in
<filename class='headerfile'>limits.h</filename>.
</para>
			
			

In ACL, main::PCS contains the path component separator character.

The maximum legal length for a path name is PATH_MAX , defined in limits.h .

7.8.5. 命令

		
<para>
In <acronym>UNIX</acronym>,
<command>ls</command> is used to get a directory listing.
</para>		
		
		

In UNIX , ls is used to get a directory listing.

7.8.5.1. 参数

				
<para>
Using the <parameter class='command'>/w</parameter> parameter on the
DOS <command>dir</command> command prints a wide directory listing.
</para>				
				
			

Using the /w parameter on the DOS dir command prints a wide directory listing.

7.8.5.2. 环境变量

			
<para>
In order to translate public identifiers into local system identifiers,
<application>Jade</application> and <application>SP</application> read the catalog files
pointed to by <envar>SGML_CATALOG_FILES</envar>.
</para>			
			
			

In order to translate public identifiers into local system identifiers, Jade and SP read the catalog files pointed to by SGML_CATALOG_FILES .

7.8.5.3. 输入提示

			
<para>
Enter your user name when the system presents the 
<prompt>login:</prompt> prompt.
</para>			
			
			

Enter your user name when the system presents the login: prompt.

7.8.5.4. 用户输入

			
<para>
At the system prompt, enter <userinput>xyzzy</userinput> to gain
supervisor access to the system.
</para>			
			
			

At the system prompt, enter xyzzy to gain supervisor access to the system.

7.8.5.5. 主机名

			
<para>
For many years, O'Reilly's primary web server, 
<ulink url="http://www.oreilly.com/">http://www.oreilly.com/</ulink>,
was hosted by <application>WN</application> on
<systemitem class="systemname">helio.oreilly.com</systemitem>.
</para>			
			
			

For many years, O'Reilly's primary web server, http://www.oreilly.com/ , was hosted by WN on helio.oreilly.com .

7.8.5.6. 文件名

			
<para>
The symbolic constants for error numbers are defined in
<filename class='headerfile'>errno.h</filename> in
<filename class='directory'>/usr/include/sys</filename>.
</para>			
			
			

The symbolic constants for error numbers are defined in errno.h in /usr/include/sys .

7.8.5.7. cmdsynopsis

			
<cmdsynopsis>
  <command>cd</command>
  <arg choice='req'><replaceable>directory</replaceable></arg>
</cmdsynopsis>

<cmdsynopsis>
  <command>cal</command>
  <arg>-j</arg>
  <arg>-y</arg>
  <arg>month <arg>year</arg></arg>
</cmdsynopsis>

<cmdsynopsis>
  <command>chgrp</command>
  <arg>-R
    <group>
      <arg>-H</arg>
      <arg>-L</arg>
      <arg>-P</arg>
    </group>
  </arg>
  <arg>-f</arg>
  <arg choice='plain'><replaceable>group</replaceable></arg>
  <arg rep='repeat' choice='plain'><replaceable>file</replaceable></arg>
</cmdsynopsis>

<cmdsynopsis>
  <command>emacs</command>
  <arg>-t <replaceable>file</replaceable></arg>
  <arg>-q</arg>
  <arg>-u <replaceable>user</replaceable></arg>
  <arg>+<replaceable>number</replaceable></arg>
  <arg rep='repeat'>-f <replaceable>function</replaceable></arg>
  <sbr/>
  <arg rep='repeat'>-l <replaceable>file</replaceable></arg>
  <arg rep='repeat' choice='plain'><replaceable>file</replaceable></arg>
</cmdsynopsis>
			
			

cd { directory }

cal [-j] [-y] [ month [year] ]

chgrp [ -R [ [-H] | [-L] | [-P] ] ] [-f] group file ...

emacs [ -t file ] [-q] [ -u user ] [ + number ] [ -f function ...]
[ -l file ...] file ...

7.8.5.8. 命令参数可选项

			
<para>
The <option>-a</option> option on the <acronym>UNIX</acronym>
<command>ls</command> command or the <option>/r</option> option on the
<acronym>DOS</acronym> <command>attrib</command>
command, for example.
</para>			

<synopsis>
ls <optional><option>-abcCdfFgilLmnopqrRstux1</option></optional>
   <optional>names</optional>
</synopsis>
			
			

The -a option on the UNIX ls command or the /r option on the DOS attrib command, for example.

				ls
				[
					-abcCdfFgilLmnopqrRstux1
				]
				[names]
			

7.8.5.9. 终端输出

			
<para>
The output from the date command,
<computeroutput>Sun  Nov 16, 1997  21:03:29</computeroutput>,
uses fixed-width fields so that it can easily be parsed.
</para>			
			
			

The output from the date command, Sun Nov 16, 1997 21:03:29 , uses fixed-width fields so that it can easily be parsed.