📄 vmh.man
字号:
VMH(1) BSD Reference Manual VMH(1)NNAAMMEE vmh - visual front-end to MHSSYYNNOOPPSSIISS vmh [-prompt string] [-vmhproc program] [-novmhproc] [switches for _v_m_h_p_r_o_c] [-help]DDEESSCCRRIIPPTTIIOONN _v_m_h is a program which implements the server side of the _M_H window management protocol and uses _c_u_r_s_e_s (3) routines to maintain a split-screen interface to any program which implements the client side of the protocol. This latter program, called the _v_m_h_p_r_o_c, is specified using the `-vmhproc program' switch. The upshot of all this is that one can run _m_s_h on a dis- play terminal and get a nice visual interface. To do this, for example, just add the line mshproc: vmh to your .mh_profile. (This takes advantage of the fact that _m_s_h is the default _v_m_h_p_r_o_c for _v_m_h.) In order to facilitate things, if the `-novmhproc' switch is given, and _v_m_h can't run on the user's terminal, the _v_m_h_p_r_o_c is run directly without the window management pro- tocol. After initializing the protocol, _v_m_h 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, _v_m_h prompts the user for instructions, roughly permitting the capabil- ities of _l_e_s_s or _m_o_r_e (e.g., the ability to scroll back- wards and forwards): SPACE advance to the next windowful RETURN * advance to the next line y * retreat to the previous line d * advance to the next ten lines u * retreat to the previous ten lines g * 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 screen h print a help message q abort the window (A `*' indicates that a numeric prefix is meaningful for[mh.6] MH.6.8 1VMH(1) BSD Reference Manual VMH(1) this command.) Note that if a command resulted in more than one window's worth of information being displayed, and you allow the command which is generating information for the window to gracefully finish (i.e., you don't use the `q' command to abort information being sent to the window), then _v_m_h 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 _v_m_h (without core dump), use <QUIT> (usually CTRL-\). For instance, this does the "right" thing with _b_b_c and _m_s_h.FFIILLEESS $HOME/.mh_profile The user profilePPRROOFFIILLEE CCOOMMPPOONNEENNTTSS Path: To determine the user's MH directorySSEEEE AALLSSOO msh(1)DDEEFFAAUULLTTSS `-prompt (vmh) ' `-vmhproc msh'CCOONNTTEEXXTT NoneBBUUGGSS The argument to the `-prompt' switch must be interpreted as a single token by the shell that invokes _v_m_h. There- fore, one must usually place the argument to this switch inside double-quotes. At present, there is no way to pass signals (e.g., inter- rupt, quit) to the client. However, generating QUIT when _v_m_h is reading a command from the terminal is sufficient to tell the client to go away quickly. Acts strangely (loses peer or botches window management protocol with peer) on random occasions.[mh.6] MH.6.8 2
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -