AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox AT&T UNIX™PC Unix System V Users Manual - tenox

01.01.2013 Views

CFONT(l) (AT&T UNIX PC only ) CFONT(l) va -23 hi 17 vi 0 bits * * bits * * bits * * bits ******* bits ** * * ** bits * * * ** bits * * * ** bits * * * ** bits ** * * bits ***** * bits ****** bits ****** bits * **** bits * * *** bits * * *** bits * * ** bits * * * bits ** * * * bits ** * * * bits ** * * ** bits ** * * *** bits ******** bits * * bits * * bits * * Blank lines and lines beginning with # are ignored. The first lines of the file form the font header. These are automatically set to their default values whenever cfont writes a binary font. The headers hs, vs, and basel specify the effective horizontal size, vertical size and baseline offset for the font as a whole. The rest of the file consists of up to 96 char definitions, each one beginning with the word char followed by the character number (0-95). After the character number has been specified, the various character definition fields are given followed by vs number of bits statements, each specifying exactly hs number of pixel columns. SEE ALSO font( 4), window(7). BUGS It is currently impossible to specify the font flags or magic number. - 2-

CHMOD (l) CHMOD (l) NAME chmod - change mode SYNOPSIS chmod mode files DESCRIPTION The permissions of the named files are changed according to mode , which may be absolute or symbolic. An absolute mode is an octal number constructed from the OR of the following modes: 4000 set user ID on execution 2000 set group ID on execution 1000 sticky bit, see chmod(2) 0400 read by owner 0200 write by owner 0100 execute (search in directory) by owner 0070 read, write, execute (search) by group 0007 read, write, execute (search) by others A symbolic mode has the form: [ who ] op permission [ op permission ] The who part is a combination of the letters u (for user's permissions), g (group) and o (other). The letter a stands for ugo, the default if who is omitted. Op can be + to add permission to the file's mode, - to take away permission, or = to assign permission absolutely (all other bits will be reset). Permission is any combination of the letters r (read), w (write), x (execute), 8 (set owner or group ID), and t (save text, or sticky); u, g, or o indicate that permission is to be taken from the current mode. Omitting permission is only useful with = to take away all permissions. Multiple symbolic modes separated by commas may be given. Operations are performed in the order specified. The letter 8 is only useful with u or g and t only works with u. Only the owner of a file (or the super-user) may change its mode. EXAMPLES The first example denies write permission to others, the second makes a file executable: chmod o-w file chmod +x file SEE ALSO ls(l), chmod(2). - 1 -

CHMOD (l) CHMOD (l)<br />

NAME chmod - change mode<br />

SYNOPSIS<br />

chmod mode files<br />

DESCRIPTION<br />

The permissions of the named files are changed according to<br />

mode , which may be absolute or symbolic. An absolute mode is<br />

an octal number constructed from the OR of the following modes:<br />

4000 set user ID on execution<br />

2000 set group ID on execution<br />

1000 sticky bit, see chmod(2)<br />

0400 read by owner<br />

0200 write by owner<br />

0100 execute (search in directory) by owner<br />

0070 read, write, execute (search) by group<br />

0007 read, write, execute (search) by others<br />

A symbolic mode has the form:<br />

[ who ] op permission [ op permission ]<br />

The who part is a combination of the letters u (for user's permissions),<br />

g (group) and o (other). The letter a stands for ugo, the<br />

default if who is omitted.<br />

Op can be + to add permission to the file's mode, - to take<br />

away permission, or = to assign permission absolutely (all other<br />

bits will be reset).<br />

Permission is any combination of the letters r (read), w (write), x<br />

(execute), 8 (set owner or group ID), and t (save text, or sticky); u,<br />

g, or o indicate that permission is to be taken from the current<br />

mode. Omitting permission is only useful with = to take away<br />

all permissions.<br />

Multiple symbolic modes separated by commas may be given.<br />

Operations are performed in the order specified. The letter 8 is<br />

only useful with u or g and t only works with u.<br />

Only the owner of a file (or the super-user) may change its mode.<br />

EXAMPLES<br />

The first example denies write permission to others, the second<br />

makes a file executable:<br />

chmod o-w file<br />

chmod +x file<br />

SEE ALSO<br />

ls(l), chmod(2).<br />

- 1 -

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!