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

📄 vmh.rf

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 RF
字号:
.\"	@(MHWARNING).\" @(#)$Id: vmh.rf,v 1.1 90/07/20 09:43:17 sharpe Exp Locker: sharpe $.SC VMH 1.NAvmh \- visual front\-end to MH.SYvmh\%[\-prompt\ string]\%[\-vmhproc\ program] \%[\-novmhproc]\%[switches\ for\ \fIvmhproc\fR]\%[\-help].DE\fIvmh\fR is a program which implements the server side ofthe \fIMH\fR window management protocoland uses \fIcurses\fR\0(3) routines to maintain a split\-screen interface toany program which implements the client side of the protocol.This latter program, called the \fIvmhproc\fR,is specified using the `\-vmhproc\ program' switch.The upshot of all this is that one can run \fImsh\fR on a display terminaland get a nice visual interface.To do this, for example, just add the line.ti +.5imshproc: vmhto your \&.mh\(ruprofile.(This takes advantage of the fact that\fImsh\fR is the default \fIvmhproc\fR for \fIvmh\fR.)In order to facilitate things,if the `\-novmhproc' switch is given,and \fIvmh\fR can't run on the user's terminal,the \fIvmhproc\fR is run directly without the window management protocol.After initializing the protocol,\fIvmh\fR prompts the user for a command to be given to the client.Usually, this results in output being sent to one or more windows.If a output to a window would cause it to scroll,\fIvmh\fR prompts the user for instructions,roughly permitting the capabilities of \fIless\fR or \fImore\fR(e.g., the ability to scroll backwards and forwards):.nf.in +.5i.ta \w'RETURN  'u +\w'*  'uSPACE		advance to the next windowfulRETURN	*	advance to the next liney	*	retreat to the previous lined	*	advance to the next ten linesu	*	retreat to the previous ten linesg	*	go to an arbitrary line		(preceed g with the line number)G	*	go to the end of the window		(if a line number is given, this acts like `g')CTRL\-L		refresh the entire screenh		print a help messageq		abort the window.re.in -.5i.fi(A `*' indicates that a numeric prefix is meaningful for this command.)Note that if a command resulted in more than one window's worth ofinformation being displayed,and you allow the command which is generating information for the window togracefully finish(i.e., you don't use the `q' command to abort information being sent to thewindow),then \fIvmh\fR will give you one last change to peruse the window.This is useful for scrolling back and forth.Just type `q' when you're done.To abnormally terminate \fIvmh\fR (without core dump),use <QUIT> (usually CTRL\-\\).For instance,this does the \*(lqright\*(rq thing with \fIbbc\fR and \fImsh\fR..Fi^$HOME/\&.mh\(ruprofile~^The user profile.Pr^Path:~^To determine the user's MH directory.Samsh(1).De`\-prompt\ (vmh)\ '.Ds`\-vmhproc\ msh'.CoNone.BuThe argument to the `\-prompt' switch must be interpreted as a single tokenby the shell that invokes \fIvmh\fR.Therefore,one must usually place the argument to this switch inside double\-quotes.At present,there is no way to pass signals (e.g., interrupt, quit) to the client.However,generating QUIT when \fIvmh\fR is reading a command from the terminal issufficient to tell the client to go away quickly.Acts strangely (loses peer or botches window management protocol with peer)on random occasions..En

⌨️ 快捷键说明

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