Perforce Command Reference:   [Index] [Prev] [Next]


P4EDITOR

Description

The editor invoked by those Perforce commands that use forms.

Usage Notes

Used by
p4 client?
Used by p4d server? Command-Line
Alternative
Can be set in P4CONFIG file?
Yes No None Yes

Value if not Explicitly Set

OS Value
UNIX vi
NT If SHELL is set to any value, then vi; otherwise, notepad.
VMS If POSIX$SHELL is set, then vi; otherwise, edit.
Macintosh If EDITOR_SIGNATURE is set, then the program with that four-character creator; otherwise, SimpleText.

Examples

vi
emacs
SimpleText

Notes

The regular Perforce commands that use forms, and that therefore access this variable, are p4 branch, p4 change, p4 client, p4 job, p4 label, p4 submit, and p4 user. The superuser commands that use forms are p4 depot, p4 group, p4 jobspec, p4 protect, and p4 triggers.



Perforce Command Reference:   [Index] [Prev] [Next]


Copyright 1999 Perforce Software.
Contact us at [email protected]
Last updated: 09/15/99 (Manual version 99.1.cr.6)