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

2001-02-16 Thread Kai Großjohann

On Tue, 23 Jan 2001, Matt Swift wrote:

> 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).

Hm.  I'm not sure what to do, I tried to choose values which allow
plenty of time.  Maybe I should just double the number that's
troubling you?

My main problem with the new variables is the name and the
documentation.  Which categories of waiting should we provide, what
should the variables be named, and what should be the default values?

Can you do this work for me?  Just go through all occurrences of
"(tramp-wait-for-", look if there is a timeout, and if so, see what
the purpose of the timeout is.

I think there could be a tramp-timeout-shell-startup variable, and
tramp-timeout-passwd-prompt.  But which others?

kai
-- 
Be indiscrete.  Do it continuously.




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.