Perforce 98.2 p4 User's Guide
<< Previous Chapter
Superuser Commands
Table of Contents
Index
Perforce on the Web
Next Chapter >>
Glossary

Appendix A
Environment Variables
This table lists all the Perforce environment variables and their definitions. A longer description of each variable, and a discussion of how to set these variables in each OS, can be found in the Perforce Command Reference.

Variable Definition
P4CLIENT Name of current client workspace

P4CONFIG File name from which values for current environment variables are to be read from

P4DIFF The name and location of the diff program used by p4 resolve and p4 diff

P4EDITOR The editor invoked by those Perforce commands that use forms

P4JOURNAL A directory that holds the database journal files

P4LOG Name and path of the file to write Perforce errors to

P4MERGE A third-party merge program to be used by p4 resolve's merge option

P4PAGER The program used to page output from p4 resolve's diff option

P4PASSWD Stores the user's password as set in the p4 user form

P4PORT For the p4d server, the port number to listen on;for the p4 client, the name and port number of the p4d host to communicate with

PWD The directory used to resolve relative filename arguments to p4 commands

P4ROOT Directory in which p4d stores its files and subdirectories

P4USER The users Perforce username

TMP The directory to which Perforce writes its temporary files


Perforce 98.2 p4 User's Guide
<< Previous Chapter
Superuser Commands
Table of Contents
Index
Perforce on the Web
Next Chapter >>
Glossary
Please send comments and questions about this manual to [email protected].
Copyright 1997, 1998 Perforce Software. All rights reserved.
Last updated: 08/15/98