[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tramp (2.0.55); garbage on OpenWRT

From: Michael Albinus
Subject: Re: tramp (2.0.55); garbage on OpenWRT
Date: Fri, 20 Jul 2007 10:14:05 +0200
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (hpux)

address@hidden (Trent W. Buck) writes:

> OpenWRT is a minimal Linux distro for embedded routers.  The ssh
> method doesn't work because it can't find uuencode nor perl, but I
> managed to install rsync on it.  With ido on, I get some garbage in
> the completion on the minibuffer:
>     Find file: /rsync:address@hidden:{/bin/ls -a  2>/dev/null | while read f; 
> do  ^Hif test -d "$f" 2>/dev/null; then echo "$f/"; else echo "$f"; fi; done 
> | 16 | dhcp.leases | ez-ipupdate.cache | log/ | resolv.conf | 
> | run/ | spool/ | usr/}

Looks to me like the shell in OpenWRT echoes the commands. Try setting
(setq tramp-process-echoes t) before starting, there is some heuristic
in Tramp to suppress the echoes then. Reading the code, this could
work for simple Tramp commands only, so I don't know whether it works
for you.

If it doesn't work, you might consider to switch to Tramp 2.1. It has
a more sophisticated implementation of suppressing command echoes,
introduced for handling busybox. AFAIK, busybox is also the shell used
in OpenWRT. You don't need to set tramp-process-echoes there.

Best regards, Michael.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]