Re: tramp ($Id: tramp.el,v 1.448 2001/02/18 10:37:36 grossjoh Exp $); End of file during parsing...
K Großjohann writes: > On 21 Feb 2001, Kai Großjohann wrote: > > > I will have to reformulate the command to do: > > > > while read d; do > > > > done < > I have now tried to do this, can you please test? New version in > CVS. Holler if you want it via FTP. Works beautifully, thanks.
Re: tramp ($Id: tramp.el,v 1.448 2001/02/18 10:37:36 grossjoh Exp $); End of file during parsing...
On 21 Feb 2001, Kai Großjohann wrote: > On 21 Feb 2001, Paul Stevenson wrote: > >> If I interactively type 'sh' and then paste the above long command, >> it truncates at about 190 characters. Can this be relevant? > > Yes. Shit. > > I will have to reformulate the command to do: > > while read d; do > > done < > Then I send the directory names to the remote end, one dir per line, > then I send EOF. I have now tried to do this, can you please test? New version in CVS. Holler if you want it via FTP. Thanks, kai -- Be indiscrete. Do it continuously.
Re: tramp ($Id: tramp.el,v 1.448 2001/02/18 10:37:36 grossjoh Exp $); End of file during parsing...
D Pittman writes: > > $ ( echo /bin;echo /usr/bin;echo /usr/sbin;echo /usr/local/bin;echo > > /usr/ccs/bin;echo /local/bin;echo /local/freeware/bin;echo > > /local/gnu/bin;echo /usr/freeware/bin;echo /usr/pkg/bin ) | while read > > d; do if test -x $d/ksh -a -f $d/ksh; then echo $d/ksh; break; fi; done > > TRAMP looks for a suitable remote shell. > > > ^D/bin/ksh # Starting remote shell `^D/bin/ksh' for tilde > > The remote system spits out some *very* odd characters. The '^D^H^H' > don't belong there. I notice that if I execute the above command from a file I get: [~] csep1 $ /bin/sh testsh | od -c 000 / b i n / k s h \n 011 If I interactively type 'sh' and then paste the above long command, it truncates at about 190 characters. Can this be relevant? -- . Paul Stevenson . Research Fellow . University of Surrey . . phone: +44 (0) 1483 876795 . fax +44 (0) 1483 876781 . .[EMAIL PROTECTED] . http://www.ph.surrey.ac.uk/~phs3ps. . I dream in beige.
Re: tramp ($Id: tramp.el,v 1.448 2001/02/18 10:37:36 grossjoh Exp $); End of file during parsing...
On 21 Feb 2001, Paul Stevenson wrote: > If I interactively type 'sh' and then paste the above long command, > it truncates at about 190 characters. Can this be relevant? Yes. Shit. I will have to reformulate the command to do: while read d; do done <
Re: tramp ($Id: tramp.el,v 1.448 2001/02/18 10:37:36 grossjoh Exp $); End of file during parsing...
K Großjohann writes: > On 21 Feb 2001, Paul Stevenson wrote: > > > If I interactively type 'sh' and then paste the above long command, > > it truncates at about 190 characters. Can this be relevant? > > Yes. Shit. > > I will have to reformulate the command to do: > > while read d; do > > done < > Then I send the directory names to the remote end, one dir per line, > then I send EOF. > > Argh. > > Can you do this yourself? I might not have time for a while now. > > kai I'll give it a go.
Re: tramp ($Id: tramp.el,v 1.448 2001/02/18 10:37:36 grossjoh Exp $); End of file during parsing...
On Wed, 21 Feb 2001, Paul Stevenson wrote: [...] > I try to get a file from a remote machine with ssh2. ssh-agent is > such that I can do this transparently from the command line, but I get > 'End of file during parsing' [...] > $ ( echo /bin;echo /usr/bin;echo /usr/sbin;echo /usr/local/bin;echo > /usr/ccs/bin;echo /local/bin;echo /local/freeware/bin;echo > /local/gnu/bin;echo /usr/freeware/bin;echo /usr/pkg/bin ) | while read > d; do if test -x $d/ksh -a -f $d/ksh; then echo $d/ksh; break; fi; done TRAMP looks for a suitable remote shell. > ^D/bin/ksh # Starting remote shell `^D/bin/ksh' for tilde The remote system spits out some *very* odd characters. The '^D^H^H' don't belong there. This confuses TRAMP, which breaks in horrible ways as it tries to cope. If you find out where those characters come from, things should improve. I think. Daniel -- Advertising may be described as the science of arresting the human intelligence long enough to get money from it. -- Stephen Leacock