Re: SFTP no autocompletion?

2007-05-17 Thread Mouring
Darren Tucker dtucker at zip.com.au writes:

 
 On Tue, May 15, 2007 at 12:36:43PM +0200, Paul de Weerd wrote:
  On Tue, May 15, 2007 at 11:33:27AM +0200, Pieter Verberne wrote:
  | Hi there,
  | 
  | does SFTP have no TAB-autocompletion for local/remote files? TAB
  | doesn't work. It makes transferring files very clumsy. And does SFTP
  | secure my username and password or only my file transfers by default?
  
  SFTP uses ssh and thus secures the entire connection. The sftp(1)
  client that comes by default with OpenBSD does not do tabcompletion.
  Feel free to use another client or to write support for it and send a
  patch ;)
 
 Anyone looking into this would probably want to look at what Ben
 Lindstrom has already done with this:
 
 http://www.eviladmin.org/patches/sftp-tab.patch
 


I would just beware of this patch.  It works fine for local files, but there are
some serious flaws in remote file completion due to the fact that remote-glob()
doesn't act like glob() (Read:  sftp will crash in some cases).

This is a long known bug to me, but I've had very little energy to complete it
since I have no real backers nor have had time in the past few years.

Just wanted to provide the warning. =-)

- Ben



SFTP no autocompletion?

2007-05-15 Thread Pieter Verberne
Hi there,

does SFTP have no TAB-autocompletion for local/remote files? TAB doesn't work. 
It makes transferring files very clumsy. And does SFTP secure my username and 
password or only my file transfers by default?

Pieter Verberne

p.s. (my lines are longer than 72 caracters, is that a problem?)



Re: SFTP no autocompletion?

2007-05-15 Thread Paul de Weerd
On Tue, May 15, 2007 at 11:33:27AM +0200, Pieter Verberne wrote:
| Hi there,
| 
| does SFTP have no TAB-autocompletion for local/remote files? TAB
| doesn't work. It makes transferring files very clumsy. And does SFTP
| secure my username and password or only my file transfers by default?

SFTP uses ssh and thus secures the entire connection. The sftp(1)
client that comes by default with OpenBSD does not do tabcompletion.
Feel free to use another client or to write support for it and send a
patch ;)

| Pieter Verberne
| 
| p.s. (my lines are longer than 72 caracters, is that a problem?)

Yes. You shouldn't. Why are you even asking and not just limiting your
lines to 72 chars ? Please read http://www.openbsd.org/mail.html

Paul 'WEiRD' de Weerd

-- 
[++-]+++.+++[---].+++[+
+++-].++[-]+.--.[-]
 http://www.weirdnet.nl/ 



Re: SFTP no autocompletion?

2007-05-15 Thread Darren Tucker
On Tue, May 15, 2007 at 12:36:43PM +0200, Paul de Weerd wrote:
 On Tue, May 15, 2007 at 11:33:27AM +0200, Pieter Verberne wrote:
 | Hi there,
 | 
 | does SFTP have no TAB-autocompletion for local/remote files? TAB
 | doesn't work. It makes transferring files very clumsy. And does SFTP
 | secure my username and password or only my file transfers by default?
 
 SFTP uses ssh and thus secures the entire connection. The sftp(1)
 client that comes by default with OpenBSD does not do tabcompletion.
 Feel free to use another client or to write support for it and send a
 patch ;)

Anyone looking into this would probably want to look at what Ben
Lindstrom has already done with this:

http://www.eviladmin.org/patches/sftp-tab.patch

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.