Update of /services/emacs-rcp/cvsroot/tramp/lisp
In directory lucy:/export/home/grossjoh/work/kai/tramp-devel/tramp/lisp
Modified Files:
tramp.el ChangeLog
Log Message:
(tramp-send-command-and-check): Add a space in the
shell command. Suggested by Yuji Yamao. (I don't really
Hi,
recently tramp stopped working for me, sitting at
tramp_file_attributes /home
and not doing anything much. tramp_file_attributes is a ksh-function,
and for me is defined as
$ tramp_file_attributes () {
/bin/perl -e '$f = $ARGV[0];
@s = lstat($f);
if (($s[2] 017) == 012) { $l =
asterix/home/utcke% ls -l /bin/perl
lrwxr-xr-x1 root root 20 May 16 16:12 /bin/perl -
/usr/sbin/perl-5.004*
But the shell function calls /bin/perl5,
No, it isn't (did I write so initially?).
not /bin/perl. Is that the problem?
The lines from *debug tramp/scp foo*
On Fri, 25 May 2001, Sven Utcke wrote:
$ tramp_file_attributes () {
/bin/perl -e '$f = $ARGV[0];
@s = lstat($f);
if (($s[2] 017) == 012) { $l = readlink($f); $l = \$l\; }
elsif (($s[2] 017) == 04) { $l = t; }
else { $l = nil };
printf((%s %u %u %u (%u %u) (%u %u) (%u %u)
Kai == Kai Großjohann [EMAIL PROTECTED] writes:
On Fri, 25 May 2001, Sven Utcke wrote:
(Should Tramp assume that any Perl found is a Perl 5?)
Hmm. This, of course, would be guaranteed to break once perl6 is
out, and possibly on some (very few) perl4-only machines...
I guess it's time to
On Fri, 25 May 2001, Sven Utcke wrote:
Right. Any difference in environment between the two?
kogs12/tmp% diff env.tramp env.ssh
LC_TIME, PATH and TERM could be further investigated. Can you make
the problem appear in a `normal' (non-Tramp) ksh by frobbing these
variables?
kai
--
Sven == Sven Utcke [EMAIL PROTECTED] writes:
But the strange thing of course is that it _does_ work with that
particular instance of perl when called from the shell, just not when
called from tramp. This really _is_ weird...
Could it be something odd going on with the line-endings ?
Sven == Sven Utcke [EMAIL PROTECTED] writes:
But the strange thing of course is that it _does_ work with that
particular instance of perl when called from the shell, just not when
called from tramp. This really _is_ weird...
Could it be something odd going on with the line-endings ?
Stefan Monnier [EMAIL PROTECTED] writes:
Kai == Kai Großjohann [EMAIL PROTECTED] writes:
On Fri, 25 May 2001, Sven Utcke wrote:
(Should Tramp assume that any Perl found is a Perl 5?)
Hmm. This, of course, would be guaranteed to break once perl6 is
out, and possibly on some (very
On Thu, 24 May 2001, Matthew Harrison wrote:
Could you try this patch? If it works fine, I will commit it.
--- tramp.el.orig Thu May 24 17:30:22 2001
+++ tramp.elThu May 24 17:30:47 2001
@@ -3802,7 +3802,7 @@
(tramp-send-command multi-method method user host
Once upon a time, people had Perl 4 and Perl 5 on their system, and
invoking perl5 ran the newer version. I think these days this is
obsolete and Tramp should not check for perl5 anymore. What do you
think?
(Should Tramp assume that any Perl found is a Perl 5?)
kai
--
~/.signature: No such
On 25 May 2001, Kai Großjohann wrote:
On 25 May 2001, Stefan Monnier wrote:
Is there any good reason why the Perl code used by Tramp
does not work with Perl-4 (and why it won't work with Perl-6) ?
I have no idea whether it works on Perl 4. However, since it doesn't
even work on a
On Fri, 25 May 2001, Sven Utcke wrote:
asterix/home/utcke% ls -l /bin/perl
lrwxr-xr-x1 root root 20 May 16 16:12 /bin/perl -
/usr/sbin/perl-5.004*
But the shell function calls /bin/perl5, not /bin/perl. Is that the
problem?
kai
--
~/.signature: No such file or directory
Is there any good reason why the Perl code used by Tramp
does not work with Perl-4 (and why it won't work with Perl-6) ?
I have no idea whether it works on Perl 4. However, since it doesn't
even work on a particular instance of Perl 5...
But the strange thing of course is that it _does_
Kai,
I had 2 problems, the first had to do with an error after C-x C-s:
-
# Sending end of data token...
$ echo hello
^D
/
hello
$ 2/dev/nullecho tramp_exit_status $?
/bin/ksh: /dev/nullecho: cannot create: Permission denied
Once upon a time, people had Perl 4 and Perl 5 on their system, and
invoking perl5 ran the newer version. I think these days this is
obsolete and Tramp should not check for perl5 anymore. What do you
think?
I tend to agree --- if only because, on my system, the executable is
called
On Fri, 25 May 2001, Sven Utcke wrote:
(Should Tramp assume that any Perl found is a Perl 5?)
Hmm. This, of course, would be guaranteed to break once perl6 is
out, and possibly on some (very few) perl4-only machines...
I guess it's time to run `perl -v', then. Argh. Sounds like work.
But the strange thing of course is that it _does_ work with that
particular instance of perl when called from the shell, just not
when called from tramp. This really _is_ weird...
Right. Any difference in environment between the two?
kogs12/tmp% diff env.tramp env.ssh
1c1
_=/bin/env
Right. Any difference in environment between the two?
kogs12/tmp% diff env.tramp env.ssh
LC_TIME, PATH and TERM could be further investigated. Can you make
the problem appear in a `normal' (non-Tramp) ksh by frobbing these
variables?
No.
Sven
--
_ __ The
On 25 May 2001, Stefan Monnier wrote:
Sven == Sven Utcke [EMAIL PROTECTED]
writes:
But the strange thing of course is that it _does_ work with that
particular instance of perl when called from the shell, just not
when called from tramp. This really _is_ weird...
Could it be something
Hello Kai,
and I used the mouse to copy and paste that when testing. Hmm.
In your original post, you had tramp_file_attributes twice, one with
/bin/perl (seemed to work fine), and the other with /bin/perl5
(failed).
I'm confused.
Well, maybe it's just me having been confused. Ok,
21 matches
Mail list logo