Best web hosting - 512 Part IV . Running Applications When you

512 Part IV . Running Applications When you run the groff formatting command, you can indicate on the command line which macro packages you are using. You can also indicate that the document should be run through any of the following commands that preprocess text for special formats: . eqn Formats macros that produce equations in groff. . pic Formats macros that create simple line drawings in groff. . tbl Formats macros that produce tables within groff. The formatted Groff document is output for a particular device type. The device can be a printer, a window, or (for plain text) your shell. Here are output forms supported by Groff: Form Produces ps PostScript output for PostScript printer or a PostScript previewer lj4 Output for an HP LaserJet4 printer or other PCL5-compatible printer ascii Plain-text output that can be viewed from a Terminal window dvi Output in TeX dvi, to output to a variety of devices described later X75 Output for an X11 75 dots/inch previewer X100 Output for an X11 100 dots/inch previewer latin1 Typewriter-like output using the ISO Latin-1 character set Formatting and printing documents with Groff Try formatting and printing an existing Groff document using any man pages on your system. You ll find some in /usr/share/man/*; they re compressed, so copy them to a temporary directory and unzip them to try out Groff. The following commands copy the chown man page to the /tmp directory, unzip it, and format it in plain text so you can page through it on your screen: $ cp /usr/share/man/man1/chown.1.gz /tmp $ gunzip /tmp/chown.1.gz $ groff -Tascii -man /tmp/chown.1 | less In this example, the chown man page (chown.1.gz) is copied to the /tmp directory, unzipped (using gunzip), and output in plain text (-Tascii) using the man macros (-man). The output is piped to less, to page through it on your screen. Instead of piping to less ( | less), you could direct the output to a file (> /tmp/chown.txt).
Note: If you are looking for best quality webspace to host and run your tomcat application check Vision tomcat hosting services

Leave a Reply