Hm. sm appears to work fine for me now regardless of my .emacs file, *if*
the file being found is RCS-managed.

(Ignore my earlier report that my .emacs was interfering with operation; I
think I must have mistakenly used 'scp' instead of 'sm' earlier this
afternoon.)

However:

When I try to load "/r@sm:umbra:bar", where "bar" is a file that is *not*
RCS-managed (the "foo" of my previous email *was* RCS-managed), it fails in
this manner:

buffer "*rcp/sm nocturne@umbra*" :

> cannot open /usr/home/nocturne/RCS/bar,v: no such file
> 2

buffer "*Messages*" :

> Finding a suitable `ls' command
> Checking remote `/bin/ls' command for `-n' option.
> Testing remote command /bin/ls for -n...
> Testing remote command /bin/ls for -n...okay
> Using remote command /bin/ls for getting directory listings.
> Loading cl-seq...
> Loading cl-seq...done
> Encoding remote file /r@sm:nocturne@umbra:/usr/home/nocturne/bar...
> Decoding remote file /r@sm:nocturne@umbra:/usr/home/nocturne/bar...
> Wrote /tmp/rcp.16780riT
> Decoding remote file /r@sm:nocturne@umbra:/usr/home/nocturne/bar with command 
>mimencode -u -b...
> Decoding remote file /r@sm:nocturne@umbra:/usr/home/nocturne/bar...done
> Encoding remote file /r@sm:nocturne@umbra:/usr/home/nocturne/RCS/bar,v...
> Encoding remote file failed, see buffer *rcp/sm nocturne@umbra* for details.

buffer "*rcp output*" :

(apparently empty)

buffer "*debug rcp/sm nocturne@umbra*"

> # Opening connection for nocturne@umbra using sm...
> # Initializing remote shell
> $ stty -onlcr -echo
> # Waiting for remote /bin/sh to come up...
> > exec /bin/sh

> PS1='
> /////
> '; PS2=''; PS3=''
> stty -onlcr -echo
> $ > > 
> /////
> # Waiting for remote /bin/sh to come up...done
> $ echo ~root
> /root
> # Remote /bin/sh groks tilde expansion.  Good.
> # Finding a suitable `ls' command
> # Checking remote `/bin/ls' command for `-n' option.
> $ test -x /bin/ls ; echo $?
> 0
> # Testing remote command /bin/ls for -n...
> $ /bin/ls -lnd / >/dev/null 2>&1 ; echo $?
> 0
> # Testing remote command /bin/ls for -n...okay
> # Using remote command /bin/ls for getting directory listings.
> $ rcp_set_exit_status () {
> return $1
> }
> $ /bin/ls -d /bin >/dev/null 2>&1 ; echo $?
> 0
> $ /bin/ls -d /bin >/dev/null 2>&1 ; echo $?
> 0
> $ /bin/ls -iLldn /bin
> 3840 drwxr-xr-x  2 0  0  1024 May 25 17:19 /bin
> $ /bin/ls -d /usr/bin >/dev/null 2>&1 ; echo $?
> 0
> $ /bin/ls -d /usr/bin >/dev/null 2>&1 ; echo $?
> 0
> $ /bin/ls -iLldn /usr/bin
> 1984 drwxr-xr-x  2 0  0  5632 May 25 17:19 /usr/bin
> $ /bin/ls -d /usr/sbin >/dev/null 2>&1 ; echo $?
> 0
> $ /bin/ls -d /usr/sbin >/dev/null 2>&1 ; echo $?
> 0
> $ /bin/ls -iLldn /usr/sbin
> 5952 drwxr-xr-x  2 0  0  3072 May 25 17:19 /usr/sbin
> $ /bin/ls -d /usr/local/bin >/dev/null 2>&1 ; echo $?
> 0
> $ /bin/ls -d /usr/local/bin >/dev/null 2>&1 ; echo $?
> 0
> $ /bin/ls -iLldn /usr/local/bin
> 95232 drwxr-xr-x  2 0  0  1536 Nov  5 16:00 /usr/local/bin
> $ /bin/ls -d /usr/ccs/bin >/dev/null 2>&1 ; echo $?
> 0
> $ /bin/ls -d /usr/ccs/bin >/dev/null 2>&1 ; echo $?
> 0
> $ /bin/ls -iLldn /usr/ccs/bin
> ls: /usr/ccs/bin: No such file or directory
> $ PATH=/bin:/usr/bin:/usr/sbin:/usr/local/bin; export PATH
> $ LC_TIME=C; export LC_TIME; echo huhu
> huhu
> $ cd ~; pwd
> /usr/home/nocturne
> $ /bin/ls -d /usr/home/nocturne/bar >/dev/null 2>&1 ; echo $?
> 0
> $ /bin/ls -iLldn /usr/home/nocturne/bar
> 299606 -rw-r--r--  1 606  100  24 Nov  5 16:35 /usr/home/nocturne/bar
> $ /bin/ls -d /usr >/dev/null 2>&1 ; echo $?
> 0
> $ /bin/ls -iLldn /usr
> 2 drwxr-xr-x  17 0  0  512 May 24 17:50 /usr
> $ /bin/ls -d /usr/home >/dev/null 2>&1 ; echo $?
> 0
> $ /bin/ls -iLldn /usr/home
> 297606 drwxr-xr-x  6 0  0  512 Oct  4 12:14 /usr/home
> $ /bin/ls -d /usr/home/nocturne >/dev/null 2>&1 ; echo $?
> 0
> $ /bin/ls -iLldn /usr/home/nocturne
> 299594 drwxr-xr-x  5 606  100  512 Nov  5 16:35 /usr/home/nocturne
> $ /bin/ls -d /usr/home/nocturne/bar >/dev/null 2>&1 ; echo $?
> 0
> $ /bin/ls -iLldn /usr/home/nocturne/bar
> 299606 -rw-r--r--  1 606  100  24 Nov  5 16:35 /usr/home/nocturne/bar
> $ /bin/ls -d /usr/home/nocturne/bar >/dev/null 2>&1 ; echo $?
> 0
> $ /bin/ls -iLldn /usr/home/nocturne/bar
> 299606 -rw-r--r--  1 606  100  24 Nov  5 16:35 /usr/home/nocturne/bar
> $ /bin/ls -d /usr >/dev/null 2>&1 ; echo $?
> 0
> $ /bin/ls -iLldn /usr
> 2 drwxr-xr-x  17 0  0  512 May 24 17:50 /usr
> $ /bin/ls -d /usr/home >/dev/null 2>&1 ; echo $?
> 0
> $ /bin/ls -iLldn /usr/home
> 297606 drwxr-xr-x  6 0  0  512 Oct  4 12:14 /usr/home
> $ /bin/ls -d /usr/home/nocturne >/dev/null 2>&1 ; echo $?
> 0
> $ /bin/ls -iLldn /usr/home/nocturne
> 299594 drwxr-xr-x  5 606  100  512 Nov  5 16:35 /usr/home/nocturne
> $ /bin/ls -d /usr/home/nocturne/bar >/dev/null 2>&1 ; echo $?
> 0
> $ /bin/ls -iLldn /usr/home/nocturne/bar
> 299606 -rw-r--r--  1 606  100  24 Nov  5 16:35 /usr/home/nocturne/bar
> $ /bin/ls -d /usr/home/nocturne/bar >/dev/null 2>&1 ; echo $?
> 0
> $ /bin/ls -iLldn /usr/home/nocturne/bar
> 299606 -rw-r--r--  1 606  100  24 Nov  5 16:35 /usr/home/nocturne/bar
> $ /bin/ls -d /usr/home/nocturne/bar >/dev/null 2>&1 ; echo $?
> 0
> $ /bin/ls -d /usr/home/nocturne/bar >/dev/null 2>&1 ; echo $?
> 0
> # Encoding remote file /r@sm:nocturne@umbra:/usr/home/nocturne/bar...
> $ mimencode -b < /usr/home/nocturne/bar; echo $?
> YXMycTkwOGFvZHNpdWgKYmxlZWJ2bGUK
> 0
> # Decoding remote file /r@sm:nocturne@umbra:/usr/home/nocturne/bar...
> # Decoding remote file /r@sm:nocturne@umbra:/usr/home/nocturne/bar with command 
>mimencode -u -b...
> # Decoding remote file /r@sm:nocturne@umbra:/usr/home/nocturne/bar...done
> $ /bin/ls -d /usr/home/nocturne/bar >/dev/null 2>&1 ; echo $?
> 0
> $ test -w /usr/home/nocturne/bar ; echo $?
> 0
> $ /bin/ls -d /usr/home/nocturne/RCS/bar\,v >/dev/null 2>&1 ; echo $?
> 0
> $ /bin/ls -d /usr/home/nocturne/bar >/dev/null 2>&1 ; echo $?
> 0
> $ /bin/ls -iLldn /usr/home/nocturne/bar
> 299606 -rw-r--r--  1 606  100  24 Nov  5 16:35 /usr/home/nocturne/bar
> $ /bin/ls -d /usr/home/nocturne/RCS/bar\,v >/dev/null 2>&1 ; echo $?
> 0
> $ /bin/ls -d /usr/home/nocturne/RCS/bar\,v >/dev/null 2>&1 ; echo $?
> 0
> $ /bin/ls -d /usr/home/nocturne/RCS/bar\,v >/dev/null 2>&1 ; echo $?
> 0
> # Encoding remote file /r@sm:nocturne@umbra:/usr/home/nocturne/RCS/bar,v...
> $ mimencode -b < /usr/home/nocturne/RCS/bar\,v; echo $?
> cannot open /usr/home/nocturne/RCS/bar,v: no such file
> 2

Reply via email to