Perforce 2000.1 Command Line User's Guide (2000.1.ug.3)
<< Previous Chapter
Installing Perforce
Table of Contents
Index
Perforce on the Web
Next Chapter >>
Glossary

Appendix B
Environment Variables
This table lists all the Perforce environment variables and their definitions. You'll find a longer description of each variable 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

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

P4HOST

Name of host computer to impersonate. Only used if the Host: field of the current client workspace has been set in the p4 client form.

P4JOURNAL

A file that holds the database journal data

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 Perforce server, the port number to listen on; for the p4 client, the name and port number of the Perforce server with which to communicate

PWD

The directory used to resolve relative filename arguments to p4 commands

P4ROOT

Directory in which p4d stores its files and subdirectories

P4USER

The user's Perforce username

TMP

The directory to which Perforce writes its temporary files

In most operating systems, set these variables using the operating system or shell's own method for setting environment variables. On Windows clients, set these variables in the registry using Perforce's p4 set command.


Perforce 2000.1 Command Line User's Guide (2000.1.ug.3)
<< Previous Chapter
Installing Perforce
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, 1999, 2000 Perforce Software. All rights reserved.
Last updated: 10/09/00