[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tramp and NT-Emacs with plink
From: |
Douglas Gray Stephens |
Subject: |
Re: Tramp and NT-Emacs with plink |
Date: |
Fri, 13 Sep 2002 09:29:19 +0100 |
At 12:30 (GMT+0200) on 12-September-2002, Kai Großjohann wrote:
> Douglas Gray Stephens <address@hidden> writes:
>
> > I have downloaded 2.0.16 from the CVS archive on
> > address@hidden:/cvsroot/tramp
> > and tried it out, and I only need set
> > (setq tramp-password-end-of-line "\r\n")
> > and otherwise the code works without modification.
>
> That's good news!
>
> > I have noticed that
> > 1. I cannot use
> > /hostname:file
> > as it does not get the password prompt, while
> > /address@hidden:file
> > works.
>
> Hm. Can you (setq tramp-debug-buffer t) and show me a debug buffer
> for the former case, and a debug buffer for the latter case, to
> compare? (Buffer *debug tramp/foo*.)
(I am still running with debug and verbosity turned on:
(setq tramp-verbose 10) ;; Help debugging
(setq tramp-debug-buffer t) ;; Help debugging
(setq tramp-auto-save-directory "d:/temp") ;; Faster auto saves
(setq tramp-password-end-of-line "\r\n")
(setq tramp-default-method "plink")
(add-to-list 'tramp-remote-path "/export/home/gray/bin")
).
I've attached the debug buffers for a find-file to
/address@hidden:work/ldaps.pl
and
/gray-linux-scr:work/ldaps.pl
I see that the buffer
*tramp/plink gray-linux-scr*
has a single line (with no line feed at the end of the line)
login as:
> > 2. The code is always uploading the perl code for encoding/decoding,
> > while before I could use the existing binary mimencode on the
> > remote host.
>
> I did this because I'm lazy. I recently added a change so that this
> code is only uploaded for inline methods (not for out-of-band
> methods), but at the time the code is uploaded Tramp does not know
> yet whether it will use it.
>
> I hope I will get around to improving this someday.
One only takes the hit on the first connection, and from looking at
the debug log, I see that mimencode is found and tested.
Cheers,
Douglas.
# Opening connection at gray-linux-scr using plink...
# Waiting for prompts from remote shell
# Waiting 60s for prompt from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase.*\): ? *" from remote shell
# Looking for regexp ".*ogin: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^.*\(Connection \(closed\|refused\)\|Host key
verification failed\.\|Login \(Incorrect\|incorrect\)\|Name or service not
known\|Permission denied\.\|Sorry, try again\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(Store key in cache\? (y/n)\)\s-*" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase.*\): ? *" from remote shell
# Looking for regexp ".*ogin: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^.*\(Connection \(closed\|refused\)\|Host key
verification failed\.\|Login \(Incorrect\|incorrect\)\|Name or service not
known\|Permission denied\.\|Sorry, try again\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(Store key in cache\? (y/n)\)\s-*" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase.*\): ? *" from remote shell
# Looking for regexp ".*ogin: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^.*\(Connection \(closed\|refused\)\|Host key
verification failed\.\|Login \(Incorrect\|incorrect\)\|Name or service not
known\|Permission denied\.\|Sorry, try again\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(Store key in cache\? (y/n)\)\s-*" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase.*\): ? *" from remote shell
# Looking for regexp ".*ogin: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^.*\(Connection \(closed\|refused\)\|Host key
verification failed\.\|Login \(Incorrect\|incorrect\)\|Name or service not
known\|Permission denied\.\|Sorry, try again\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(Store key in cache\? (y/n)\)\s-*" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase.*\): ? *" from remote shell
# Looking for regexp ".*ogin: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^.*\(Connection \(closed\|refused\)\|Host key
verification failed\.\|Login \(Incorrect\|incorrect\)\|Name or service not
known\|Permission denied\.\|Sorry, try again\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(Store key in cache\? (y/n)\)\s-*" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase.*\): ? *" from remote shell
# Looking for regexp ".*ogin: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^.*\(Connection \(closed\|refused\)\|Host key
verification failed\.\|Login \(Incorrect\|incorrect\)\|Name or service not
known\|Permission denied\.\|Sorry, try again\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(Store key in cache\? (y/n)\)\s-*" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase.*\): ? *" from remote shell
# Looking for regexp ".*ogin: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^.*\(Connection \(closed\|refused\)\|Host key
verification failed\.\|Login \(Incorrect\|incorrect\)\|Name or service not
known\|Permission denied\.\|Sorry, try again\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(Store key in cache\? (y/n)\)\s-*" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase.*\): ? *" from remote shell
# Looking for regexp ".*ogin: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^.*\(Connection \(closed\|refused\)\|Host key
verification failed\.\|Login \(Incorrect\|incorrect\)\|Name or service not
known\|Permission denied\.\|Sorry, try again\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(Store key in cache\? (y/n)\)\s-*" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase.*\): ? *" from remote shell
# Looking for regexp ".*ogin: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^.*\(Connection \(closed\|refused\)\|Host key
verification failed\.\|Login \(Incorrect\|incorrect\)\|Name or service not
known\|Permission denied\.\|Sorry, try again\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(Store key in cache\? (y/n)\)\s-*" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase.*\): ? *" from remote shell
# Looking for regexp ".*ogin: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^.*\(Connection \(closed\|refused\)\|Host key
verification failed\.\|Login \(Incorrect\|incorrect\)\|Name or service not
known\|Permission denied\.\|Sorry, try again\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(Store key in cache\? (y/n)\)\s-*" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase.*\): ? *" from remote shell
# Looking for regexp ".*ogin: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^.*\(Connection \(closed\|refused\)\|Host key
verification failed\.\|Login \(Incorrect\|incorrect\)\|Name or service not
known\|Permission denied\.\|Sorry, try again\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(Store key in cache\? (y/n)\)\s-*" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase.*\): ? *" from remote shell
# Looking for regexp ".*ogin: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^.*\(Connection \(closed\|refused\)\|Host key
verification failed\.\|Login \(Incorrect\|incorrect\)\|Name or service not
known\|Permission denied\.\|Sorry, try again\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(Store key in cache\? (y/n)\)\s-*" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase.*\): ? *" from remote shell
# Looking for regexp ".*ogin: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^.*\(Connection \(closed\|refused\)\|Host key
verification failed\.\|Login \(Incorrect\|incorrect\)\|Name or service not
known\|Permission denied\.\|Sorry, try again\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(Store key in cache\? (y/n)\)\s-*" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase.*\): ? *" from remote shell
# Looking for regexp ".*ogin: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^.*\(Connection \(closed\|refused\)\|Host key
verification failed\.\|Login \(Incorrect\|incorrect\)\|Name or service not
known\|Permission denied\.\|Sorry, try again\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(Store key in cache\? (y/n)\)\s-*" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase.*\): ? *" from remote shell
# Looking for regexp ".*ogin: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^.*\(Connection \(closed\|refused\)\|Host key
verification failed\.\|Login \(Incorrect\|incorrect\)\|Name or service not
known\|Permission denied\.\|Sorry, try again\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(Store key in cache\? (y/n)\)\s-*" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase.*\): ? *" from remote shell
# Looking for regexp ".*ogin: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^.*\(Connection \(closed\|refused\)\|Host key
verification failed\.\|Login \(Incorrect\|incorrect\)\|Name or service not
known\|Permission denied\.\|Sorry, try again\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(Store key in cache\? (y/n)\)\s-*" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase.*\): ? *" from remote shell
# Looking for regexp ".*ogin: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^.*\(Connection \(closed\|refused\)\|Host key
verification failed\.\|Login \(Incorrect\|incorrect\)\|Name or service not
known\|Permission denied\.\|Sorry, try again\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(Store key in cache\? (y/n)\)\s-*" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase.*\): ? *" from remote shell
# Looking for regexp ".*ogin: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^.*\(Connection \(closed\|refused\)\|Host key
verification failed\.\|Login \(Incorrect\|incorrect\)\|Name or service not
known\|Permission denied\.\|Sorry, try again\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(Store key in cache\? (y/n)\)\s-*" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase.*\): ? *" from remote shell
# Looking for regexp ".*ogin: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^.*\(Connection \(closed\|refused\)\|Host key
verification failed\.\|Login \(Incorrect\|incorrect\)\|Name or service not
known\|Permission denied\.\|Sorry, try again\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(Store key in cache\? (y/n)\)\s-*" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase.*\): ? *" from remote shell
# Looking for regexp ".*ogin: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^.*\(Connection \(closed\|refused\)\|Host key
verification failed\.\|Login \(Incorrect\|incorrect\)\|Name or service not
known\|Permission denied\.\|Sorry, try again\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(Store key in cache\? (y/n)\)\s-*" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase.*\): ? *" from remote shell
# Looking for regexp ".*ogin: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^.*\(Connection \(closed\|refused\)\|Host key
verification failed\.\|Login \(Incorrect\|incorrect\)\|Name or service not
known\|Permission denied\.\|Sorry, try again\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(Store key in cache\? (y/n)\)\s-*" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase.*\): ? *" from remote shell
# Looking for regexp ".*ogin: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^.*\(Connection \(closed\|refused\)\|Host key
verification failed\.\|Login \(Incorrect\|incorrect\)\|Name or service not
known\|Permission denied\.\|Sorry, try again\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(Store key in cache\? (y/n)\)\s-*" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase.*\): ? *" from remote shell
# Looking for regexp ".*ogin: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^.*\(Connection \(closed\|refused\)\|Host key
verification failed\.\|Login \(Incorrect\|incorrect\)\|Name or service not
known\|Permission denied\.\|Sorry, try again\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(Store key in cache\? (y/n)\)\s-*" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase.*\): ? *" from remote shell
# Looking for regexp ".*ogin: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^.*\(Connection \(closed\|refused\)\|Host key
verification failed\.\|Login \(Incorrect\|incorrect\)\|Name or service not
known\|Permission denied\.\|Sorry, try again\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(Store key in cache\? (y/n)\)\s-*" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase.*\): ? *" from remote shell
# Looking for regexp ".*ogin: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^.*\(Connection \(closed\|refused\)\|Host key
verification failed\.\|Login \(Incorrect\|incorrect\)\|Name or service not
known\|Permission denied\.\|Sorry, try again\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(Store key in cache\? (y/n)\)\s-*" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase.*\): ? *" from remote shell
# Looking for regexp ".*ogin: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^.*\(Connection \(closed\|refused\)\|Host key
verification failed\.\|Login \(Incorrect\|incorrect\)\|Name or service not
known\|Permission denied\.\|Sorry, try again\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(Store key in cache\? (y/n)\)\s-*" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase.*\): ? *" from remote shell
# Looking for regexp ".*ogin: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^.*\(Connection \(closed\|refused\)\|Host key
verification failed\.\|Login \(Incorrect\|incorrect\)\|Name or service not
known\|Permission denied\.\|Sorry, try again\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(Store key in cache\? (y/n)\)\s-*" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase.*\): ? *" from remote shell
# Looking for regexp ".*ogin: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^.*\(Connection \(closed\|refused\)\|Host key
verification failed\.\|Login \(Incorrect\|incorrect\)\|Name or service not
known\|Permission denied\.\|Sorry, try again\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(Store key in cache\? (y/n)\)\s-*" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase.*\): ? *" from remote shell
# Looking for regexp ".*ogin: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^.*\(Connection \(closed\|refused\)\|Host key
verification failed\.\|Login \(Incorrect\|incorrect\)\|Name or service not
known\|Permission denied\.\|Sorry, try again\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(Store key in cache\? (y/n)\)\s-*" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase.*\): ? *" from remote shell
# Looking for regexp ".*ogin: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^.*\(Connection \(closed\|refused\)\|Host key
verification failed\.\|Login \(Incorrect\|incorrect\)\|Name or service not
known\|Permission denied\.\|Sorry, try again\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(Store key in cache\? (y/n)\)\s-*" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase.*\): ? *" from remote shell
# Looking for regexp ".*ogin: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^.*\(Connection \(closed\|refused\)\|Host key
verification failed\.\|Login \(Incorrect\|incorrect\)\|Name or service not
known\|Permission denied\.\|Sorry, try again\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(Store key in cache\? (y/n)\)\s-*" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase.*\): ? *" from remote shell
# Looking for regexp ".*ogin: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^.*\(Connection \(closed\|refused\)\|Host key
verification failed\.\|Login \(Incorrect\|incorrect\)\|Name or service not
known\|Permission denied\.\|Sorry, try again\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(Store key in cache\? (y/n)\)\s-*" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase.*\): ? *" from remote shell
# Looking for regexp ".*ogin: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^.*\(Connection \(closed\|refused\)\|Host key
verification failed\.\|Login \(Incorrect\|incorrect\)\|Name or service not
known\|Permission denied\.\|Sorry, try again\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(Store key in cache\? (y/n)\)\s-*" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase.*\): ? *" from remote shell
# Looking for regexp ".*ogin: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^.*\(Connection \(closed\|refused\)\|Host key
verification failed\.\|Login \(Incorrect\|incorrect\)\|Name or service not
known\|Permission denied\.\|Sorry, try again\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(Store key in cache\? (y/n)\)\s-*" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase.*\): ? *" from remote shell
# Looking for regexp ".*ogin: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^.*\(Connection \(closed\|refused\)\|Host key
verification failed\.\|Login \(Incorrect\|incorrect\)\|Name or service not
known\|Permission denied\.\|Sorry, try again\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(Store key in cache\? (y/n)\)\s-*" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase.*\): ? *" from remote shell
# Looking for regexp ".*ogin: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^.*\(Connection \(closed\|refused\)\|Host key
verification failed\.\|Login \(Incorrect\|incorrect\)\|Name or service not
known\|Permission denied\.\|Sorry, try again\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(Store key in cache\? (y/n)\)\s-*" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase.*\): ? *" from remote shell
# Looking for regexp ".*ogin: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^.*\(Connection \(closed\|refused\)\|Host key
verification failed\.\|Login \(Incorrect\|incorrect\)\|Name or service not
known\|Permission denied\.\|Sorry, try again\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(Store key in cache\? (y/n)\)\s-*" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase.*\): ? *" from remote shell
# Looking for regexp ".*ogin: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^.*\(Connection \(closed\|refused\)\|Host key
verification failed\.\|Login \(Incorrect\|incorrect\)\|Name or service not
known\|Permission denied\.\|Sorry, try again\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(Store key in cache\? (y/n)\)\s-*" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase.*\): ? *" from remote shell
# Looking for regexp ".*ogin: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^.*\(Connection \(closed\|refused\)\|Host key
verification failed\.\|Login \(Incorrect\|incorrect\)\|Name or service not
known\|Permission denied\.\|Sorry, try again\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(Store key in cache\? (y/n)\)\s-*" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase.*\): ? *" from remote shell
# Looking for regexp ".*ogin: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^.*\(Connection \(closed\|refused\)\|Host key
verification failed\.\|Login \(Incorrect\|incorrect\)\|Name or service not
known\|Permission denied\.\|Sorry, try again\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(Store key in cache\? (y/n)\)\s-*" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase.*\): ? *" from remote shell
# Looking for regexp ".*ogin: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^.*\(Connection \(closed\|refused\)\|Host key
verification failed\.\|Login \(Incorrect\|incorrect\)\|Name or service not
known\|Permission denied\.\|Sorry, try again\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(Store key in cache\? (y/n)\)\s-*" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase.*\): ? *" from remote shell
# Looking for regexp ".*ogin: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^.*\(Connection \(closed\|refused\)\|Host key
verification failed\.\|Login \(Incorrect\|incorrect\)\|Name or service not
known\|Permission denied\.\|Sorry, try again\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(Store key in cache\? (y/n)\)\s-*" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase.*\): ? *" from remote shell
# Looking for regexp ".*ogin: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^.*\(Connection \(closed\|refused\)\|Host key
verification failed\.\|Login \(Incorrect\|incorrect\)\|Name or service not
known\|Permission denied\.\|Sorry, try again\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(Store key in cache\? (y/n)\)\s-*" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase.*\): ? *" from remote shell
# Looking for regexp ".*ogin: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^.*\(Connection \(closed\|refused\)\|Host key
verification failed\.\|Login \(Incorrect\|incorrect\)\|Name or service not
known\|Permission denied\.\|Sorry, try again\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(Store key in cache\? (y/n)\)\s-*" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase.*\): ? *" from remote shell
# Looking for regexp ".*ogin: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^.*\(Connection \(closed\|refused\)\|Host key
verification failed\.\|Login \(Incorrect\|incorrect\)\|Name or service not
known\|Permission denied\.\|Sorry, try again\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(Store key in cache\? (y/n)\)\s-*" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase.*\): ? *" from remote shell
# Looking for regexp ".*ogin: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^.*\(Connection \(closed\|refused\)\|Host key
verification failed\.\|Login \(Incorrect\|incorrect\)\|Name or service not
known\|Permission denied\.\|Sorry, try again\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(Store key in cache\? (y/n)\)\s-*" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase.*\): ? *" from remote shell
# Looking for regexp ".*ogin: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^.*\(Connection \(closed\|refused\)\|Host key
verification failed\.\|Login \(Incorrect\|incorrect\)\|Name or service not
known\|Permission denied\.\|Sorry, try again\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(Store key in cache\? (y/n)\)\s-*" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase.*\): ? *" from remote shell
# Looking for regexp ".*ogin: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^.*\(Connection \(closed\|refused\)\|Host key
verification failed\.\|Login \(Incorrect\|incorrect\)\|Name or service not
known\|Permission denied\.\|Sorry, try again\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(Store key in cache\? (y/n)\)\s-*" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase.*\): ? *" from remote shell
# Looking for regexp ".*ogin: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^.*\(Connection \(closed\|refused\)\|Host key
verification failed\.\|Login \(Incorrect\|incorrect\)\|Name or service not
known\|Permission denied\.\|Sorry, try again\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(Store key in cache\? (y/n)\)\s-*" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase.*\): ? *" from remote shell
# Looking for regexp ".*ogin: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^.*\(Connection \(closed\|refused\)\|Host key
verification failed\.\|Login \(Incorrect\|incorrect\)\|Name or service not
known\|Permission denied\.\|Sorry, try again\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(Store key in cache\? (y/n)\)\s-*" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase.*\): ? *" from remote shell
# Looking for regexp ".*ogin: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^.*\(Connection \(closed\|refused\)\|Host key
verification failed\.\|Login \(Incorrect\|incorrect\)\|Name or service not
known\|Permission denied\.\|Sorry, try again\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(Store key in cache\? (y/n)\)\s-*" from remote shell
# Opening connection for address@hidden using plink...
# Waiting for prompts from remote shell
# Waiting 60s for prompt from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase.*\): ? *" from remote shell
# Sending password
# Looking for regexp ".*ogin: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^.*\(Connection \(closed\|refused\)\|Host key
verification failed\.\|Login \(Incorrect\|incorrect\)\|Name or service not
known\|Permission denied\.\|Sorry, try again\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(Store key in cache\? (y/n)\)\s-*" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase.*\): ? *" from remote shell
# Looking for regexp ".*ogin: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^.*\(Connection \(closed\|refused\)\|Host key
verification failed\.\|Login \(Incorrect\|incorrect\)\|Name or service not
known\|Permission denied\.\|Sorry, try again\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(Store key in cache\? (y/n)\)\s-*" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase.*\): ? *" from remote shell
# Looking for regexp ".*ogin: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^.*\(Connection \(closed\|refused\)\|Host key
verification failed\.\|Login \(Incorrect\|incorrect\)\|Name or service not
known\|Permission denied\.\|Sorry, try again\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(Store key in cache\? (y/n)\)\s-*" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase.*\): ? *" from remote shell
# Looking for regexp ".*ogin: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Found remote shell prompt.
# Initializing remote shell
$ exec env PS1='$ ' /bin/sh
# Waiting 30s for remote `/bin/sh' to come up...
exec env 'PS1=$ ' /bin/sh
$ # Setting up remote shell environment
stty -inlcr -echo kill '^U'
$ $ # Determining coding system
foo
bar
$ # Waiting 30s for `HISTFILE=$HOME/.tramp_history; HISTSIZE=1'
$ # Waiting 30s for `set +o vi +o emacs'
$ # Waiting 30s for `unset MAIL MAILCHECK MAILPATH'
$ # Waiting 30s for `unset CDPATH'
$ # Setting shell prompt
$ PS1='
/////
'; PS2=''; PS3=''
$ echo ~root
/root
# Remote `/bin/sh' groks tilde expansion, good
# Finding command to check if file exists
$ test -e / 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 0
$ test -e /\ this\ file\ does\ not\ exist\ 2>/dev/null; echo tramp_exit_status
$?
tramp_exit_status 1
# Finding a suitable `ls' command
# Checking remote `/export/home/gray/bin/ls' command for `-n' option
$ test -x /export/home/gray/bin/ls 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 1
# Checking remote `/bin/ls' command for `-n' option
$ test -x /bin/ls 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 0
# Testing remote command `/bin/ls' for -n...
$ /bin/ls -lnd / >/dev/null 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 0
# Testing remote command `/bin/ls' for -n...okay
# Using remote command `/bin/ls' for getting directory listings
$ tramp_set_exit_status () {
return $1
}
$ test -e /export/home/gray/bin 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 1
$ test -e /bin 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 0
$ ( test -d /bin 2>/dev/null; echo tramp_exit_status $? )
tramp_exit_status 0
$ test -e /usr/bin 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 0
$ ( test -d /usr/bin 2>/dev/null; echo tramp_exit_status $? )
tramp_exit_status 0
$ test -e /usr/sbin 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 0
$ ( test -d /usr/sbin 2>/dev/null; echo tramp_exit_status $? )
tramp_exit_status 0
$ test -e /usr/local/bin 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 0
$ ( test -d /usr/local/bin 2>/dev/null; echo tramp_exit_status $? )
tramp_exit_status 0
$ test -e /usr/ccs/bin 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 1
$ test -e /local/bin 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 1
$ test -e /local/freeware/bin 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 1
$ test -e /local/gnu/bin 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 1
$ test -e /usr/freeware/bin 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 1
$ test -e /usr/pkg/bin 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 1
$ test -e /usr/contrib/bin 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 1
$ PATH=/bin:/usr/bin:/usr/sbin:/usr/local/bin; export PATH
$ LC_TIME=C; export LC_TIME; echo huhu
huhu
$ mesg n; echo huhu
huhu
$ biff n ; echo huhu
sh: biff: command not found
huhu
$ unalias ls; echo huhu
sh: unalias: `ls': not an alias
huhu
$ ( test / -nt / )
$ tramp_test_nt () {
test -n "`find $1 -prune -newer $2 -print`"
}
$ tramp_uudecode () {
(echo begin 600 /tmp/tramp.$$; tail +2) | uudecode
cat /tmp/tramp.$$
rm -f /tmp/tramp.$$
}
$ while read d; do if test -x $d/perl5 -a -f $d/perl5; then echo
tramp_executable $d/perl5; break; fi; done <<'EOF'
$ /export/home/gray/bin
$ /bin
$ /usr/bin
$ /usr/sbin
$ /usr/local/bin
$ /usr/ccs/bin
$ /local/bin
$ /local/freeware/bin
$ /local/gnu/bin
$ /usr/freeware/bin
$ /usr/pkg/bin
$ /usr/contrib/bin
$ EOF
$ while read d; do if test -x $d/perl -a -f $d/perl; then echo tramp_executable
$d/perl; break; fi; done <<'EOF'
$ /export/home/gray/bin
$ /bin
$ /usr/bin
$ /usr/sbin
$ /usr/local/bin
$ /usr/ccs/bin
$ /local/bin
$ /local/freeware/bin
$ /local/gnu/bin
$ /usr/freeware/bin
$ /usr/pkg/bin
$ /usr/contrib/bin
$ EOF
tramp_executable /usr/bin/perl
# Sending the Perl `file-attributes' implementation.
$ tramp_file_attributes () {
/usr/bin/perl -e '$f = $ARGV[0];
@s = lstat($f);
if (($s[2] & 0170000) == 0120000) { $l = readlink($f); $l = "\"$l\""; }
elsif (($s[2] & 0170000) == 040000) { $l = "t"; }
else { $l = "nil" };
printf("(%s %u %d %d (%u %u) (%u %u) (%u %u) %u %u t (%u . %u) (%u %u))\n",
$l, $s[3], $s[4], $s[5], $s[8] >> 16 & 0xffff, $s[8] & 0xffff,
$s[9] >> 16 & 0xffff, $s[9] & 0xffff, $s[10] >> 16 & 0xffff, $s[10] & 0xffff,
$s[7], $s[2], $s[1] >> 16 & 0xffff, $s[1] & 0xffff, $s[0] >> 16 & 0xffff, $s[0]
& 0xffff);' $1 2>/dev/null
}
# Sending the Perl `mime-encode' implementations.
$ tramp_encode () {
/usr/bin/perl -e '
# This script contributed by Juanma Barranquero <address@hidden>.
# Copyright (C) 2002 Free Software Foundation, Inc.
use strict;
my %trans = do {
my $i = 0;
map {(substr(unpack(q(B8), chr $i++), 2, 6), $_)}
split //,
q(ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/);
};
binmode(\*STDIN);
# We read in chunks of 54 bytes, to generate output lines
# of 72 chars (plus end of line)
$/ = \54;
while (my $data = <STDIN>) {
my $pad = q();
# Only for the last chunk, and only if did not fill the last three-byte
packet
if (eof) {
my $mod = length($data) % 3;
$pad = q(=) x (3 - $mod) if $mod;
}
# Not the fastest method, but it is simple: unpack to binary string, split
# by groups of 6 bits and convert back from binary to byte; then map into
# the translation table
print
join q(),
map($trans{$_},
(substr(unpack(q(B*), $data) . q(00000), 0, 432) =~ /....../g)),
$pad,
qq(\n);
}
' 2>/dev/null
}
$ tramp_encode_with_module () {
perl -MMIME::Base64 -0777 -ne 'print encode_base64($_)' 2>/dev/null
}
# Sending the Perl `mime-decode' implementations.
$ tramp_decode () {
/usr/bin/perl -e '
# This script contributed by Juanma Barranquero <address@hidden>.
# Copyright (C) 2002 Free Software Foundation, Inc.
use strict;
my %trans = do {
my $i = 0;
map {($_, sprintf(q(%06b), $i++))}
split //,
q(ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/)
};
my %bytes = map {(unpack(q(B8), chr $_), chr $_)} 0 .. 255;
binmode(\*STDOUT);
# We are going to accumulate into $pending to accept any line length
# (we do not check they are <= 76 chars as the RFC says)
my $pending = q();
while (my $data = <STDIN>) {
chomp $data;
# If we find one or two =, we have reached the end and
# any following data is to be discarded
my $finished = $data =~ s/(==?).*/$1/;
$pending .= $data;
my $len = length($pending);
my $chunk = substr($pending, 0, $len & ~3, q());
# Easy method: translate from chars to (pregenerated) six-bit packets, join,
# split in 8-bit chunks and convert back to char.
print join q(),
map $bytes{$_},
((join q(), map {$trans{$_} || q()} split //, $chunk) =~ /......../g);
last if $finished;
}
' 2>/dev/null
}
$ tramp_decode_with_module () {
perl -MMIME::Base64 -0777 -ne 'print decode_base64($_)' 2>/dev/null
}
$ while read d; do if test -x $d/ln -a -f $d/ln; then echo tramp_executable
$d/ln; break; fi; done <<'EOF'
$ /export/home/gray/bin
$ /bin
$ /usr/bin
$ /usr/sbin
$ /usr/local/bin
$ /usr/ccs/bin
$ /local/bin
$ /local/freeware/bin
$ /local/gnu/bin
$ /usr/freeware/bin
$ /usr/pkg/bin
$ /usr/contrib/bin
$ EOF
tramp_executable /bin/ln
# Checking remote encoding command `mimencode -b' for sanity
$ ( mimencode -b </dev/null >/dev/null 2>/dev/null; echo tramp_exit_status $? )
tramp_exit_status 0
# Checking remote decoding command `mimencode -u -b' for sanity
$ ( echo xyzzy | mimencode -b | mimencode -u -b >/dev/null 2>/dev/null; echo
tramp_exit_status $? )
tramp_exit_status 0
# Checking to see if encoding/decoding commands work on remote host...
$ echo xyzzy | mimencode -b | mimencode -u -b
xyzzy
# Checking to see if encoding/decoding commands work on remote host...done
$ cd ~; pwd
/home/gray
$ ( test -d /home/gray/work/ldaps.pl 2>/dev/null; echo tramp_exit_status $? )
tramp_exit_status 1
# Finding true name for `/plink:address@hidden:/home/gray/work/ldaps.pl'
# Check /home
$ test -e /home 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 0
# file attributes with perl: /plink:address@hidden:/home
$ tramp_file_attributes /home
(t 13 0 0 (15744 941) (15703 46115) (15703 46115) 4096 16877 t (1 . 30746) (0
769))
# Check /home/gray
$ test -e /home/gray 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 0
# file attributes with perl: /plink:address@hidden:/home/gray
$ tramp_file_attributes /home/gray
(t 20 500 500 (15745 1329) (15744 26181) (15744 26181) 4096 16877 t (1 . 63138)
(0 769))
# Check /home/gray/work
$ test -e /home/gray/work 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 0
# file attributes with perl: /plink:address@hidden:/home/gray/work
$ tramp_file_attributes /home/gray/work
(t 17 500 500 (15744 24755) (15744 18291) (15744 18291) 4096 16893 t (1 .
63180) (0 769))
# Check /home/gray/work/ldaps.pl
$ test -e /home/gray/work/ldaps.pl 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 0
# file attributes with perl: /plink:address@hidden:/home/gray/work/ldaps.pl
$ tramp_file_attributes /home/gray/work/ldaps.pl
(nil 1 500 500 (15744 17457) (15744 17430) (15744 17430) 2018 33204 t (1 .
63169) (0 769))
# True name of `/plink:address@hidden:/home/gray/work/ldaps.pl' is
`/home/gray/work/ldaps.pl'
$ test -e /home/gray/work/ldaps.pl 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 0
# file attributes with perl: /plink:address@hidden:/home/gray/work/ldaps.pl
$ tramp_file_attributes /home/gray/work/ldaps.pl
(nil 1 500 500 (15744 17457) (15744 17430) (15744 17430) 2018 33204 t (1 .
63169) (0 769))
# Finding true name for `/plink:address@hidden:/home/gray/work/ldaps.pl'
# Check /home
$ test -e /home 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 0
# file attributes with perl: /plink:address@hidden:/home
$ tramp_file_attributes /home
(t 13 0 0 (15744 941) (15703 46115) (15703 46115) 4096 16877 t (1 . 30746) (0
769))
# Check /home/gray
$ test -e /home/gray 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 0
# file attributes with perl: /plink:address@hidden:/home/gray
$ tramp_file_attributes /home/gray
(t 20 500 500 (15745 1329) (15744 26181) (15744 26181) 4096 16877 t (1 . 63138)
(0 769))
# Check /home/gray/work
$ test -e /home/gray/work 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 0
# file attributes with perl: /plink:address@hidden:/home/gray/work
$ tramp_file_attributes /home/gray/work
(t 17 500 500 (15744 24755) (15744 18291) (15744 18291) 4096 16893 t (1 .
63180) (0 769))
# Check /home/gray/work/ldaps.pl
$ test -e /home/gray/work/ldaps.pl 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 0
# file attributes with perl: /plink:address@hidden:/home/gray/work/ldaps.pl
$ tramp_file_attributes /home/gray/work/ldaps.pl
(nil 1 500 500 (15744 17457) (15744 17430) (15744 17430) 2018 33204 t (1 .
63169) (0 769))
# True name of `/plink:address@hidden:/home/gray/work/ldaps.pl' is
`/home/gray/work/ldaps.pl'
$ test -e /home/gray/work/ldaps.pl 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 0
# file attributes with perl: /plink:address@hidden:/home/gray/work/ldaps.pl
$ tramp_file_attributes /home/gray/work/ldaps.pl
(nil 1 500 500 (15744 17457) (15744 17430) (15744 17430) 2018 33204 t (1 .
63169) (0 769))
$ test -e /home/gray/work/ldaps.pl 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 0
$ test -e /home/gray/work/ldaps.pl 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 0
# Encoding remote file /plink:address@hidden:/home/gray/work/ldaps.pl...
$ mimencode -b < /home/gray/work/ldaps.pl 2>/dev/null; echo tramp_exit_status
$?
IyBHZXQgZGV0YWlscyAKbXkgJGZpbHRlciwkcGFzc3dkLCRob3N0LCR2ZXJpZnk7CmlmICgk
I0FSR1YgPT0gMykgewogICAgKCRmaWx0ZXIsICRwYXNzd2QsJGhvc3QsJHZlcmlmeSk9QEFS
R1Y7Cn0gZWxzZSB7CiAgICBwcmludCAiRmlsdGVyOiAiOwogICAgJGZpbHRlcj08U1RESU4+
OwogICAgY2hvcCAkZmlsdGVyOwogICAgcHJpbnQgIlBhc3N3b3JkOiAiOwogICAgJHBhc3N3
ZD08U1RESU4+OwogICAgY2hvcCAkcGFzc3dkOwogICAgcHJpbnQgIkxEQVBTIEhvc3Q6ICI7
CiAgICAkaG9zdD08U1RESU4+OwogICAgY2hvcCAkaG9zdDsKICAgIHByaW50ICJDZXJ0aWZp
Y2F0ZSB2ZXJpZmljYXRpb24gKG5vbmUvcmVxdWlyZSk6ICI7CiAgICAkdmVyaWZ5PTxTVERJ
Tj47CiAgICBjaG9wICR2ZXJpZnk7Cn0KCnVzZSBOZXQ6OkxEQVBTOwojJGxkYXAgPSBuZXcg
TmV0OjpMREFQUygnaG9sc3QuaG91c3Rvbi5zaW5ldC5zbGIuY29tJyx2ZXJzaW9uPT4zKSBv
ciBkaWUgIiRAIjsKIyRsZGFwID0gbmV3IE5ldDo6TERBUFMoJ2xkYXAyLnNsYi5jb20nLHZl
cnNpb249PjMpIG9yIGRpZSAiJEAiOwojJGxkYXAgPSBuZXcgTmV0OjpMREFQUygnbGRhcDQu
c2xiLmNvbScsdmVyc2lvbj0+Mykgb3IgZGllICIkQCI7CiMkbGRhcCA9IG5ldyBOZXQ6OkxE
QVBTKCdsZGFwLnNsYi5jb20nLHZlcnNpb249PjMpIG9yIGRpZSAiJEAiOwojIFNldCBhIHRp
bWVyCiR0aW1lb3V0PTEwOwokU0lHe0FMUk19ID0gc3ViIHsgZGllICJ0aW1lb3V0IiB9Owpl
dmFsIHsKICAgIGFsYXJtKCR0aW1lb3V0KTsKICAgICRsZGFwID0gbmV3IE5ldDo6TERBUFMo
JGhvc3QsdmVyc2lvbj0+Myx2ZXJpZnk9PiR2ZXJpZnksb25lcnJvcj0+J3dhcm4nKTsKICAg
IGFsYXJtKDApOwp9OwppZiAoJEApIHsKICAgIGlmICgkQCA9fiAvdGltZW91dC8pIHsKCWRp
ZSAiQ29ubmVjdGlvbiB0byAkaG9zdCBwb3J0IGZhaWxlZCB0byBzdGFydCBpbiAkdGltZW91
dCBzZWNvbmRzISI7CiAgICB9IGVsc2UgewoJZGllICRAOwogICAgfQp9CnVubGVzcyAoJGxk
YXApIHsKICAgIGRpZSAiQ29ubmVjdGlvbiB0byAkaG9zdCBmYWlsZWQhIjsKfSAgICAgIAoK
JG1lc2cgPSAkbGRhcC0+c2VhcmNoICggICMgcGVyZm9ybSBhIHNlYXJjaAoJCQkgYmFzZSAg
ID0+ICJvPXNsYixjPUFOIiwKCQkJIGZpbHRlciA9PiAkZmlsdGVyLAoJCQkgYXR0cnMgPT4g
WydhbGlhcycsJ2NuJywnbWFpbCddCgkJCSAKCQkJICk7CiRtZXNnLT5jb2RlICYmIGRpZSAk
bWVzZy0+ZXJyb3I7CgogICMgQ2hlY2sgb25lIHJlY29yZCBhbmQgZ2V0IEROCm15ICRtYXg9
JG1lc2ctPmNvdW50OwppZiAoJG1heCAhPSAxKSB7CiAgICBwcmludCBxcXtGb3VuZCAkbWF4
IG1hdGNoZXMgdG8gdGhlIGZpbHRlciAiJGZpbHRlciI6XG59LAogICAgJy0neDIwLCJcbiI7
CiAgICBmb3IoJGkgPSAwIDsgJGkgPCAkbWF4IDsgJGkrKykgewoJbXkgJGVudHJ5ID0gJG1l
c2ctPmVudHJ5KCRpKTsKCWZvcmVhY2ggbXkgJGF0dHIgKCRlbnRyeS0+YXR0cmlidXRlcykg
ewoJICAgIHByaW50ICcgJyxqb2luKCJcbiAgIiwkYXR0ciwgJGVudHJ5LT5nZXRfdmFsdWUo
JGF0dHIpKSwiXG4iOwoJfQoJcHJpbnQgJy0neDIwLCJcbiI7CiAgICB9CiAgICBwcmludCAi
TXVzdCBoYXZlIG9uZSBtYXRjaCBmb3IgbG9naW4hXG4iOwp9IGVsc2UgewogICAgbXkgJGVu
dHJ5ID0gJG1lc2ctPmVudHJ5KDApOwogICAgbXkgJGRuPSRlbnRyeS0+ZG47CiAgICBpZiAo
JHBhc3N3ZCBlcSAnJykgewoJcHJpbnQgIkNhbm5vdCBhdXRoZW50aWNhdGUgd2l0aCBibGFu
ayBwYXNzd29yZCFcbiI7CiAgICB9IGVsc2UgewoJJG1lc2cgPSAkbGRhcC0+YmluZCggJGRu
LCBwYXNzd29yZCA9PiAkcGFzc3dkKTsKCWlmICgkbWVzZy0+Y29kZSkgewoJICAgIHByaW50
ICJGYWlsZWQgdG8gYXV0aGVudGljYXRlIGFzICRkblxuIiwkbWVzZy0+ZXJyb3IsIlxuIjsK
CX0gZWxzZSB7CgkgICAgcHJpbnQgIkF1dGhlbnRpY2F0ZWQgYXMgJGRuXG4iOwoJfQogICAg
fQp9CgokbGRhcC0+dW5iaW5kOwo=
tramp_exit_status 0
# Decoding remote file /plink:address@hidden:/home/gray/work/ldaps.pl...
# Decoding remote file /plink:address@hidden:/home/gray/work/ldaps.pl with
function base64-decode-region...
# Decoding remote file /plink:address@hidden:/home/gray/work/ldaps.pl...done
$ test -e /home/gray/work/ldaps.pl 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 0
# file attributes with perl: /plink:address@hidden:/home/gray/work/ldaps.pl
$ tramp_file_attributes /home/gray/work/ldaps.pl
(nil 1 500 500 (15745 1351) (15744 17430) (15744 17430) 2018 33204 t (1 .
63169) (0 769))
# Inserting local temp file `d:/Temp/tramp.916sUQ'...
$ test -e /home/gray/work/ldaps.pl 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 0
# file attributes with perl: /plink:address@hidden:/home/gray/work/ldaps.pl
$ tramp_file_attributes /home/gray/work/ldaps.pl
(nil 1 500 500 (15745 1351) (15744 17430) (15744 17430) 2018 33204 t (1 .
63169) (0 769))
$ test -e /home/gray/work/ldaps.pl 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 0
$ test -w /home/gray/work/ldaps.pl 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 0
$ test -e /home/gray/work/RCS/ldaps.pl\,v 2>/dev/null; echo tramp_exit_status
$?
tramp_exit_status 1
$ test -e /home/gray/work/ldaps.pl\,v 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 1
$ test -e /home/gray/work/RCS/ldaps.pl 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 1
$ test -e /home/gray/work/SCCS/s.ldaps.pl 2>/dev/null; echo tramp_exit_status
$?
tramp_exit_status 1
$ test -e /home/gray/work/s.ldaps.pl 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 1
$ ( test -d /home/gray/work/CVS 2>/dev/null; echo tramp_exit_status $? )
tramp_exit_status 1
$ echo are you awake
are you awake
$ cd /home/gray/work/ 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 0
$ /bin/ls -a -d ldap* 2>/dev/null | while read f; do if test -d "$f"
2>/dev/null; then echo "$f/"; else echo "$f"; fi; done
ldap/
ldap-mail-logs/
ldap.pl
ldap.pl~
ldaps.pl
ldaps.pl~
ldap.tar.gz
ldap-then-tls.pl~
ldap-then-tls.pl
$ cd
$ test -e /home/gray/work/ldap 2>/dev/null; echo tramp_exit_status $?
tramp_exit_status 0
--
================================
Douglas GRAY STEPHENS
Technical Architect (Directories)
Schlumberger Cambridge Research
High Cross,
Madingley Road,
Cambridge.
CB3 0EL
ENGLAND
Phone +44 1223 325295
Mobile +44 773 0051628
Fax +44 1223 311830
Email address@hidden
================================
- Re: Tramp and NT-Emacs with plink, (continued)
- Re: Tramp and NT-Emacs with plink, Kai Großjohann, 2002/09/12
- Re: Tramp and NT-Emacs with plink, Kai Großjohann, 2002/09/12
- Re: Tramp and NT-Emacs with plink, Jonathan Epstein, 2002/09/12
- Re: Tramp and NT-Emacs with plink, Michael Albinus, 2002/09/13
- Re: Tramp and NT-Emacs with plink, Kai Großjohann, 2002/09/13
- Re: Tramp and NT-Emacs with plink, Kai Großjohann, 2002/09/13
- Re: Tramp and NT-Emacs with plink, Douglas Gray Stephens, 2002/09/13
- Re: Tramp and NT-Emacs with plink, Kai Großjohann, 2002/09/13
- Re: Tramp and NT-Emacs with plink, Rainer Thiel, 2002/09/13
- Re: Tramp and NT-Emacs with plink, Kai Großjohann, 2002/09/13
- Re: Tramp and NT-Emacs with plink,
Douglas Gray Stephens <=
- Re: Tramp and NT-Emacs with plink, Kai Großjohann, 2002/09/13
- Re: Tramp and NT-Emacs with plink, Douglas Gray Stephens, 2002/09/13
- Re: Tramp and NT-Emacs with plink, Douglas Gray Stephens, 2002/09/13
- Re: Tramp and NT-Emacs with plink, Kai Großjohann, 2002/09/13
- Re: Tramp and NT-Emacs with plink, Douglas Gray Stephens, 2002/09/13
- Re: Tramp and NT-Emacs with plink, Kai Großjohann, 2002/09/13
- Re: Tramp and NT-Emacs with plink, Douglas Gray Stephens, 2002/09/13
- Re: Tramp and NT-Emacs with plink, Kai Großjohann, 2002/09/13
- Re: Tramp and NT-Emacs with plink, Douglas Gray Stephens, 2002/09/25
- Re: Tramp and NT-Emacs with plink, Kai Großjohann, 2002/09/25