Perforce 2007.3 Command Reference
<< Previous Chapter
P4DIFFUNICODE
Table of Contents
Index
Perforce on the Web
Next Chapter >>
P4HOST

P4EDITOR

Description

The editor invoked by those Perforce commands that use forms.

Usage Notes

Used by
Client?

Used by
Server?

Command-Line Alternative
Can be set in P4CONFIG file?

Yes

No

None

Yes

Value if not Explicitly Set

Operating System
Value

UNIX

If EDITOR is set to any value, then the value of EDITOR;

otherwise, vi.

Windows

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

/usr/bin/vi

emacs

SimpleText

Notes

The regular Perforce commands that use forms (and therefore, use 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, p4 triggers, and p4 typemap.


Perforce 2007.3 Command Reference
<< Previous Chapter
P4DIFFUNICODE
Table of Contents
Index
Perforce on the Web
Next Chapter >>
P4HOST
Please send comments and questions about this manual to [email protected].
Copyright 1999-2007 Perforce Software. All rights reserved.
Last updated: 11/29/07