-->

Previous | Table of Contents | Next

Page 146

_ll Lists font properties in addition to _l output.
_lll Supported for compatibility with xlsfonts, but output is the same as for _ll.
_m This option indicates that long listings should also print the minimum and maximum bounds of each font.
_C This option indicates that listings should use multiple columns. This is the same as _n 0.
_1 This option indicates that listings should use a single column. This is the same as _n 1.
_w width This option specifies the width in characters that should be used in figuring out how many columns to print. The default is 79.
_n columns This option specifies the number of columns to use in displaying the output. The default is 0, which will attempt to fit as many columns of font names into the number of character specified by _w width.
_u This option indicates that the output should be left unsorted.

SEE ALSO

xfs(1), showfont(1), xlsfonts(1)

ENVIRONMENT

FONTSERVER To get the default host and port to use

BUGS

Doing fslsfonts _l can tie up your server for a very long time. This is really a bug with single-threaded nonpreemptable servers, not with this program.

AUTHOR

Dave Lemke (Network Computing Devices, Inc.)

X Version 11 Release 6 1

fstobdf

fstobdf—Generate BDF font from X font server

SYNOPSIS


fstobdf [ _server server ] _fn fontname

DESCRIPTION

The fstobdf program reads a font from a font server and prints a BDF file on the standard output that may be used to recreate the font. This is useful in testing servers, debugging font metrics, and reproducing lost BDF files.

OPTIONS

_server servername This option specifies the server from which the font should be read.
_fn fontname This option specifies the font for which a BDF file should be generated.

ENVIRONMENT

FONTSERVER Default server to use

SEE ALSO

xfs(1), bdftopcf(1), fslsfonts(1)

Page 147

AUTHOR

Olaf Brandt (Network Computing Devices), Dave Lemke (Network Computing Devices), Jim Fulton (MIT X Consortium) X Version 11 Release 6

fstopgm

fstopgm—Convert a Usenix FaceSaver file into a portable graymap

SYNOPSIS


fstopgm [fsfile]

DESCRIPTION

Reads a Usenix FaceSaver file as input. Produces a portable graymap as output.

FaceSaver files sometimes have rectangular pixels. Although fstopgm won't rescale them into square pixels for you, it will give you the precise pnmscale command that will do the job. Because of this, reading a FaceSaver image is a two-step process. First you do


fstopgm > /dev/null

This will tell you whether you need to use pnmscale. Then use one of the following pipelines:


fstopgm | pgmnorm

fstopgm | pnmscale -whatever | pgmnorm

To go to PBM, you want something more like one of these:


fstopgm | pnmenlarge 3 | pgmnorm | pgmtopbm

fstopgm | pnmenlarge 3 | pnmscale <whatever> | pgmnorm | pgmtopbm

You want to enlarge when going to a bitmap because otherwise you lose information; but enlarging by more than 3 does not look good.

FaceSaver is a registered trademark of Metron Computerware Ltd. of Oakland, CA.

SEE ALSO

pgmtofs(1), pgm(5), pgmnorm(1), pnmenlarge(1), pnmscale(1), pgmtopbm(1)

AUTHOR Copyright " 1989 by Jef Poskanzer

6 April 1989

ftp

ftp—ARPAnet file transfer program

SYNOPSIS


ftp [-v] [-d] [-i] [-n] [-g] [host]

DESCRIPTION

ftp is the user interface to the ARPAnet standard File Transfer Protocol. The program allows a user to transfer files to and from a remote network site.

Options may be specified at the command line, or to the command interpreter.

Page 148

-v Verbose option forces ftp to show all responses from the remote server, as well as report on data transfer statistics.
-n Restrains ftp from attempting auto-login upon initial connection. If auto-login is enabled, ftp will check the (see below) file in the user's home directory for an entry describing an account on the remote machine. If no entry exists, ftp will prompt for the remote machine login name (default is the user identity on the local machine), and, if necessary, prompt for a password and an account with which to login.
-i Turns off interactive prompting during multiple file transfers.
-d Enables debugging.
-g Disables filename globbing.

The client host with which ftp is to communicate may be specified on the command line. If this is done, ftp will immediately attempt to establish a connection to an FTP server on that host; otherwise, ftp will enter its command interpreter and await instructions from the user. When ftp is awaiting commands from the user, the prompt


ftp>

is provided to the user. The following commands are recognized by ftp :

! [command] [args] Invoke an interactive shell on the local machine. If there are arguments, the first is taken to be a command to execute directly, with the rest of the arguments as its arguments.
$ macro-name [args] Execute the macro macro-name that was defined with the macdef command. Arguments are passed to the macro unglobbed.
account [passwd] Supply a supplemental password required by a remote system for access to resources once a login has been successfully completed. If no argument is included, the user will be prompted for an account password in a nonechoing input mode.
append local-file [remote-file] Append a local file to a file on the remote machine. If remote-file is left unspecified, the local filename is used in naming the remote file after being altered by any ntrans or nmap setting. File transfer uses the current settings for type, format, mode, and structure.
ascii Set the file transfer type to network ASCII. This is the default type.
bell Arrange that a bell be sounded after each file transfer command is completed.
binary Set the file transfer type to support binary image transfer.
bye Terminate the FTP session with the remote server and exit ftp. An end of file will also terminate the session and exit.
case Toggle remote computer filename case mapping during mget commands. When case is on (default is off), remote computer filenames with all letters in upper case are written in the local directory with the letters mapped to lowercase.
cd remote-directory Change the working directory on the remote machine to remote-directory.
cdup Change the remote machine working directory to the parent of the current remote machine working directory.
chmod mode file-name Change the permission modes of the file file-name on the remote system to mode.
close Terminate the FTP session with the remote server, and return to the command interpreter. Any defined macros are erased.
cr Toggle carriage return stripping during ASCII type file retrieval. Records are denoted by a carriage return/linefeed sequence during ASCII type file transfer. When cr is on (the default), carriage returns are stripped from this sequence to conform with the UNIX single linefeed record delimiter. Records on non-UNIX remote systems may contain single linefeeds; when an ASCII type transfer is made, these linefeeds may be distinguished from a record delimiter only when cr is off.
delete remote-file Delete the file remote-file on the remote machine.

Previous | Table of Contents | Next