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

P4HOST

Description

Name of host computer to impersonate.

Usage Notes

Used by
Client?

Used by
Server?

Command-Line Alternative
Can be set in P4CONFIG file?

Yes

No

p4 -H hostname command

Yes

Value if not Explicitly Set

Operating System
Value

All

The value of the client hostname as returned by p4 info.

Examples

workstation123.perforce.com

Notes

Perforce users can use the Host: field of the p4 client form to specify that a particular client workspace can be used only from a particular host machine. When this field has been set, the P4HOST variable can be used to fool the server into thinking that the user is on the specified host machine regardless of the machine being used by the user. As this is a very esoteric need, there's usually no reason to set this variable.

The hostname must be provided exactly as it appears in the output of p4 info when run from that host.


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