We use the following font and format conventions:
- Italic
Used for new terms where first defined, Registry values, domain names, filenames, and command lines when they appear in the body of a paragraph exactly as a user would type them (for example: run dir to list the files in a directory). Italic is also used for Windows commands when they are mentioned in passing and not as part of a command line (for example: to find more information on nslookup, a user could consult the Windows help system).
- Bold
Used for menu names and for text appearing in windows and dialog boxes, such as names of fields, buttons, and menu options. For example: enter a domain name in the Server name field and then click the OK button.
-
Constant
width
Used for excerpts from scripts or configuration files. For example, a snippet of Perl:
if ( -x /winnt/system32/dns.exe ) { system( /winnt/system32/dns.exe ); }
Sample interactive sessions showing command-line input and corresponding output are also shown in a
constant
width
font, with user-supplied input inconstant
width
bold
:C\>
more <\winnt\system32\drivers\etc\hosts
# Copyright (c) 1993-1999 Microsoft Corp. # # This is a sample HOSTS file used by Microsoft TCP/IP for Windows. #
Get DNS on Windows 2000, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.