⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 view.1

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 1
字号:
.\" SCCSID: @(#)view.1	8.1	9/11/90.TH view 1.SH Nameview \- displays a file using the vi commands .SH Syntax .B view[\fB\-t\fI tag\fR\|] [\fB\-r\fR] [\fB+\fR\fIcommand\fR\|] [\fB\-l\fR] [\fB\-w\fIn\fR\|] [\fB\-x\fR] \fIname...\fR.SH Description.NXR "view command".NXR "view command" "encryption".NXR "encryption" "view command"  The.PN viewcommand displays a text file. The.PN viewcommand and the.PN vicommandrun almost the same code except that in .PN viewchanges to a file are not allowed.  It is possible to get tothe command mode of.PN exfrom within both..PPThe following is a list of some of the .PN view commands. See the\fIvi Beginner's Reference Card\fPand the"Introduction to Display Editing with vi" in the\fISupplementary Documents, Volume 1: General User\fPfor more details that can be helpful for using .PN view ..PP.B Screen Control Commands.RS 5.IP <CTRL/L> 15 Reprints current screen..IP \fB<CTRL/Y>\fP Exposes one more line at top of screen..IP \fB<CTRL/E>\fP Exposes one more line at bottom of screen..RE.PP.B Paging Commands.RS 5.IP <CTRL/F> 15Pages forward one screen..IP <CTRL/B>Pages back one screen..IP <CTRL/D>Pages down half screen..IP <CTRL/U>Pages up half screen..RE.PP.B Cursor Positioning Commands.RS 5.IP j 15Moves cursor down one line, same column..IP kMoves cursor up one line, same column..IP hMoves cursor back one character..IP lMoves cursor forward one character..IP <RETURN>Moves cursor to beginning of next line..IP 0Moves cursor to beginning of current line..IP $Moves cursor to end of current line..IP <SPACE>Moves cursor forward one character..IP \fIn\fBG\fRMoves cursor to beginning of line \fIn\fR.  Default is last line of file..IP /\fIpattern\fPMoves cursor forward to next occurrence of \fIpattern\fP..IP ?\fIpattern\fPMoves cursor backward to next occurrence of \fIpattern\fP..IP nRepeats last / or ? pattern search..RE.PP.B Exiting view.RS 5.IP ZZ 15Exits .PN view. .IP :qQuits .PN view session..RE.SH Options.IP "\-t \fItag\fR" 10Specifies a list of .I tagfiles. The .I tagfiles are preceded by a backslash (\\)and are separated by spaces. The .I tagoption should always be the firstentry..IP +\fIcommand\fRTells the editor to begin by executing the specified .I command. An example would be +/\fIpattern\fR that would searchfor a .I pattern..IP \-lSets the showmatch and lisp options for viewing LISP code...IP \-r\fI name\fRRetrieves the last saved version of the .IR name 'dfile in the event of asystem crash. If no file is specified, a list of saved files isproduced..IP \-w\fIn\fRSets the default window size to.I n.This option is useful for starting in a small window on dialups..NTThe .B \-xoption is available only if the Encryption layered product is installed..NE.IP \-x 10Causes.PN viewto prompt for a.I key.The.I keyis used to encrypt and decrypt the contents of the file. If the file has been encrypted with one.IR key ,you must use the same.I keyto decrypt the file..SH See Alsoedit(1), ex(1), vi(1) .br\fIThe Little Gray Book: An ULTRIX Primer\fP.br\fIThe Big Gray Book: The Next Step with ULTRIX\fP.br"An Introduction to Display Editing with vi" in the \fISupplementary Documents, Volume 1: General User\fP

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -