Download User Manual
Transcript
qedit [-csv] [filename] See below for suggestions on setting the EDITOR environment variable so that Qedit is automatically invoked as your editor from other tools like elm. Initial Command Line: -ccmdstring You can specify commands to be executed using the -c option before the file name. The -c is followed by commands to be executed. There must be no space between the -c and the command list. If those commands contain a space, they must be enclosed in single or double quotes; otherwise, the quotes are optional. When both -c and a file name occur, the –c commands are executed after the file is accessed for editing. Here are some examples: qedit qedit qedit qedit -cvisual myfile -c"visual" myfile -c'set vis ab 3 bel 12;visual' myfile -c"text abc;use fixit;k,y;e" Editing a Single File: -s Sometimes you want to invoke Qedit for a specific purpose, such as writing a message in elm. You are using Qedit as a dedicated tool for a specific purpose. In these cases, specify -s and a file name. You can only edit that file and it will be saved on exit. You will not be allowed to edit any other files. qedit -cvisual -s myfile /exit Save your changes (yes/no)? Exit with Verify: -v Some users find that they Exit from Qedit inadvertently by pressing F8 too many times. To require user approval on Exit, use the -v option. qedit -v /e Okay to exit [no]: / "Discard Changes?" on Exit Qedit needs to purge your random-named scratch files when it terminates. But you may not have saved your editing work yet. In that case, Qedit asks you "Discard changes?" and will not Exit/Purge unless you answer Yes: Qedit 6.0 for HP-UX User Manual Running Qedit under HP-UX • 55