cvs ci 'rcp/lisp rcp.el,1.263,1.264'

2000-04-15 Thread Kai Grossjohann
Update of /services/emacs-rcp/cvsroot/rcp/lisp In directory bonny:/tmp/cvs-serv4121 Modified Files: rcp.el Log Message: Added rlogin method to multi connection method.

cvs ci 'rcp/lisp rcp.el,1.264,1.265'

2000-04-15 Thread Kai Grossjohann
Update of /services/emacs-rcp/cvsroot/rcp/lisp In directory bonny:/tmp/cvs-serv4132 Modified Files: rcp.el Log Message: Removed superfluous check.

cvs ci 'rcp/lisp rcp.el,1.266,1.267'

2000-04-15 Thread Kai Grossjohann
Update of /services/emacs-rcp/cvsroot/rcp/lisp In directory bonny:/tmp/cvs-serv4448 Modified Files: rcp.el Log Message: Bug fix for arguments for `su' command. Allow `su' command as hop in multi-hop connection method.

cvs ci 'rcp/lisp rcp.el,1.267,1.268'

2000-04-15 Thread Kai Grossjohann
Update of /services/emacs-rcp/cvsroot/rcp/lisp In directory bonny:/tmp/cvs-serv4531 Modified Files: rcp.el Log Message: Bug fix when writing files using multi-hop method.

Re: support connection chains?

2000-04-15 Thread Kai Großjohann
I have started to implement this. It will be a few commits before it is finished, though. Watch me code... ;-) kai -- The birch trees fly way too low these days.

Re: support connection chains?

2000-04-15 Thread Mark A. Hershberger
"KG" == Kai Großjohann [EMAIL PROTECTED] writes: KG Okay, I can understand that. Hm. This should be easy enough to do. KG But you talk about authentication timeout. What happens when the KG shell has been idle for a while? Sorry, my fault. If you are going to just do sudo -u

set up interactive shells with more intelligence?

2000-04-15 Thread Kai Großjohann
There has been talk about setting up interactive shells with more intelligence. The discussion was specifically about tset, IIRC. What I could do is this: I could set up an alist of regex/action pairs and rather than expecting just a shell prompt, I expect any of the regexes in that alist. And

Re: support connection chains?

2000-04-15 Thread Kai Großjohann
[EMAIL PROTECTED] (Mark A. Hershberger) writes: [...] If you are going to just do sudo -u user bash, then you really shouldn't need to worry about the authentication timeout.[...] Good. Hmm... Well, if there is that much need for `cd', then let's avoid the second form for now. `cd' is

expect one of several alternatives, determine which one was found

2000-04-15 Thread Kai Großjohann
Right now, I have code like this: (setq found (re-search-forward "\\(foo\\)\\|\\(bar\\)")) (unless found (error ...)) (when (match-string 2) ;; found bar ) Of course, this fails badly if foo contains any \\(...\\) pairs. So, what's the best way to do this? Count the number of \\(...\\)

Re: new versions

2000-04-15 Thread Francesco Potorti`
- Emacs 21 is coming up which might mean quite a few changes. Should I split in two branches, or should I try to support all Emacsen in one branch? It would be nice to have everything together. But if keeping everything together adds too much code (more than, say, 5% of

default login names

2000-04-15 Thread Kai Großjohann
I've been thinking about default login names. Right now, deep down in the bowels of rcp.el, every file name with a missing login name is rewritten to put in the local user name instead. I was thinking of allowing nil as user name everywhere, with the semantics that the user name is then not

Re: support connection chains?

2000-04-15 Thread Kai Großjohann
[EMAIL PROTECTED] (Mark A. Hershberger) writes: It would also be very useful to have a `sudo' method availible and would probably be very similar to the `su' methods. I have never used sudo. I know that it can be used to restrict which commands can be executed as root by another user, but

Re: support connection chains?

2000-04-15 Thread Mark A. Hershberger
"KG" == Kai Großjohann [EMAIL PROTECTED] writes: KG Hm. Suppose /xyzzy is a directory only readable by root, and KG you have sudo permissions to list the directory. Can you use KG sudo to get the same output that `cd /xyzzy ; ls -lda a*' KG would produce? Note that `ld -lda