zsh-workers
 help / color / mirror / code / Atom feed
* scp completion - garbled output
@ 2002-01-31 12:57 Borsenkow Andrej
  2002-01-31 15:26 ` Bart Schaefer
  0 siblings, 1 reply; 2+ messages in thread
From: Borsenkow Andrej @ 2002-01-31 12:57 UTC (permalink / raw)
  To: 'Zsh hackers list'

bor@cooker% scp -p itsrm2:tmp/bufzsh: no matches found: tmp/buf*
zsh: no matches found: tmp/buf*
zsh: no matches found: tmp/buf*

No matches for: `file' or `remote files'

This is with 4.0.4 (as shipped by Mandrake).

-andrej


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: scp completion - garbled output
  2002-01-31 12:57 scp completion - garbled output Borsenkow Andrej
@ 2002-01-31 15:26 ` Bart Schaefer
  0 siblings, 0 replies; 2+ messages in thread
From: Bart Schaefer @ 2002-01-31 15:26 UTC (permalink / raw)
  To: Borsenkow Andrej, 'Zsh hackers list'

On Jan 31,  3:57pm, Borsenkow Andrej wrote:
} Subject: scp completion - garbled output
}
} bor@cooker% scp -p itsrm2:tmp/bufzsh: no matches found: tmp/buf*
} zsh: no matches found: tmp/buf*
} zsh: no matches found: tmp/buf*

This is coming from _remote_files where it does (in a _wanted call):

    $(ssh -a -x ${words[CURRENT]%:*} echo ${words[CURRENT]#*:}\*)

The message appears repeatedly because this gets tried once by each
function in your completer style.

The right thing appears to be to put 2>/dev/null inside the $(...).
But there will still be a problem if you have to type a password to get
ssh access to the remote host.  It'd be nice if `zle redisplay' or the
equivalent would work from inside a completion widget.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-01-31 15:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-31 12:57 scp completion - garbled output Borsenkow Andrej
2002-01-31 15:26 ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).