%C - Photon terminal emulator
%C [option...] [program [argument...]]

Options:
   -A        Pass all Alt key combinations to the device
   -a font   Add the font to the font list
   -B        Cursor always blinks
   -b        Cursor never blinks
             (default: cursor blinks only when window has focus)
   -C path   Use this config file
   -c        Disable config dialog
   -D fd     Attach given file descriptor instead of using a ptty
   -d path   Open given device instead of using a ptty
   -E        Don't modify environment variables
             (default: unset LINES and COLUMNS,
             set TERM according to the protocol)
   -F n      Use the n-th font from list (starting from 0)
   -f font   Use the given font name as the current font
   -G        Pass signals to the program
   -g RxC    Set size to R rows, C columns
   -H N      Save up to N scrolled-back lines
   -h h      Initial h dimension
   -M RxC    Set maximal size to R rows, C columns
   -m RxC    Set minimal size to R rows, C columns
   -N fd     Output device name to this fd
   -n        Don't read the config file
   -L        Don't create new session
   -l        Start shell as a login shell
   -P        Increase program's priority
   -p        Decrease priority
             (default: don't change any priority)
   -Q        Use QNX protocol
             (default: ANSI)
   -q        Never warn before closing
   -R prefix Use this prefix for the pseudo tty
             (default: //0/dev)
   -S i|m|n  Initial window state: i=iconified, m=maximized, n=normal
   -s server Server node or device name
   -T        Disable text-mode mouse
   -t string Set window title to the given string
   -u opts   Unset given options (aAbBQTv) even if set in the config file
   -v        Visual bell
             (default: use audio beep only)
   -w w      Initial w dimension
   -X        Exit with shell's exit status
             (default: always exit with zero)
   -x x      Initial x position
   -y y      Initial y position
   -Z        Wait until closed unless exit status is zero
   -z        Wait until closed explicitly
             (default: close window as soon as the command terminates)

If the -d, -D or -N option is given, the shell will not be started on
the device unless a program is explicitly given.

A configuration dialog can be invoked by pressing Ctrl-Alt-C.

Special character sequences in window title:
   %d - device name (like "ttyp1")
   %p - device path (like "//1/dev/ttyp1")
   %n - device node (like "23")
   %t - device tty number
   %u - user login name
   %T - current time
   %P - pathname of the current process executing in the window
   %N - filename of the current process executing in the window
   %A - arguments of the current process executing in the window
   %% - a single '%' character

Files:
   $PHOTON_PATH/config/pterm.rc - default config file
   $HOME/.photon/pterm.(command).rc - command-specific config file
   $HOME/.photon/pterm.rc - user config file
