16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

more<br />

[n]?[!]pattern Searches backward in the file for the nth line containing pattern. The search<br />

begins at the line immediately before the top line displayed. n defaults to<br />

one if not specified. If pattern is the null regular expression (?), more uses<br />

the previous pattern. If the character ! precedes pattern, more searches for<br />

lines that do not contain pattern.<br />

:e [filename]newline Stops viewing the current file and views filename instead. If you do not<br />

specify filename, more returns to the beginning of the current file. If<br />

filename is #, more returns to the last file viewed before the current one.<br />

[n]:n Views the next file from the list given on the command line. If you specify n,<br />

more views the nth next file from the list.<br />

[n]:p Views the previous file from the list given in the command line. If you<br />

specify n, more views the nth previous file from the list.<br />

:t tagname Goes to tagname.<br />

:w filename Writes the contents of the current file to the file filename.<br />

! Escape to shell and execute shell command.<br />

= Displays, where possible, the name of the file currently being viewed, its<br />

number (relative to the total number of files specified in the command line),<br />

the current line number, the current byte number, the total bytes to display<br />

and what percentage of the file has been displayed.<br />

Ctrl-G Displays, where possible, the name of the file currently being viewed, its<br />

number (relative to the total number of files specified in the command line),<br />

the current line number, the current byte number, the total bytes to display<br />

and what percentage of the file has been displayed.<br />

Home Goes to the first line in the file.<br />

End Goes to the last line in the file.<br />

Environment Variables<br />

more uses the following environment variables:<br />

Usage Note<br />

Localization<br />

COLUMNS<br />

Contains the maximum number of columns to display on one line.<br />

EDITOR<br />

Contains the name of the editor that the v command invokes.<br />

LINES Contains the number of lines in a page. This value takes precedence over<br />

value from TERM. However, the –n value takes precedence over the LINES<br />

value.<br />

MORE Contains a list of options as they would appear on the command line. This<br />

variable takes preference over the TERM and LINES variables.<br />

TERM Contains the name of the terminal type.<br />

more is designed for raw-mode terminals. It can be used with 3270 (dumb)<br />

terminals with certain restrictions. Line-mode terminals require a user to press Enter<br />

to allow the keys typed to be processed. However, the Enter key has a special<br />

meaning to more. Specifically, it causes more to scroll down a single line.<br />

Therefore, when attempting to use more while in line-mode, each time a user<br />

presses ″Enter″ to process any command, this causes the screen to scroll down a<br />

single line at a time.<br />

more uses the following localization environment variables:<br />

v LANG<br />

v LC_ALL<br />

432 z/<strong>OS</strong> <strong>V1R9.0</strong> <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> <strong>Command</strong> Reference

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

Saved successfully!

Ooh no, something went wrong!