tramp-devel
[Top][All Lists]
Advanced

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

Re: tramp (2.2.6-pre); remote rgrep doesn't work for me


From: Michael Albinus
Subject: Re: tramp (2.2.6-pre); remote rgrep doesn't work for me
Date: Sun, 16 Dec 2012 20:03:42 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Dave Abrahams <address@hidden> writes:

Hi Dave,

>> you could open a shell in your local Emacs, running on the remote
>> host:
>>
>> M-x cd /scpc:honu:/Users/dave/buildAgent/
>> M-x shell
>>
>> There you could run the same command, and check whether it causes problems.
>
> Interesting.  The result depends on how I choose the remote shell that
> Tramp prompts me for.  /bin/zsh works fine, but /bin/bash gives me a
> bunch of ^Gs.  I don't know what to make of this.

I'm sorry, but I'm not a shell expert. No idea why bash sends you bells.

Maybe it is due to the very long command line? What happens, if you send
the command in the Emacs shell as (several lines)

--8<---------------cut here---------------start------------->8---
cd /Users/dave/buildAgent/
exec env PS1=/scpc\:honu\:\ \#\$\  /bin/sh -c find\ .\ -type\ d\ \
\\\(\ -path\ \\\*/SCCS\ -o\ -path\ \\\*/RCS\ -o\ -path\ \\\*/CVS\ -o\ \
-path\ \\\*/MCVS\ -o\ -path\ \\\*/.svn\ -o\ -path\ \\\*/.git\ -o\ \
-path\ \\\*/.hg\ -o\ -path\ \\\*/.bzr\ -o\ -path\ \\\*/_MTN\ -o\ \
-path\ \\\*/_darcs\ -o\ -path\ \\\*/\\\{arch\\\}\ \\\)\ -prune\ -o\ \
\\\(\ -name\ .\\\#\\\*\ -o\ -name\ \\\*.glob\ -o\ -name\ \\\*.vo\ -o\ \
-name\ \\\*.o\ -o\ -name\ \\\*\\\~\ -o\ -name\ \\\*.bin\ -o\ \
-name\ \\\*.lbin\ -o\ -name\ \\\*.so\ -o\ -name\ \\\*.a\ -o\ \
-name\ \\\*.ln\ -o\ -name\ \\\*.blg\ -o\ -name\ \\\*.bbl\ -o\ \
-name\ \\\*.elc\ -o\ -name\ \\\*.lof\ -o\ -name\ \\\*.glo\ -o\ \
-name\ \\\*.idx\ -o\ -name\ \\\*.lot\ -o\ -name\ \\\*.fmt\ -o\ \
-name\ \\\*.tfm\ -o\ -name\ \\\*.class\ -o\ -name\ \\\*.fas\ -o\ \
-name\ \\\*.lib\ -o\ -name\ \\\*.mem\ -o\ -name\ \\\*.x86f\ -o\ \
-name\ \\\*.sparcf\ -o\ -name\ \\\*.dfsl\ -o\ -name\ \\\*.pfsl\ -o\ \
-name\ \\\*.d64fsl\ -o\ -name\ \\\*.p64fsl\ -o\ -name\ \\\*.lx64fsl\ -o\ \
-name\ \\\*.lx32fsl\ -o\ -name\ \\\*.dx64fsl\ -o\ -name\ \\\*.dx32fsl\ -o\ \
-name\ \\\*.fx64fsl\ -o\ -name\ \\\*.fx32fsl\ -o\ -name\ \\\*.sx64fsl\ -o\ \
-name\ \\\*.sx32fsl\ -o\ -name\ \\\*.wx64fsl\ -o\ -name\ \\\*.wx32fsl\ -o\ \
-name\ \\\*.fasl\ -o\ -name\ \\\*.ufsl\ -o\ -name\ \\\*.fsl\ -o\ \
-name\ \\\*.dxl\ -o\ -name\ \\\*.lo\ -o\ -name\ \\\*.la\ -o\ \
-name\ \\\*.gmo\ -o\ -name\ \\\*.mo\ -o\ -name\ \\\*.toc\ -o\ \
-name\ \\\*.aux\ -o\ -name\ \\\*.cp\ -o\ -name\ \\\*.fn\ -o\ \
-name\ \\\*.ky\ -o\ -name\ \\\*.pg\ -o\ -name\ \\\*.tp\ -o\ \
-name\ \\\*.vr\ -o\ -name\ \\\*.cps\ -o\ -name\ \\\*.fns\ -o\ \
-name\ \\\*.kys\ -o\ -name\ \\\*.pgs\ -o\ -name\ \\\*.tps\ -o\ \
-name\ \\\*.vrs\ -o\ -name\ \\\*.pyc\ -o\ -name\ \\\*.pyo\ \\\)\ -prune\ -o\ \
\ -type\ f\ \\\(\ -iname\ \\\*\ \\\)\ -exec\ grep\ -i\ -n\ -e\ dave\ \
/dev/null\ \{\}\ \+
--8<---------------cut here---------------end--------------->8---

Best regards, Michael.



reply via email to

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