Re: rcp.el bug -- VM's save tries to use ftp

2000-02-25 Thread Kai Großjohann
Charles Karney [EMAIL PROTECTED] writes: The right solution would be to move the rcp hooks up the Emacs calling chain. This would allow the safe save to be implemented as copy REMOTE:FILE to REMOTE:#TMP#0 rsync BUFFER REMOTE:#TMP#0# potential rsync efficiencies

Re: problem with emacs-rcp 1.149

2000-02-25 Thread Kai Großjohann
David Barr [EMAIL PROTECTED] writes: $ echo hello hello hello $ echo ~root # Remote /bin/sh groks tilde expansion. Good. Ick! This seems to be a timing problem. Here's what's going on: rcp.el sends "echo hello" to the remote end, but it arrives too early, so ssh gets kind of a hickup.

Re: [BUG] File name completion in v1.178

2000-02-25 Thread Kai Großjohann
Pete Forman [EMAIL PROTECTED] writes: My mistake. I had been confusing "login" and "interactive". A login shell will read .profile or similar prior to reading commands which is what was worrying me. An interactive, non-login shell generally will not read any file. It may read .bashrc,

Re: Problems reading AIX 4.3 files

2000-02-25 Thread Kai Großjohann
Pete Forman [EMAIL PROTECTED] writes: Kai Großjohann writes: I have now applied the code given by Stefan. But in the wrong place :-( Argh. I hope it is better now. Ok if I don't do anything about the large file problem until it actually happens? kai -- Life is hard and then you

Re: Remote directory tracking

2000-02-25 Thread Kai Großjohann
Francesco Potorti` [EMAIL PROTECTED] writes: If I am not wrong, doing M-x cd RET /r:box: RET should be enough. Not sure, though. Sounds about right. But WIBNI this happened automatically? kai -- Life is hard and then you die.

Re: rcp.el 1.140: bug fixes, work better with XEmacs/EFS?

2000-02-25 Thread Erik Arneson
On 11 Sep 99, Kai =?iso-8859-1?Q?Gro=DFjohann?= [EMAIL PROTECTED] wrote: Erik Arneson [EMAIL PROTECTED] writes: (5) (warning/warning) Error caught in `make-auto-save-file-name': Wrong type argument: numberp, test: This is probably a timing problem. Please set rcp-debug-buffer to t,

Re: rcp.el 1.140: bug fixes, work better with XEmacs/EFS?

2000-02-25 Thread Erik Arneson
On 11 Sep 99, Kai Großjohann [EMAIL PROTECTED] wrote: Thanks to Daniel Pittman, this version probably works better with XEmacs and EFS. This means that the comment that you have to set file-name-handler-alist to nil before loading rcp.el is obsolete. Those of you using XEmacs and EFS, could

Re: VC/RCS: Checking in files remotely change comments.

2000-02-25 Thread Edward J. Sabol
Excerpts from mail: (13-Dec-99) Re: VC/RCS: Checking in files remotely change comments. by Pete Forman A more robust method is to use tr to generate control characters, e.g. % echo 'a^b' | tr '^' '\012' a b Yep, that works. Another possibility is to use printf instead. That will work

Ways and means - tool existence question.

2000-02-25 Thread Daniel Pittman
While working on the VC remote username code, I believe I have a solution. To know how general it is, however, I would like to know if there are any platforms out there that don't have the grep(1) and cut(1) tools installed. If there is any platform that does not have a user readable

Re: uuencode syntax?

2000-02-25 Thread David Barr
"Edward J. Sabol" wrote: Excerpts from [lists.emacs.rcp]: (07-Oct-99) Re: uuencode syntax? by Stefan Monnier I'd say: kill that ugly uu(en|de)code beast and only support base64. I agree. I was never a fan of adding uu*coding or base64 as transfer methods to rcp.el to begin with, but, if

Re: [PATCH] Performance fix for XEmacs

2000-02-25 Thread Daniel Pittman
On 28 Oct 1999, Daniel Pittman [EMAIL PROTECTED] wrote: [...] The attached patch tells XEmacs to use a pipe connection to the ssh subprocess. Damn. Not enough testing. Further playing indicates that this fails on the latest rcp from Kai for ssh(1) but not for the telnet connection I was

Re: Can't seem to defeat EFS

2000-02-25 Thread Pete Forman
Jeffrey Juliano writes: Pete Forman wrote: [...] Any suggestions for syntax? My first thought is to use semicolons instead of colons. Something like a URI would have been nice but efs would munch that up as well. I agree with Kai's idea that URL type names would be good.

Re: $Id: rcp.el,v 1.220 2000/01/09 20:45:28 grossjoh Exp $

2000-02-25 Thread Francesco Potorti`
( uudecode -o - 2/dev/null || uudecode -p 2/dev/null ) That fails on both AIX and IRIX. Neither support any uudecode option to write to stdout. Do AIX or IRIX have any pseudo device for stdout like /dev/stdout in Linux?

Re: rcp now as tarball

2000-02-25 Thread Daniel Pittman
On 14 Oct 1999, Kai Großjohann [EMAIL PROTECTED] wrote: Daniel Pittman [EMAIL PROTECTED] writes: [... my suggestion ...] Yeah, I also thought about that. Hitting RET every couple of seconds is what I do, after all. But Stefan had an even better suggestion: just start up the shell with

Re: Ways and means - tool existence question.

2000-02-25 Thread Kai Großjohann
Daniel Pittman [EMAIL PROTECTED] writes: While working on the VC remote username code, I believe I have a solution. To know how general it is, however, I would like to know if there are any platforms out there that don't have the grep(1) and cut(1) tools installed. I'm not sure that the

Re: cross-posted, perhaps relevant question

2000-02-25 Thread Kai Großjohann
Tim Carroll [EMAIL PROTECTED] writes: I took the opportunity to remove the color prompt, et al from the remote server I have been trying to link to, as well as the local client. Alas, I get the same result with rcp as before. So, I suppose that this is not the source of the problem. Hm.

Re: $Id: rcp.el,v 1.220 2000/01/09 20:45:28 grossjoh Exp $

2000-02-25 Thread Kai Großjohann
Pete Forman [EMAIL PROTECTED] writes: That fails on both AIX and IRIX. Neither support any uudecode option to write to stdout. So, what does one do for those systems? tmpdir=/tmp/rcp.$$ ( mkdir $tmpdir cd $tmpdir uudecode cat * ) rm -rf $tmpdir Whee... Or

Re: uuencode syntax?

2000-02-25 Thread Matt Swift
"K" == Kai Großjohann [EMAIL PROTECTED] writes: K In the worst case, we would need four different methods: Linux K style on both local and remote, BSD style on both, and two K methods for Linux style on one side and BSD style on the other. K Whee... Sounds really bad. The idea

Re: Is this a job for rcp.el?

2000-02-25 Thread Daniel Pittman
On 02 Nov 1999, Kai Großjohann [EMAIL PROTECTED] wrote: Matt Swift [EMAIL PROTECTED] writes: [...] (I'm assuming rcp caches passwords, as ange-ftp does, but I'm not positive -- I'm sure someone will correct me if I'm wrong.) [...] There is no passwd caching I know of. I'm not sure if

Re: Is this a job for rcp.el?

2000-02-25 Thread Matt Swift
"H" == Harry Putnam [EMAIL PROTECTED] writes: H My isp was hacked recently, and had a security tightening spasm H where they disallowed direct shell accesss to public_html. H After complaining bitterly and offering to use "ssh" H exclusively for access, they've allowed me full

Re: uuencode syntax?

2000-02-25 Thread Kai Großjohann
Edward J. Sabol [EMAIL PROTECTED] writes: Excerpts from mail: (08-Oct-99) Re: uuencode syntax? by Kai =?iso-8859-1?q?Gro=DFjohann?= Any ideas for a uuencode replacement with awk and od? No, but I think it's fairly simple to write one in Perl. Yes, but perl doesn't come standard with most

Re: EFS and XEmacs

2000-02-25 Thread Daniel Pittman
On Tue, 7 Sep 1999, Christopher A. Stewart [EMAIL PROTECTED] wrote: I'm very interested in getting this package working for me.. I'm running Xemacs 21.x. Of course the problem is EFS. Are you running 21.1 or 21.2? I recently sent Kai a set of three patches that let me run, almost perfectly,

Re: rcp.el 1.80....

2000-02-25 Thread Daniel Pittman
On 26 Oct 1999, Kai Großjohann [EMAIL PROTECTED] wrote: Matt Swift [EMAIL PROTECTED] writes: I suggest defining it in a human-readable way and then using `regex-opt' on it to obtain an internal version used by the LISP. Somehow, I doubt that this will lead to any observable win in

Re: Having trouble with rcp.el syntax

2000-02-25 Thread Jesse Marlin
Yes, the documentation is good. Some examples would be nice. I do have one more question though. I read in rcp.el that passwords could not be entered right now. Is this true? Will it always be true? At my job we have ssh set up and block everything else, and I would like to open files from

Re: Having trouble with rcp.el syntax

2000-02-25 Thread Kai Großjohann
Mark Galassi [EMAIL PROTECTED] writes: I would suggest trapping the incorrect syntax and making the error message something other than: Wrong type argument: stringp, nil This is the equivalent of a core dump in C. You're right. The current behavior is that unknown methods lead to

Re: an SSH suggestion

2000-02-25 Thread Stefan Monnier
[[ Mailed copy of news article posted to lists.emacs.rcp ]] "David" == David Barr [EMAIL PROTECTED] writes: Unfortunately, most of them don't have mimencode. There's your problem, and you know how to fix it. Stefan

Re: Copying or renaming files across machines?

2000-02-25 Thread Francesco Potorti`
Maybe I should try to make copying and renaming files work across machine boundaries. Do you also think so? Yes. It seems that people have problems with backups and/or autosave files, so another alternative would be to try to correct

Re: Missing with-timeout

2000-02-25 Thread Daniel Pittman
On 30 Oct 1999, Kai Großjohann [EMAIL PROTECTED] wrote: Pete Forman [EMAIL PROTECTED] writes: New in rcp.el 1.180 (since 1.130) is use of the function with-timeout. That is not present on my XEmacs 20.3. There appears to be an emulation of it in startup.el. I don't have access to that

The new rcp.el pollutes the bash history

2000-02-25 Thread Francesco Potorti`
It didn't happen before (for example, with 1.155). Now, using the rsynch method, the commands rcp.el sends to the remote shell are recorded in that shell's history file. Quite annoying. Must have to do with being interactive or something like that.

Re: uuencode syntax?

2000-02-25 Thread Ian Flanigan
--- David Barr [EMAIL PROTECTED] wrote: Although I still have problems, because on some machines, my home directory is remotely mounted from one server to machines of multiple architectures. I could have multiple bin directories under my home directory. I would usually handle this by

Re: rcp.el 1.164: bug fixes

2000-02-25 Thread Kai Großjohann
Paul Stevenson [EMAIL PROTECTED] writes: I've had this too. Presumably it's the `find' in rcp-check-ls-commands. The `find' seems to come from cl, so perhaps there is a missing (require 'cl) somewhere. (although it would appear to be there right at the top of rcp.el - i did type 'make' after

Re: [BUG] File name completion in v1.178

2000-02-25 Thread Kai Großjohann
Daniel Pittman [EMAIL PROTECTED] writes: For me, adding the '-1' switch to the two ls(1) calls in the mentioned function fixed the problem and file name completion works again. I don't know if this is portable to any ls but the GNU one however and so have not supplied a patch. All the ls

Re: uuencode syntax?

2000-02-25 Thread Kai Großjohann
Edward J. Sabol [EMAIL PROTECTED] writes: [...] (To be honest, I feel that's too many. I'm nostalgic for the old days when rcp.el only supported rcp and scp.) [...] Yes, yes, you're right. I wish I had a dwim command which just worked :-( Or else, maybe a way to try out different

Re: rcp.el 1.140: bug fixes, work better with XEmacs/EFS?

2000-02-25 Thread Erik Arneson
On 13 Sep 99, Kai =?iso-8859-1?Q?Gro=DFjohann?= [EMAIL PROTECTED] wrote: I'm not sure, but maybe you said "test -x foo" and it means that foo wasn't found? Or it executed a different command entirely (because some part of it got chopped off)? Please set rcp-debug-buffer to t and also mail

Re: if you can't beat 'em, was: Can't seem to defeat EFS

2000-02-25 Thread Kai Großjohann
"Tom Roche" [EMAIL PROTECTED] writes: The root of this problem seems not to be '/' :-) Rather, as the former thread title suggests, getting rcp.el to work around ange-ftp and EFS. Would it instead be possible to work _with_ them? Given our magic cookie AFAIK, rcp.el works fine together

$Id: rcp.el,v 1.202 1999/11/05 22:03:39 grossjoh Exp $

2000-02-25 Thread Kai Großjohann
This version tries to provide better error reporting if `rcp' or `scp' need to be called. Note that this doesn't fix any bug, it just tries to provide better error messages. Does this help those of you with troubles to diagnose the problem? kai -- This gubblick contains many nonsklarkish

Re: password failure

2000-02-25 Thread Kai Großjohann
Mark A. Hershberger [EMAIL PROTECTED] writes: Using the sm method, when I type my password incorrectly, rcp.el fails to identify this as the problem. Instead of finding the error (as ange-ftp does) and displaying it in the minibuffer, rcp.el times out and says "Couldn't find remote shell

Re: Problems reading AIX 4.3 files

2000-02-25 Thread Stefan Monnier
[[ Mailed copy of news article posted to lists.emacs.rcp ]] "Pete" == Pete Forman [EMAIL PROTECTED] writes: a) Textually truncate the inode string before converting to int. b) Set inode to 0 if error in read. c) Maybe dired.c in newer versions of [X]Emacs has a workaround. d)

Re: [BUG] File name completion in v1.178

2000-02-25 Thread Kai Großjohann
Pete Forman [EMAIL PROTECTED] writes: Kai Großjohann writes: Pete Forman [EMAIL PROTECTED] writes: Most versons of ls work for me, but I do have an older machine running ISC 4.0 (Interactive Unix) which does not handle -1. How much of a problem is it to parse the results of

Mailing list archive at www.mail-archive.com

2000-02-25 Thread Kai Großjohann
It seems that www.mail-archive.com was finally able to set up the mailing list archive. I have just sent all previous messages there. I don't know how long it will take them to archive the stuff, but when they are finished, it will be searchable and all. Hurray! So, implementing the Win32 and

Security issues with temporary files

2000-02-25 Thread Greg Stark
So over the past year or so one of the big security issues Debian and others have spent a lot of time over is programs that create temporary files insecurely. Generally the danger is that some privileged user could be creating files in /tmp with fairly predictable names, and someone else could

Re: bug and fix for `dired-do-copy

2000-02-25 Thread Kai Großjohann
Matthew Swift [EMAIL PROTECTED] writes: [...] the minibuffer will claim that the copy is successfully made, but it will not be made. (Yes, I know that better error-catching is already on the the todo list.) [...] Thanks for your bug report. I _like_ bug reports with patch included :-) As

Re: uuencode syntax?

2000-02-25 Thread Kai Großjohann
David Barr [EMAIL PROTECTED] writes: [...] And even if I install it myself, I can't get it to work with rcp.el because of the PATH issue which I described earlier. [...] *blank look* Que? What PATH issue? Doesn't it work to add directories to rcp-remote-path? rcp.el should add them to

Re: beginner stumblings

2000-02-25 Thread Harry Putnam
Daniel Pittman [EMAIL PROTECTED] writes: I guess that emacs does not rebuild out-of-date `dir' files by default. Have a look at the variable `Info-auto-generate-directory' and see what it is set to. I suspect that it will be `never'. If so, setting it to something more useful like

Re: Is this a job for rcp.el?

2000-02-25 Thread Kai Großjohann
Matt Swift [EMAIL PROTECTED] writes: [...] (I'm assuming rcp caches passwords, as ange-ftp does, but I'm not positive -- I'm sure someone will correct me if I'm wrong.) [...] There is no passwd caching I know of. I'm not sure if that makes the passwd disappear from memory immediately,

Re: Missing with-timeout

2000-02-25 Thread Kai Großjohann
Pete Forman [EMAIL PROTECTED] writes: New in rcp.el 1.180 (since 1.130) is use of the function with-timeout. That is not present on my XEmacs 20.3. There appears to be an emulation of it in startup.el. I don't have access to that XEmacs version. Hm. Or maybe I can find that version

Re: Can't seem to defeat EFS

2000-02-25 Thread Pete Forman
Daniel Pittman writes: On Thu, 28 Oct 1999, Jesse Marlin [EMAIL PROTECTED] wrote: I am having trouble preventing EFS from grabbing this: C-x C-f /r:me@host:/home/me/.emacs I have set rcp-default-method to: (setq rcp-default-method '"rcp") I do not

Re: Can't seem to defeat EFS

2000-02-25 Thread Pete Forman
Kai Großjohann writes: Pete Forman [EMAIL PROTECTED] writes: Perhaps we should accept that efs/ange-ftp has prior claim on its entries in file-name-handler-alist. It is rather inelegant to rely on efs and rcp being loaded in the right order. That's right. Hm. I'm not sure

Re: uuencode syntax?

2000-02-25 Thread Stefan Monnier
[[ Mailed copy of news article posted to lists.emacs.rcp ]] "Kai" == Kai Großjohann [EMAIL PROTECTED] writes: Hm. That's bad. This means that it becomes rather more difficult to use it. On the one hand, the syntax is the same for all uuencode flavors, but on the other hand I have to

Re: VC/RCS: Checking in files remotely change comments.

2000-02-25 Thread DE WEERD, Mario
Hello I may have found something. Consider the following: An argument can be grouped if quoted simply by using "" or ''. In order to test, I have copied the rcp-shell-quote-argument function and I modified it. In case the argument has got newlines, I simply put "" around it. Result: this works.

Re: backup files

2000-02-25 Thread Kai Großjohann
Matt Swift [EMAIL PROTECTED] writes: I have redefined `make-backup-file' from the default of Emacs 20.4 so that, when working with a remote file with rcp, the backup file is on my local machine. This presently causes an error from rcp in the case that you open a remote file F, alter it, and

Re: rcp.el 1.80....

2000-02-25 Thread Matt Swift
"K" == Kai Großjohann [EMAIL PROTECTED] writes: K Omigod. I think I'll use this one: K "\\(%s\\)\\|\\(.*\\([pP]assword\\|[pP]assphrase.*\\): *$\\)" K It seems clearer. Regexes are so hard to understand already that I K think we shouldn't make it more complicated that

Re: rcp.el 1.198: bug fixes

2000-02-25 Thread Kai Großjohann
Mark A. Hershberger [EMAIL PROTECTED] writes: Barfs for me. So, this is working as it should? Good. Now, all I need to do is figure out which file to modify so that I can get the mimencode or uuencode in my path. There is a variable rcp-remote-path. Don't worry about putting directories

Re: VC/RCS: Checking in files remotely change comments.

2000-02-25 Thread DE WEERD, Mario
My final function: spaces and tabs are like newlines in this case... Hopefully this is all... (defun rcp-shell-quote-argument (argument) "Quote an argument for passing as argument to an inferior shell." (if (eq system-type 'ms-dos) ;; MS-DOS shells don't have quoting, so don't do any.

Re: Copying or renaming files across machines?

2000-02-25 Thread Kai Großjohann
Daniel Pittman [EMAIL PROTECTED] writes: This would also make the transport of, say, a 2GB file far more pleasing (if anyone really wanted to do something so silly with RCP :) This may work in some cases but not in all cases. For one thing, the logical place to put the local tmp copy is /tmp

Re: [PATCH] Performance fix for XEmacs

2000-02-25 Thread Daniel Pittman
On 28 Oct 1999, Kai Großjohann [EMAIL PROTECTED] wrote: The problem is that ssh spits out: 'Pseudo-terminal will not be allocated because stdin is not a terminal.' It also seems to invoke a non-login shell if stdin in not a tty. Damn. That is painful. I must see if I can work around that

Re: rcp.el 1.48: name change, defaults change

2000-02-25 Thread Edward J. Sabol
Excerpts from mail: (03-Mar-99) Re: rcp.el 1.48: name change, defaults change by Francesco Potorti` I think that rssh.el (or rcp.el, or whatever) should have an association list of prefixes and behaviours. Some behaviours should be: /r:rcp /s:scp /f:translate to /

Portability question: newlines in strings

2000-02-25 Thread Kai Großjohann
In rcp.el, the following is sent to the shell: ,- | PS1=' | / | ' `- Yes, the first line ends with "'" and the last line consists of only one character. This is supposed to put two newlines into the prompt. Does the above work for you? Which one of the following alternatives

Re: rcp.el 1.106: enable login via rlogin

2000-02-25 Thread Stefan Monnier
[[ Mailed copy of news article posted to lists.emacs.rcp ]] "Kai" == Kai Grossjohann [EMAIL PROTECTED] writes: I'm all for a simple solution, but I'm afraid it is not so simple. Suppse that you use telnet to log in and the file contains the byte sequence C-] q u i t RET? (Or you use

Re: Problem with rcp on NT

2000-02-25 Thread Kai Großjohann
Jeffrey Juliano [EMAIL PROTECTED] writes: (setq f "/r@scp:juliano@capefear:.emacs") "/r@scp:juliano@capefear:.emacs" (file-name-directory f) ; why is "scp:" both here "/r@scp:" (file-name-nondirectory f) ; and here? "r@scp:juliano@capefear:.emacs" Daniel has some good

Re: rcp.el 1.189: not recognizing connection

2000-02-25 Thread Kai Großjohann
David Forrest [EMAIL PROTECTED] writes: I'm tring the newer versions now, and have not been getting connections any more. It does start up the remote shell, but fails to recognize it. From looking at your transcript, I see two possibilities. (1) rcp.el uses shell-prompt-pattern to

Re: Errors using slm connection

2000-02-25 Thread Kai Großjohann
Mark A. Hershberger [EMAIL PROTECTED] writes: Daniel Pittman [EMAIL PROTECTED] writes: Do you have enough elisp to breakpoint in 'rcp-open-connection-rlogin' and single-step the code to see where it is losing it? If you can give me a pointer, I will. I suggest putting point in the

Remote directory tracking

2000-02-25 Thread Kai Großjohann
Francesco suggested WIBNI remote shells executed via M-x rlogin or M-x telnet or M-x ssh or something would do remote directory tracking, so that doing C-x C-f in the shell buffer automatically uses rcp.el to load the file? I'm afraid I almost never use any of the alternatives to start a remote

Re: Problem with rcp on NT

2000-02-25 Thread Kai Großjohann
Jeffrey Juliano [EMAIL PROTECTED] writes: ... thanks ... this email is kind of long. I did a little poking in fileio.c and did some testes. I describe as far as I got, including an excerpt of fileio.c that may be part of the problem, and my test showing why I think so. Hm. I saw a

RCP Use of ~ in commands - problems.

2000-02-25 Thread DE WEERD, Mario
Hello I have created a method that allows me to transfer files under a compressed format. Unfortunately the '~'-expansion does not work when calling these commands and I am obliged to change the '/bin/sh' in the 'rcp.el' file by '/bin/ksh'. Then it works. I need to use the '~' since my

Re: Errors using slm connection

2000-02-25 Thread Francesco Potorti`
Does it work if you modify rcp.el to say +onlcr rather than -onlcr? Nope. I get "unknown mode: +onlcr" tried this manually. The syntax should be "-onlcr" to turn it off, and "onlcr" to turn it on.

Re: Ways and means - tool existence question.

2000-02-25 Thread Daniel Pittman
On 10 Oct 1999, Kai Großjohann [EMAIL PROTECTED] wrote: Daniel Pittman [EMAIL PROTECTED] writes: In my VC, the only place that actually calls (vc-user-login-name) with a uid is: (defun vc-file-owner (file) ;; Return who owns FILE (user name, as a string). So, rather than spend a

more-secure-than-ange-ftp.el

2000-02-25 Thread Tom Roche
I understood rcp.el would allow me to use ssh in emacs including scp. That was also my initial reference to rcp.el--a post to ntemacs-users regarding an "ssh port" of ange-ftp. That comment says only if I don't have to log in with a password, but I do, so is rcp.el useless for me then?

Re: uuencode syntax?

2000-02-25 Thread Bob McClure Jr
On Thu, Oct 07, 1999 at 05:17:10PM +0200, Kai Großjohann wrote: Can you all do "uudecode --version 2/dev/null ; echo $?" and tell me what you see? On Solaris 2.6, I get exit status 2, and I have to use the "-p" thing. On Linux, I get a line saying GNU sharutils and exit status 0, and I

Problem with rcp on NT

2000-02-25 Thread Kai Großjohann
Jeffrey uses NT and has a couple of problems with rcp. I wonder why. Apparently, everything after the first colon is chopped off before rcp ever sees the filename. Hm. But this doesn't happen with ange-ftp, so what's wrong? kai -- Life is hard and then you die. Topics: rcp.el

Re: rcp.el 1.164: bug fixes

2000-02-25 Thread Paul Stevenson
DI Maximilian Renkin [EMAIL PROTECTED] writes: I just tried to use rcp-1.164.el with Gnu Emacs 20.4.1, using "/r@scp:hostname:/the/path" and got: Buffer *Messages* : ... Loading ange-ftp...done Symbol's function definition is void: find ... I've had this too. Presumably it's the `find'

Re: rssh: design question

2000-02-25 Thread Kai . Grossjohann
Francesco Potorti` [EMAIL PROTECTED] writes: Just to point out that pdksh exists, is stable, and is free. Luckily, rssh.el is happy with any Bourne-ish shell which groks tilde expansion, so users are not required to install pdksh on the remote host if bash, say, is available. kai -- I like

Re: bug when default-directory doesn't exist

2000-02-25 Thread Greg Stark
No, unless you have a reason for starting the process in the current directory you may as well blindly set it to "/" or "~/". The only effect default-directory should have in this context is where to auto-save the buffer if auto-save is turned on. Or I suppose where to core dump ssh if that

Re: rcp.el 1.140: bug fixes, work better with XEmacs/EFS?

2000-02-25 Thread Kai Großjohann
Erik Arneson [EMAIL PROTECTED] writes: I think I see what's happening now. The PATH is being emptied, and `test' therefore isn't found. It is located in /bin/ on that machine, and isn't built into the shell. Could that be the problem? Oh, my. Hm. I empty $PATH in order to get more

rcp-find-executable

2000-02-25 Thread Joe Stoy
The fragment (or (rcp-find-executable method user host "ksh" rcp-remote-path) (rcp-find-executable method user host "bash" rcp-remote-path))) (lines 2198-99 of ;; Version: $Id: rcp.el,v 1.222 2000/01/10 09:46:19 grossjoh Exp $) will never search for "bash", because rcp-find-executable

setup questions

2000-02-25 Thread Tom Roche
I use GNU Emacs 20.4.1 (i386-*-nt4.0.1381) of Thu Jul 15 1999 on NT4SP6. Considering how much I use it, my Emacs chops are pretty weak. I know how to byte-compile and load rcp.el from my _emacs, and I can read Elisp somewhat, and I try to RTFM which here seems to be

rssh.el 1.35: bugfix for rssh-handle-file-name-completion

2000-02-25 Thread Kai . Grossjohann
A thinko in that function. Here's the patch from 1.34 to 1.35. The new version is available from the usual URL. kai -- I like _b_o_t_h kinds of music. --- rssh.el 1999/02/17 17:06:12 1.34 +++ rssh.el 1999/02/18 10:39:06 1.35 @@ -4,7 +4,7 @@ ;; Author: [EMAIL PROTECTED]

Re: rssh: design question

2000-02-25 Thread Francesco Potorti`
Usually no ksh avail (ksh has to be licensed, is non-free). Just to point out that pdksh exists, is stable, and is free.

$Id: rcp.el,v 1.208 1999/11/13 12:57:58 grossjoh Exp $

2000-02-25 Thread Kai Großjohann
Here are the changes: revision 1.208 date: 1999/11/13 12:57:58; author: grossjoh; state: Exp; lines: +4 -2 rcp-open-connection-setup-interactive-shell: Turn off bash history, if appropriate. revision 1.207 date: 1999/11/13 12:51:46; author: grossjoh;

Re: Some stuff to improve life while using rcp

2000-02-25 Thread Kai Großjohann
DE WEERD, Mario [EMAIL PROTECTED] writes: - When I restart emacs, rcp files are not reloaded (of course, to save startup time with slow connections); Are you saying they are not reloaded but you expected them to be? Or are you saying that they are reloaded but should not be? Are you using a

rcp.el 1.104 -- bug with special chars in file names

2000-02-25 Thread Kai . Grossjohann
It wouldn't properly quote the special characters when copying files. Hope this is fixed now. ftp://ls6-ftp.cs.uni-dortmund.de/pub/src/emacs/rcp.el kai -- Abort this operation? [Abort] [Cancel]

Re: rcp now as tarball

2000-02-25 Thread Kai Großjohann
Paul Stevenson [EMAIL PROTECTED] writes: [EMAIL PROTECTED] (Kai Großjohann) writes: Kai Großjohann [EMAIL PROTECTED] writes: I connect to the remote machine using some method. I then have to wait for the remote shell to come up before doing anything. How do I do that? The

rcp.el 1.154: Dave Love fixes

2000-02-25 Thread Kai Großjohann
revision 1.154 date: 1999/10/06 15:21:19; author: grossjoh; state: Exp; lines: +42 -42 Dave Love [EMAIL PROTECTED]: Only require cl when compiling. Move `provide' to end. Minor doc and message fixes. Thanks, Dave! ftp://ls6-ftp.cs.uni-dortmund.de/pub/src/emacs/rcp.el kai -- Life

Re: rcp now as tarball

2000-02-25 Thread Paul Stevenson
[EMAIL PROTECTED] (Kai Großjohann) writes: Kai Großjohann [EMAIL PROTECTED] writes: But I don't know how to do that timing thing. Let me rephrase this as a question to all of you gurus out there: I connect to the remote machine using some method. I then have to wait for the remote

rcp.el 1.198: scp not recognizing connection

2000-02-25 Thread David Forrest
Well, looking at the output a little more, I saw what looked like 4 newlines between prompts, so when I changed the prompt to (process-send-string nil (format "PS1='\r%s\r'; PS2=''; PS3=''\n" ... it made it past there, but failed elsewhere. What should a healthy transcript of an scp session

Re: uuencode syntax?

2000-02-25 Thread David Barr
Kai Großjohann wrote: It seems that there are at least two versions of uuencode and uudecode floating around, which have incompatible invocation syntax. Encoding on Linux: uuencode foo FILE Decoding on Linux: uudecode -o - FILE Encoding on FreeBSD:uuencode FILE

New method.

2000-02-25 Thread Mark A. Hershberger
I'd like to add a method, but I'm unsure where to start. The method would allow you to login to the machine as one user and then use su to go to another user that was not allowed to log in. There are various examples of this, but in my case, I'd like to edit files that only root can touch on

Re: cross-posted, perhaps relevant question

2000-02-25 Thread Tim Carroll
Yep... a win-nah! The solution was so obvious as I wrote the question, having just made a custom bash prompt and seeing it uglify further the shell mode screen. Chalk this one up to lack of sleep and poor nutrition. I have since found also some function, ansi-term (native at least to my FSF

Re: rcp.el 1.164: bug fixes

2000-02-25 Thread DI Maximilian Renkin
I just tried to use rcp-1.164.el with Gnu Emacs 20.4.1, using "/r@scp:hostname:/the/path" and got: Buffer *Messages* : ... Loading ange-ftp...done Symbol's function definition is void: find ... Kai Großjohann wrote: Quite a number of contributed patches. I hope this version works

Problem with filelist generated by vc-directory.

2000-02-25 Thread DE WEERD, Mario
After a "list files locked by any user" (C-x v d or vc-directory) I get, when selecting a file: "The directory containing /r@ru:user@host:/foo1/foo2//foo1/foo2/file.foo does not exist." It has the same structure for the files that I tested. Best regards Mario De Weerd -- # ir. Mario De Weerd

List seems to be working again

2000-02-25 Thread Kai . Grossjohann
Hello everybody, it seems I screwed something up in our SmartList installation, but now everything seems to be working again (at least I received the last few mails), so hopefully we'll be able to communicate again... Sorry for the interruption, kai -- Abort this operation? [Abort] [Cancel]

Re: rcp.el 1.48: name change, defaults change

2000-02-25 Thread Kai . Grossjohann
Martin Pool [EMAIL PROTECTED] writes: Hmm. It seems like it'd be nice to implement transparent support for rsync (see http://samba.anu.edu.au/), which ought to make working with medium-huge remote files considerably faster, since it can ship just the delta across the network. Just

Re: Abbreviation feature?

2000-02-25 Thread Matthias Köppe
[EMAIL PROTECTED] (Matthias Köppe) writes: Maybe we could handle ange-ftp and rcp file names when chasing a chain of symbolic links in Emacs. (I remember that a patch to support this for ange-ftp names was once posted to one of the emacs newsgroups.) This is the article that I mentioned:

Re: rcp.el 1.48: name change, defaults change

2000-02-25 Thread Stefan Monnier
But ssh is not free, so rcp.el must be able to work with rsh (and this must be the default) if it is to be distributed with Emacs, says Richard. I'm not arguing this point. I'm arguing the usefulness of being able to use *both* rsh and ssh at the same time via /s: and /r: Stefan

Re: autosave bug still there?

2000-02-25 Thread Greg Stark
[EMAIL PROTECTED] (Kai Großjohann) writes: Greg has posted a bug report where setting rcp-auto-save-directory to some local directory didn't help -- rcp.el would infloop when trying to auto-save. Does anybody still see this? Do local auto-saves work (using rcp-auto-save-directory)? Do

Re: rcp.el 1.48: name change, defaults change

2000-02-25 Thread Kai . Grossjohann
"Edward J. Sabol" [EMAIL PROTECTED] writes: [...] Any suggestions? Kai, would you be interested in including something like this in rcp.el? [...] Here's what I did: ,- | ;; This function contributed by Ed Sabol | (defun rcp-handle-expand-many-files (name) | "Like

Re: rcp.el 1.48: name change, defaults change

2000-02-25 Thread Kai . Grossjohann
Francesco Potorti` [EMAIL PROTECTED] writes: I do! I think that rssh.el (or rcp.el, or whatever) should have an association list of prefixes and behaviours. Some behaviours should be: /r: rcp /s: scp /f: translate to / and give it to ange-ftp Oh my. You're

Re: rcp.el 1.48: name change, defaults change

2000-02-25 Thread Francesco Potorti`
I'm not arguing this point. I'm arguing the usefulness of being able to use *both* rsh and ssh at the same time via /s: and /r: Hm. Does scp fall back on rcp in the same way that ssh falls back on rsh? If so, you're probably right. No, because: - you may not have

rcp.el 1.190: bug fix

2000-02-25 Thread Kai Großjohann
I found the bug where end-of-file was being signalled. For an rcp-send-command, the corresponding rcp-wait-for-output was missing. This seems to be a problem with the current implementation: if the rcp-wait-for-output is missing, you don't (easily) see what's wrong. It took me _quite_ some time

Re: rcp.el bug -- VM's save tries to use ftp

2000-02-25 Thread Charles Karney
Well, I think that offering an rsync connect method is waving a dead chicken (is that the right term?) since most transfers are done to empty files, so the rsync mechanism doesn't really come into play. (Well, saving might be faster using rsync, I haven't investigated that.) Yes, rsync

  1   2   3   >