EDITOR Variable

Qedit 5.7 for HP-UX

Home Previous Next


EDITOR Variable

HP-UX utilities that invoke an external editor use the variable EDITOR to determine which editor and run-time options are invoked. The electronic mail tool elm is an example of a utility that uses an external editor to write all messages.

If you want to use Qedit as your standard editor, you need to set the EDITOR variable. We recommend using the -s option for application use. If you wish to immediately go into Visual mode, you should specify -cvisual as part of the variable string. The following example sets the EDITOR variable to invoke Qedit and put you into Visual mode:

Bourne and Korn shells:

$EDITOR="qedit -s -cvisual";export EDITOR

C Shell:

%setenv EDITOR "qedit -s -cvisual"


Home Previous Next