Re: tramp ($Id: tramp.el,v 1.393 2000/06/06 12:58:27 grossjoh Exp $); Error message: Signaling: (wrong-type-argument listp perl:)

2000-08-02 Thread Daniel Pittman
On Wed, 2 Aug 2000, Kai Großjohann [EMAIL PROTECTED] wrote: On 02 Aug 2000, Alexander Schindler wrote: Indeed, Perl gives an error message which seems to cause tramp to die, even though the message (in my opinion) isn't a fatal one for perl: [...] (I just found out that there are two

Re: other tools like TRAMP

2000-08-11 Thread Daniel Pittman
On Fri, 11 Aug 2000, Viorel Anghel [EMAIL PROTECTED] wrote: Please be merciful with someone who doesn't seen the light yet ;-) I'm not using emacs, but i like TRAMP... Basically, i need to tools: one for doing 'remote ls' and one for doing 'remote copy', which should suport multiple hops

Re: How to test if file exists?

2000-08-27 Thread Daniel Pittman
On 27 Aug 2000, Kai Großjohann [EMAIL PROTECTED] wrote: On 27 Aug 2000, Daniel Pittman wrote: Alternately, couldn't you bootstrap the thing with some Unix assumptions: /tmp (or the content of ${TEMP} or ${TMP}) will be a directory in which we can create files, and that creating a file

Re: Using ssh as a default method

2000-09-12 Thread Daniel Pittman
On 11 Sep 2000, Henrik Holm [EMAIL PROTECTED] wrote: I am using `scp' as my default method in TRAMP. on the computer I am currently using, my user name is user1. on a remote host, remote.host.name, my user name is user2. for my convenience, I have an .ssh/config file with the following

Re: Using ssh as a default method

2000-09-12 Thread Daniel Pittman
On 12 Sep 2000, Henrik Holm [EMAIL PROTECTED] wrote: [Kai Großjohann] On 12 Sep 2000, Henrik Holm wrote: [...] It might be necessary to change several functions here... and the best way of accomplishing this, if I am able to do it, is probably to submit a "patch". how can I do this?

Re: Link to node `Packages' of XEmacs info file?

2000-09-21 Thread Daniel Pittman
On 21 Sep 2000, Kai Großjohann [EMAIL PROTECTED] wrote: On Thu, 21 Sep 2000, Pete Forman wrote: A quick search of Google came up with that page at Fermilab. http://www.fnal.gov/docs/products/xemacs/v21_1/xemacs.info,.Packages.html Okay, I took that one. The xemacs.org page wasn't what

Re: Using ssh as a default method

2000-09-13 Thread Daniel Pittman
On 14 Sep 2000, Kai Großjohann [EMAIL PROTECTED] wrote: [...] Lots of functions in Tramp take multi-method, method, user, host and path as arguments. Maybe they should be taking a tramp-file-name struct instead. Hm. Please. It's been on my todo list for, er, some time now. I just haven't

Re: Unidentified subject!

2000-09-23 Thread Daniel Pittman
On 23 Sep 2000, Kai Großjohann [EMAIL PROTECTED] wrote: On Fri, 22 Sep 2000, Thomas Hauser wrote: I had problems to connect to one particular sgi Origin 2000. I get the message (invalid-read-syntax "Integer constant overflow in reader" "1186988379" 10) read(#buffer "*tramp/scp

Re: Does Tramp play ball with Emacs 21?

2000-10-22 Thread Daniel Pittman
On 20 Oct 2000, Kai Großjoha nn [EMAIL PROTECTED] wrote: [...] Oh, Tramp still doesn't like the new VC. Hm. Does it work on non-VC'd files? I'll work on the new VC sometime later. Rumor says that XEmacs will be picking up the new VC at some point. If that happens, I will be addressing

Re: Password and passphrase recognition

2000-10-26 Thread Daniel Pittman
On Thu, 26 Oct 2000, Pete Forman [EMAIL PROTECTED] wrote: Kai Großjohann writes: On Thu, 26 Oct 2000, Yuji Yamano wrote: I agree. I think we need a framework for easy configuration. For example, here is an alist of regexp and function pair for login procedure: (setq

Re: Case-insensitive filename completions

2000-11-01 Thread Daniel Pittman
On 01 Nov 2000, Kai Großjohann [EMAIL PROTECTED] wrote: Right now, Tramp uses `echo foo*' to find completions for foo. If we want completions to be case-insensitive, Please, don't. I am rather fond of my Unix behaviour. Making it case insensitive would break my expectations and cause

Re: Case-insensitive filename completions

2000-11-02 Thread Daniel Pittman
Kai Großjohann [EMAIL PROTECTED] writes: On 02 Nov 2000, [EMAIL PROTECTED] wrote: It should be supported. I don't know quite how, though, except maybe with find(1) based hacks. (-iname is your friend. :) `-iname' is peculiar to GNU find, I think. Solaris 2.6 doesn't have it. Is it? Darn.

Re: Case-insensitive filename completions

2000-11-02 Thread Daniel Pittman
Kai Großjohann [EMAIL PROTECTED] writes: On 2 Nov 2000, [EMAIL PROTECTED] wrote: File name completion isn't case sensitive in my XEmacs; is this a Windows thing (ick) or a new-GNU-Emacs thing? There is a variable completion-ignore-case. Of course, filename completion in Tramp should depend

Re: tramp ($Id: tramp.el,v 1.432 2000/11/09 16:51:33 grossjoh Exp $); TRAMP said: 'this cannot happen, please submit a bug report' when opening an 'su' connection.

2000-11-17 Thread Daniel Pittman
Kai Großjohann [EMAIL PROTECTED] writes: On 15 Nov 2000, Colin Marquardt wrote: [EMAIL PROTECTED] (Kai Großjohann) writes: And does the new version work that you'll see in a jiffy? Unfortunately, no. Daniel, could you install your change, please? It's now committed. :) I'm in a bit of

Re: connecting with telnet and a port number

2000-11-23 Thread Daniel Pittman
Harry Putnam [EMAIL PROTECTED] writes: Having trouble figuring out how to connect to a machine via the telnet protocol. TRAMP has an assumption that the remote machine runs telnetd on port 23, the standard telnet port. There isn't any support for other ports, I believe. If you want support

Re: connecting with telnet and a port number

2000-11-23 Thread Daniel Pittman
Harry Putnam [EMAIL PROTECTED] writes: "Daniel Pittman" [EMAIL PROTECTED] writes: Harry Putnam [EMAIL PROTECTED] writes: Having trouble figuring out how to connect to a machine via the telnet protocol. TRAMP has an assumption that the remote machine runs telnetd o

Re: Doc bug? relative speed of inline/out-of-band methods

2000-12-17 Thread Daniel Pittman
Kai Großjohann [EMAIL PROTECTED] writes: [...] Michael Kifer claims that `scp' might be slower than inline methods due to the cryptographic overhead involved while transferring the file. (This is distinct from the startup overhead; it refers to what happens after startup: encryption and

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

Re: odd search order looking for perl?

2001-01-24 Thread Daniel Pittman
Pete Forman [EMAIL PROTECTED] writes: Francesco Potorti` writes: 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: Yes but not for any tr. Try this change

Re: rsync method frequently fails when reading remote file

2001-01-25 Thread Daniel Pittman
Skip Montanaro [EMAIL PROTECTED] writes: I just discovered the rsync method (what a godsend!). Unfortunately, it doesn't always read the remote file (maybe once every three or four tries), failing with the following message: [...] Invalid read syntax: "Expected", ("lambda"

Re: tramp ($Id: tramp.el,v 1.440 2001/01/18 23:20:57 grossjoh Exp $); Yet another Couldn't find exit status of `ls -d' command

2001-01-28 Thread Daniel Pittman
E Jason Riedy [EMAIL PROTECTED] writes: [...] Mark me as another person stuck at the initial login. Every encrypted mode I've tried hoses, but I haven't tried any non- encrypted mode. A (sit-for 1) directly after the "echo hello" solves the problem. Un-commenting the one before all that

Re: tramp ($Id: tramp.el,v 1.448 2001/02/18 10:37:36 grossjoh Exp $); End of file during parsing...

2001-02-21 Thread Daniel Pittman
On Wed, 21 Feb 2001, Paul Stevenson wrote: [...] I try to get a file from a remote machine with ssh2. ssh-agent is such that I can do this transparently from the command line, but I get 'End of file during parsing' [...] $ ( echo /bin;echo /usr/bin;echo /usr/sbin;echo /usr/local/bin;echo

Re: Time for Tramp 2.0?

2001-02-26 Thread Daniel Pittman
On 26 Feb 2001, Kai Grojohann wrote: On 26 Feb 2001, Daniel Pittman wrote: Once it got there, I figured that establishing a branch in CVS and committing it, then porting the various file operation handlers to the new infrastructure was in order. I am happy to listen to suggestions

Re: Time for Tramp 2.0?

2001-02-27 Thread Daniel Pittman
On 27 Feb 2001, Kai Grojohann wrote: On 27 Feb 2001, Daniel Pittman wrote: This is a description of what I have implemented and working in the path parser at the moment, modulo ensuring that it all works. The optional-ness of things is somewhat vague at present. This is way cool. Mouth

Re: Time for Tramp 2.0?

2001-02-28 Thread Daniel Pittman
On Wed, 28 Feb 2001, Francesco Potorti` wrote: Kai Maybe `::' could be the end of the connect list? Maybe nobody uses VMS and DECNET anymore, but isn't "::" a separator between host and path components in a DECNET address? (It's been a *long* while since I've seen a VMS

Re: Time for Tramp 2.0?

2001-02-28 Thread Daniel Pittman
On 28 Feb 2001, Kai Grojohann wrote: On 28 Feb 2001, Daniel Pittman wrote: Well... I bow to Kai on this. My personal feeling is that having a branch for the new development and retaining the older tramp for bug-fixing 'til the new one works is good. I prefer to have the development

Re: Putty compatibility

2001-02-28 Thread Daniel Pittman
On 28 Feb 2001, Kai Grojohann wrote: The right command for putty is plink -ssh username@hostname But the current tramp-open-connection-rsh code wants to do plink -ssh hostname -l username Clearly, this is bad. So my idea is to change tramp-methods so that the rsh-args list

Re: parameterize wait time?

2001-02-28 Thread Daniel Pittman
On Wed, 28 Feb 2001, Tom Roche wrote: Dunno if this is already implemented, but it's apparently not done in tramp-1.449 (I see a lotta 60s in tramp.el): IMHO it would be good to parameterize the wait time (e.g. setq tramp-wait-seconds), so as to expose that to the user. I suppose if one's

Re: tramp with 'plink -pw'

2001-02-28 Thread Daniel Pittman
On Wed, 28 Feb 2001, Tom Roche wrote: Bill Pringlemeir [EMAIL PROTECTED] 28 Feb 2001 13:43:25 However, you can use the "-pw secret" option to allow plink to connect. This worked on my NTEmacs 20.7.3. [EMAIL PROTECTED] Wed, 28 Feb 2001 16:30:10 -0500 And for me on GNU Emacs 20.7.1

Re: loads but won't save? was: plink and tramp-2.0.2.1: more progress

2001-03-04 Thread Daniel Pittman
On 04 Mar 2001, Kai Grojohann wrote: [...] Tramp is quite anal about having all kinds of method parameters. Don't let any of them default to anything. Specify them all. So just add (tramp-rcp-args nil) into the method spec, and you should be all set. Look at the other methods so you're

Re: loads but won't save? was: plink and tramp-2.0.2.1: more progress

2001-03-04 Thread Daniel Pittman
On 04 Mar 2001, Kai Grojohann wrote: On 04 Mar 2001, Daniel Pittman wrote: By default, I want this to have as much automatic configuration as possible. So, my plan is that, by default, the method for encoding and decoding files on the remote machine will be auto-detected. That's a good

TRAMP Debian package...

2001-03-04 Thread Daniel Pittman
I notice that there is now a TRAMP Debian package available, packaged and submitted by Ola Lundqvist. I didn't notice an announcement on the TRAMP mailing list about the availability of this package, so it came as a bit of a surprise to me when I scanned the new packages list. ;) Anyway, I was

Re: TRAMP Debian package...

2001-03-05 Thread Daniel Pittman
On Mon, 5 Mar 2001, Ola Lundqvist wrote: On Mon, Mar 05, 2001 at 11:23:46AM +1100, Daniel Pittman wrote: I notice that there is now a TRAMP Debian package available, packaged and submitted by Ola Lundqvist. I didn't notice an announcement on the TRAMP mailing list about the availability

Re: names

2001-03-07 Thread Daniel Pittman
On 07 Mar 2001, Kai Grojohann wrote: On Mon, 05 Mar 2001, Francesco Potorti` wrote: The midnight commander uses this sort of file names: /#sh:[user@]machine[:options]/[remote-dir] I wonder what the beginning means? Does "/#sh:" mean it's to be fetched via ssh? And are there

Re: aliases? was: names

2001-03-09 Thread Daniel Pittman
On Fri, 09 Mar 2001, Tom Roche wrote: Presuming TRAMP2 is still wish-list-able, could I suggest what might be a feature? Of course it is. It's not likely to /stop/ being enhanced before it dies of old age. :) I work with several servers, more than a few of which have ungodly long

Re: TRAMP2 path definitions.

2001-03-14 Thread Daniel Pittman
On Tue, 13 Mar 2001, Pete Forman wrote: Daniel Pittman writes: As such, I want to propose an alternate tag to indicate our own paths: "/!/" [...] I agree with you but would like to take it further. How about reworking the whole syntax along these lines. /![@en

Re: TRAMP2 path definitions.

2001-03-14 Thread Daniel Pittman
On 13 Mar 2001, Stefan Monnier wrote: "Pete" == Pete Forman [EMAIL PROTECTED] writes: /![@enc]/:telnet://[usr[:pwd]@]host1[:port]/ssh://host2/:/path/to/file [...] F tramp-prefix-authority"//:" or "#" Clearly ""//:"" won't do since Emacs tends to interpret it directly. I liked the

Re: TRAMP2 path definitions.

2001-03-14 Thread Daniel Pittman
On Tue, 13 Mar 2001, Francesco Potorti` wrote: As such, I want to propose an alternate tag to indicate our own paths: "/!/" Seconded. I still do not like it at all. It's completely different from anything that is done out there. There is a quasi-standard for

Re: TRAMP2 path definitions.

2001-03-14 Thread Daniel Pittman
On Tue, 13 Mar 2001, Edward J. Sabol wrote: I agree with Francesco. I don't like "/!/" at all. The prefix will be changeable, using custom, with no trouble at all. First off, I have to use the shift key to type the exclamation point. So, pick something different. "/tramp/" is available.

Re: TRAMP2 path definitions.

2001-03-14 Thread Daniel Pittman
On 13 Mar 2001, Stefan Monnier wrote: "Francesco" == Francesco Potorti` [EMAIL PROTECTED] writes: Emacs should have a general hook for /[^/]+:.* filenames, where [^/]+ is the protocol. Then, different packages could register to that hook and tell it which protocol they do manage. I think

Re: [pot@gnu.org: Re: TRAMP2 path definitions.]

2001-03-14 Thread Daniel Pittman
On Wed, 14 Mar 2001, Francesco Potorti` wrote: Well, I tried to write a message for the Emacs developers and pretesters lists, but could not manage to write anything that would make sense. I am happy to offer what help I can. I would like to see a good solution to the issue forged. I

Re: TRAMP2 path definitions.

2001-03-14 Thread Daniel Pittman
On Wed, 14 Mar 2001, Edward J. Sabol wrote: On 15-Mar-2001, Daniel Pittman wrote: On Tue, 13 Mar 2001, Edward J. Sabol wrote: I agree with Francesco. I don't like "/!/" at all. The prefix will be changeable, using custom, with no trouble at all. Yes, that's always been the c

Re: TRAMP2 path definitions.

2001-03-14 Thread Daniel Pittman
On 14 Mar 2001, Kai Grojohann wrote: On Wed, 14 Mar 2001, Edward J. Sabol wrote: On 15-Mar-2001, Daniel Pittman wrote: [...] It's hard to support, requires hacking the innards of other packages and introduces load-order dependencies in the packages. Correct me if I'm wrong, but it's

Re: TRAMP2 path definitions.

2001-03-15 Thread Daniel Pittman
On 15 Mar 2001, Kai Grojohann wrote: On 15 Mar 2001, Daniel Pittman wrote: True. I intend to take this up with the maintainers of it, eventually. It's also true, though, of Ange-FTP. To my knowledge, Ange-FTP isn't so pushy. For Ange-FTP, it's sufficient to add it to file-name-handler

Re: TRAMP2 path definitions.

2001-03-15 Thread Daniel Pittman
On 15 Mar 2001, Kai Grojohann wrote: On 15 Mar 2001, Daniel Pittman wrote: Anyway, I will look at that as a solution to the hook ordering thing, unless someone felt like doing it for me. :) Well, your current filename suggestion means there is no clash. Which is good. In case

Re: TRAMP2 path definitions.

2001-03-15 Thread Daniel Pittman
On 15 Mar 2001, Stefan Monnier wrote: "Daniel" == Daniel Pittman [EMAIL PROTECTED] writes: Isn't C-u [1] C-x C-f what you want there, or is that just XEmacs? I think it's an Emacsism (but I wouldn't know). It prompts me interactively for a coding syste

Re: tramp-aware bindings

2001-03-15 Thread Daniel Pittman
On Thu, 15 Mar 2001, Tom Roche wrote: [...] Urgghh ... this highlights my elisp deficiency. I've done several variations on ;; "Use 'tramp-compile' if in a tramp buffer, 'compile' otherwise." (define-key global-map "\M-`" (lambda (optional arg) (if (tramp-tramp-file-p

Re: tramp-aware bindings

2001-03-15 Thread Daniel Pittman
On Thu, 15 Mar 2001, Tom Roche wrote: On Thu, 15 Mar 2001, Tom Roche wrote: [...] Daniel Pittman [EMAIL PROTECTED] 16 Mar 2001 10:48:11 +1100 Trying to bind a function that isn't interactive to a key sequence. Add an `interactive' form to the top of the function. Actually, I had tried

Re: tramp-aware bindings

2001-03-15 Thread Daniel Pittman
On Thu, 15 Mar 2001, Tom Roche wrote: On Thu, 15 Mar 2001, Tom Roche wrote: What am I doing wrong? [...] Daniel Pittman [EMAIL PROTECTED] 16 Mar 2001 11:18:38 +1100 You want: (define-key global-map "\M-`" (lambda (optional arg) (interactive) (if (tramp-tramp-fil

Re: tramp-aware bindings

2001-03-15 Thread Daniel Pittman
On Thu, 15 Mar 2001, Tom Roche wrote: Daniel Pittman [EMAIL PROTECTED] 16 Mar 2001 11:18:38 +1100 You want: (define-key global-map "\M-`" (lambda (optional arg) (interactive) (if (tramp-tramp-file-p buffer-file-name) 'tramp-compile

Re: tramp-aware bindings

2001-03-15 Thread Daniel Pittman
On Thu, 15 Mar 2001, Tom Roche wrote: Daniel Pittman [EMAIL PROTECTED] 16 Mar 2001 11:18:38 +1100 So, rather than doing (if ... 'tramp-compile 'compile), run the command you want, so: (if ... (tramp-compile) (compile)) On Thu, 15 Mar 2001, Tom Roche wrote: I get noise in *Messages

Re: found a clue! was: tramp-aware bindings

2001-03-15 Thread Daniel Pittman
On Thu, 15 Mar 2001, Tom Roche wrote: Daniel Pittman [EMAIL PROTECTED] 16 Mar 2001 13:47:29 +1100 So, you need to pass arg from your lambda to `compile'. :) [EMAIL PROTECTED] Thu, 15 Mar 2001 22:19:32 -0500 Hey, no linenoise! But the signature of compile is (defun compile (command) snip

Re: tramp ($Id: tramp.el,v 1.449 2001/02/20 10:02:30 grossjoh Exp $); No indication if remote file has changed on disk

2001-03-16 Thread Daniel Pittman
On 16 Mar 2001, Kai Grojohann wrote: On 16 Mar 2001, Daniel Katz wrote: With a local file, emacs would notice that the file had changed on disk and offer to re-read it into the buffer. Files that I visit by tramp don't notice that the file has changed and don't ask whether I want to

Re: tramp ($Id: tramp.el,v 2.0.2.2 2001/03/03 00:06:34 grossjoh Exp $); Trampled file during sccs create (sic) admin

2001-03-27 Thread Daniel Pittman
On Tue, 27 Mar 2001, Kim Taylor wrote: [...] Initial (failed) checkin to SCCS of a remote file resulted in remote file being deleted and localthe associated tramp buffer too! Ack! I don't have SCCS, nor do I have access to SCCS anywhere. This means that it is untested. I know that RCS works

Re: Turn off check for perl5?

2001-05-25 Thread Daniel Pittman
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

Re: tramp ($Id: tramp.el,v 2.0.2.1 2001/02/28 18:10:31 grossjoh Exp $); undo returns file to unsaved state with saved flag set

2001-06-03 Thread Daniel Pittman
On 03 Jun 2001, Kai Großjohann wrote: [...] Oh, boy. I have no idea how Emacs works when you do that. Hm. Hm. I can reproduce the behavior. But how does Emacs normally know that the file has changed? Hm. Does anybody know what is going on behind the scenes? Generally, using

Re: tramp ($Id: tramp.el,v 2.0.2.1 2001/02/28 18:10:31 grossjoh Exp $); undo returns file to unsaved state with saved flag set

2001-06-03 Thread Daniel Pittman
On 03 Jun 2001, Kai Großjohann wrote: On 03 Jun 2001, Daniel Pittman wrote: Generally, using `verify-visited-file-modtime', as I understand. Since tramp does not implement this, I don't know what Emacs would do... Hm. H Hmm... I'm really confused

Re: tramp ($Id: tramp.el,v 2.29 2001/06/03 18:41:26 grossjoh Exp $); make does not work?

2001-06-05 Thread Daniel Pittman
On 05 Jun 2001, [EMAIL PROTECTED] wrote: [...] getting the latest version as of this morning, some files in the lisp directory are not compiled... is that OK? Which ones? Daniel -- If you do what you should not, you must bear what you would not. -- Ben Franklin

Re: tramp ($Id: tramp.el,v 2.0.2.5 2001/06/15 11:45:17 grossjoh Exp $); Does not appear to be working on HP-UX

2001-06-19 Thread Daniel Pittman
On 19 Jun 2001, Kai Großjohann wrote: On Mon, 18 Jun 2001, Brian M. Fahs wrote: Waiting in wait-for-output. It seems that you are using tramp2? (The directory contains both tramp.el and tramp2.el.) Hm. Dunno what to do about tramp2. Daniel? Should we use Brian as a guinea pig for

<    1   2