From 236863f163db6a700db2d2ea780688f20c00d316 Mon Sep 17 00:00:00 2001 From: james <> Date: Wed, 12 Mar 2008 01:30:23 +0000 Subject: *** empty log message *** --- sympathy.1 | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'sympathy.1') diff --git a/sympathy.1 b/sympathy.1 index 43a8b88..c76ef20 100644 --- a/sympathy.1 +++ b/sympathy.1 @@ -162,9 +162,13 @@ as an argument to the \fIconsole\fP kernel parameter. The \-\fBd\fP option is incompatible with the \-\fBp\fP option. .TP 5 .B \-p -connect to a pseudo-tty instead of a terminal device, and fork a login shell in +connect to a pseudo\-tty instead of a terminal device, and fork a login shell in it. The \-\fBp\fP option is incompatible with the \-\fBd\fP option. This is the default -terminal device if none is specified. +terminal device if none is specified. The first non\-option command line +arugment is considered to be the a binary to run in the pseudo\-tty, subsequent +arguments are parsed to the binary. The current value of PATH is searched for +the binary if it does not start with '/'. If no binary is specified +then '/bin/sh' is called with \fIargv[0]\fP set to '\-'. .TP 5 .B \-K lock the terminal device specified in the \-\fBd\fP option. @@ -173,8 +177,9 @@ generates lock files in a staggering variety of formats and places. For locks based on the name of the device .I sympathy generates lock files for all devices -with the same major and minor in /dev, /dev/usb and /dev/tts, it uses both normal -and lower case and replaces occurrences of `/' in the device name with both `.' and `_'. +with the same major and minor in /dev, /dev/usb and /dev/tts, it uses both +normal and lower case and replaces occurrences of `/' in the device name with +both `.' and `_'. .I Sympathy also generates locks based on the device major and minor numbers, and for all lock file names generates them in any of the following directories that are writable: @@ -530,6 +535,9 @@ sets the value of \fBTERM\fP in pseudo-ttys spawned using the .I Sympathy will use \fBCSI ] 0 ;\fP to set the window title to the name of the socket or device if \fBTERM\fP starts with \fIxterm\fP or \fIrxvt\fP. +.br +The \fBPATH\fP enviroment variable is searched for the binary to be run +in the pseudo\-tty. .SH EMULATION .I Sympathy completely emulates a VT102 terminal (including the VT52 emulation). -- cgit v1.2.3