Re: odd search order looking for perl?

2001-01-23 Thread Francesco Potorti`

   > I was afraid that this which-like command might be known by various
   > names on various systems, and the output might vary.

I tried this, and I think it should work on any bourne shell:

echo $PATH |
 tr : \\n |
 while read dir;
 do if [ -x $dir/perl ];
 then echo $dir/perl; break;
 fi; done




tramp ($Id: tramp.el,v 1.440 2001/01/18 23:20:57 grossjoh Exp $); make timeouts a variable

2001-01-23 Thread Matt Swift

None

Enter your bug report in this message, including as much detail as you
possibly can about the problem, what you did to cause it and what the
local and remote machines are.

If you can give a simple set of instructions to make this bug happen
reliably, please include those.  Thank you for helping kill bugs in
TRAMP.
--bug report follows this line--

I see the third argument for `tramp-wait-for-regexp' is often hard-coded at 30
in tramp.el.  I think this should be a customizable variable (if I'm right
about what its purpose is).  I believe my tramp is timing out when it doesn't
need to when my connection is slow (e.g., I'm downloading something with
another application).


Emacs  : GNU Emacs 20.7.2 (i386-debian-linux-gnu, X toolkit)
 of Tue Jul 25 2000 on raven
Package: tramp ($Id: tramp.el,v 1.440 2001/01/18 23:20:57 grossjoh Exp $)

current state:
==
(setq
 tramp-ls-command nil
 tramp-test-groks-nt nil
 tramp-file-exists-command nil
 tramp-current-method nil
 tramp-current-user nil
 tramp-current-host nil
 tramp-auto-save-directory nil
 tramp-default-method "rsync"
 tramp-rsh-end-of-line "\n"
 tramp-remote-path '("/bin" "/usr/bin" "/usr/sbin" "/usr/local/bin" "~/bin" "`athdir 
/mit/sipb`")
 tramp-login-prompt-regexp ".*ogin: *$"
 tramp-password-prompt-regexp "^.*\\([pP]assword\\|passphrase.*\\):
 tramp-wrong-passwd-regexp "^.*\\(Permission denied.\\|Login [Ii]ncorrect\\|Received 
signal [0-9]+\\|Connection \\(refused\\|closed\\)\\|Sorry, try again.\\|Name or 
service not known\\).*$"
 tramp-temp-name-prefix "tramp."
 tramp-file-name-structure 
'("\\`/r\\(@\\([a-z0-9]+\\)\\)?:\\(\\([-a-z0-9_#]+\\)@\\)?\\([-a-z0-9.]+\\):\\(.*\\)\\'"
 2 4 5 6)
 tramp-file-name-regexp "\\`/r[@:]"
 tramp-make-tramp-file-format "/r@%m:%u@%h:%p"
 tramp-end-of-output "/"
 shell-prompt-pattern "^[^#$%>\n]*[#$%>] *"
 backup-by-copying nil
 backup-by-copying-when-linked nil
 backup-by-copying-when-mismatch nil
 )




Re: tramp ($Id: tramp.el,v 1.440 2001/01/18 23:20:57 grossjoh Exp $); make timeouts a variable

2001-01-23 Thread Daniel Pittman

Matt Swift <[EMAIL PROTECTED]> writes:

[...]

> I see the third argument for `tramp-wait-for-regexp' is often
> hard-coded at 30 in tramp.el. I think this should be a customizable
> variable (if I'm right about what its purpose is). I believe my tramp
> is timing out when it doesn't need to when my connection is slow
> (e.g., I'm downloading something with another application).

If you submit a patch for this, I will approve it. Otherwise it waits
'til I have the time to do it.

Daniel

-- 
Life is demented enough as it is.
Why I haven't gone crazy, I don't know.
But sometimes I wish I were. 
-- Jason Q.