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

ED (l) ED (1) FILES /tmp/e# temporary; # is the process number. ed.hup work is saved here if the terminal is hung up. DIAGNOSTICS ? for command errors. ?file for an inaccessible file. (use the help and Help commands for detailed explanations). If changes have been made in the buffer since the last w command that wrote the entire buffer, ed warns the user if an attempt is made to destroy ed 's buffer via the e or q commands: it prints ? and allows one to continue editing. A second e or q command at this point will take effect. The - command-line option inhibits this feature. SEE ALSO crypt( l), grep(l), sed( l), sh( l), stty( l), fspec(4), regexp(5). A Tutorial Introduction to the UNIX Text Editor by B. W. Kernighan. Advanced Editing on UNIX by B. W. Kernighan. CAVEATS AND BUGS A ! command cannot be subject to a g or a v command. The ! command and the ! escape from the e, r, and w commands cannot be used if the the editor is invoked from a restricted shell (see sh( l)). � The sequence \n in aRE does not match a new-line character. . 1 The l command mishandles DEL. Files encrypted directly with the crypt(!) command with the null key cannot be edited. Characters are masked to 7 bits on input. - 10 -

ENABLE ( I ) ENABLE (!) NAME enable, disable - enable/disable LP printers SYNOPSIS enable printers disable [ -c ] [ -r[ reason ]] printers DESCRIPTION Enable activates the named printers , enabling them to print requests taken by lp (l). Use lpstat(l) to find the status of printers. Disable deactivates the named printers , disabling them from printing requests taken by lp (l). By default, any requests that are currently printing on the designated printers will be reprinted in their entirety either on the same printer or on another member of the same class. Use lpstat(l) to find the status of printers. Options useful with disable are: -c Cancel any requests that are currently printing on any of the designated printers. -r[ reason ] Associates a reason with the deactivation of the printers. This reason applies to all printers mentioned up to the next -r option. If the -r option is not present or the -r option is given without a reason, then a default reason will be used. Reason is reported by lpstat(l). FILES /usrfspool/lp/* SEE ALSO lp( l), lpstat(l). - 1 -

ED (l)<br />

ED (1)<br />

FILES<br />

/tmp/e# temporary; # is the process number.<br />

ed.hup work is saved here if the terminal is hung up.<br />

DIAGNOSTICS<br />

? for command errors.<br />

?file for an inaccessible file.<br />

(use the help and Help commands for detailed explanations).<br />

If changes have been made in the buffer since the last w command<br />

that wrote the entire buffer, ed warns the user if an attempt is<br />

made to destroy ed 's buffer via the e or q commands: it prints ?<br />

and allows one to continue editing. A second e or q command at<br />

this point will take effect. The - command-line option inhibits<br />

this feature.<br />

SEE ALSO<br />

crypt( l), grep(l), sed( l), sh( l), stty( l), fspec(4), regexp(5).<br />

A Tutorial Introduction to the UNIX Text Editor by B. W. Kernighan.<br />

Advanced Editing on UNIX by B. W. Kernighan.<br />

CAVEATS AND BUGS<br />

A ! command cannot be subject to a g or a v command.<br />

The ! command and the ! escape from the e, r, and w commands<br />

cannot be used if the the editor is invoked from a restricted shell<br />

(see sh( l)). �<br />

The sequence \n in aRE does not match a new-line character. . 1<br />

The l command mishandles DEL.<br />

Files encrypted directly with the crypt(!) command with the null<br />

key cannot be edited.<br />

Characters are masked to 7 bits on input.<br />

- 10 -

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

Saved successfully!

Ooh no, something went wrong!