More-When the spacebar is pressed, the next screen of information will be displayed. The command displays the first screen of information from letter.txt, and then the following prompt appears: To display the file named letter.txt on the screen, the user can type either of the following two commands: +/: This option specifies a string that will be searched for before each file is displayed.-u: Backspaces and carriage returns to be treated as printable characters.-s: Squeeze multiple blank lines into one.Instead, paint each screen from the top, clearing the remainder of each line as it is displayed. Instead, clear the whole screen and then display the text. -f: Causes more to count logical, rather than screen lines (i.e., long lines are not folded).The -l option will prevent this behavior. -l: more usually treats ^L (form feed) as a special character, and will pause after any line that contains a form feed.-d: more will prompt the user with the message and will display instead of ringing the bell when an illegal key is pressed.-num: This option specifies an integer which is the screen size (in lines).Available options may vary between Unix systems, but a typical set of options is as follows: Options entered in the actual command line will override those entered in the $MORE environment variable. Options are typically entered before the file name, but can also be entered in the environment variable $MORE. There are also other commands that can be used while navigating through the document consult more's man page for more details. The most common methods of navigating through a file are Enter, which advances the output by one line, and Space, which advances the output by one screen. (This percentage includes the text displayed on the current screen.) When more reaches the end of a file (100%) it exits. In the lower-left corner of the screen is displayed the text "-More-" and a percentage, representing the percent of the file that more has paged through. Once more has obtained input, it displays as much as can fit on the current screen and waits for user input to advance, with the exception that a form feed (^L) will also cause more to wait at that line, regardless of the amount of text on the screen. If no file name is provided, more looks for input from standard input. The numerical computing environments MATLAB and GNU Octave include a moreįunction that turns output pagination on or off. The command is also available in the KolibriOS Shell. The FreeDOS version was developed by Jim Hall and is licensed under the GPL v2. Like the rest of the operating system, it is licensed under the GPL v3. The Software Link's PC-MOS includes an implementation of more. A more command is also part of ASCII's MSX-DOS2 Tools for MSX-DOS version 2. The command is available in MS-DOS versions 2 and later. less, a similar command with the extended capability of allowing both forward and backward navigation through the file, was written by Mark Nudelman between 19 and is now included in most Unix and Unix-like systems. It was first included in 3.0 BSD, and has since become a standard program in all Unix systems. It was later expanded on by Eric Shienbrood, Geoff Peck (added underlining, single spacing) and John Foderaro (added -c, more environment variable history). The more command was originally written by Daniel Halbert, a graduate student at the University of California, Berkeley, in 1978.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |