Hi,

I am using Linux RH 6.0, emacs 20.4 and 
rcp.el, v 1.213 1999/11/21 17:37:20 kai Exp

I did not see this on the list of known problems...
With rcp using scp mode to connect from Linux to an IRIX 6.5 machine,
the /bin/sh-shell spawning mechanism is invoked because IRIX does not
pass the ~root expansion test for my default shell (tcsh), nor for
ksh, and this IRIX does not have bash installed. 

The problem is that the ksh (which fails the ~root expansion test)
seems to hang around and is never killed. Thus I always have an extra
/bin/ksh process running on the remote machine. This seems somewhat
wasteful.

Here are the results of the ~root expansion test:

/home/ess/zender/zender/ccm: ksh
$ echo ~root
/
$ exit
/home/ess/zender/zender/ccm: tcsh
/home/ess/zender/zender/ccm: echo ~root
/
/home/ess/zender/zender/ccm: exit
exit
/home/ess/zender/zender/ccm: sh
$ echo ~root
~root
$ exit

Here is my process table, showing a ksh started by rcp weeks ago
which is never being used for anything:

     UID        PID       PPID  C    STIME TTY     TIME CMD
  zender     987780      30189  0 17:42:46 pts/3   0:00 ps -f -U zender
  zender      97640      97658  0   Dec 03 ?       0:00 tcsh -c /bin/sh
  zender      97698      97640  0   Dec 03 ?       0:03 /bin/ksh
  zender      30189      30187  0   Dec 02 pts/3   0:06 -tcsh

-- 
Charlie Zender [EMAIL PROTECTED] (949) 824-2987/FAX-3256, Department of
Earth System Science, University of California, Irvine CA 92697-3100

Reply via email to