/[tramp]/tramp/lisp/tramp.el
ViewVC logotype

Diff of /tramp/lisp/tramp.el

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2.322 by kai, Thu Jul 3 11:51:54 2003 UTC revision 2.323 by kai, Sun Jul 20 13:19:01 2003 UTC
# Line 238  This variable defaults to the value of ` Line 238  This variable defaults to the value of `
238                (tramp-remote-sh            "/bin/sh")                (tramp-remote-sh            "/bin/sh")
239                (tramp-login-args           nil)                (tramp-login-args           nil)
240                (tramp-copy-args            nil)                (tramp-copy-args            nil)
241                (tramp-copy-keep-date-arg   "-p"))                (tramp-copy-keep-date-arg   "-p")
242                  (tramp-password-end-of-line nil))
243       ("scp"   (tramp-connection-function  tramp-open-connection-rsh)       ("scp"   (tramp-connection-function  tramp-open-connection-rsh)
244                (tramp-login-program        "ssh")                (tramp-login-program        "ssh")
245                (tramp-copy-program         "scp")                (tramp-copy-program         "scp")
246                (tramp-remote-sh            "/bin/sh")                (tramp-remote-sh            "/bin/sh")
247                (tramp-login-args           ("-e" "none"))                (tramp-login-args           ("-e" "none"))
248                (tramp-copy-args            nil)                (tramp-copy-args            nil)
249                (tramp-copy-keep-date-arg   "-p"))                (tramp-copy-keep-date-arg   "-p")
250                  (tramp-password-end-of-line nil))
251       ("scp1"  (tramp-connection-function  tramp-open-connection-rsh)       ("scp1"  (tramp-connection-function  tramp-open-connection-rsh)
252                (tramp-login-program        "ssh")                (tramp-login-program        "ssh")
253                (tramp-copy-program         "scp")                (tramp-copy-program         "scp")
254                (tramp-remote-sh            "/bin/sh")                (tramp-remote-sh            "/bin/sh")
255                (tramp-login-args           ("-1" "-e" "none"))                (tramp-login-args           ("-1" "-e" "none"))
256                (tramp-copy-args            ("-1"))                (tramp-copy-args            ("-1"))
257                (tramp-copy-keep-date-arg   "-p"))                (tramp-copy-keep-date-arg   "-p")
258                  (tramp-password-end-of-line nil))
259       ("scp2"  (tramp-connection-function  tramp-open-connection-rsh)       ("scp2"  (tramp-connection-function  tramp-open-connection-rsh)
260                (tramp-login-program        "ssh")                (tramp-login-program        "ssh")
261                (tramp-copy-program         "scp")                (tramp-copy-program         "scp")
262                (tramp-remote-sh            "/bin/sh")                (tramp-remote-sh            "/bin/sh")
263                (tramp-login-args           ("-2" "-e" "none"))                (tramp-login-args           ("-2" "-e" "none"))
264                (tramp-copy-args            ("-2"))                (tramp-copy-args            ("-2"))
265                (tramp-copy-keep-date-arg   "-p"))                (tramp-copy-keep-date-arg   "-p")
266                  (tramp-password-end-of-line nil))
267       ("scp1_old"       ("scp1_old"
268                (tramp-connection-function  tramp-open-connection-rsh)                (tramp-connection-function  tramp-open-connection-rsh)
269                (tramp-login-program        "ssh1")                (tramp-login-program        "ssh1")
# Line 267  This variable defaults to the value of ` Line 271  This variable defaults to the value of `
271                (tramp-remote-sh            "/bin/sh")                (tramp-remote-sh            "/bin/sh")
272                (tramp-login-args           ("-e" "none"))                (tramp-login-args           ("-e" "none"))
273                (tramp-copy-args            nil)                (tramp-copy-args            nil)
274                (tramp-copy-keep-date-arg   "-p"))                (tramp-copy-keep-date-arg   "-p")
275                  (tramp-password-end-of-line nil))
276       ("scp2_old"       ("scp2_old"
277                (tramp-connection-function  tramp-open-connection-rsh)                (tramp-connection-function  tramp-open-connection-rsh)
278                (tramp-login-program        "ssh2")                (tramp-login-program        "ssh2")
# Line 275  This variable defaults to the value of ` Line 280  This variable defaults to the value of `
280                (tramp-remote-sh            "/bin/sh")                (tramp-remote-sh            "/bin/sh")
281                (tramp-login-args           ("-e" "none"))                (tramp-login-args           ("-e" "none"))
282                (tramp-copy-args            nil)                (tramp-copy-args            nil)
283                (tramp-copy-keep-date-arg   "-p"))                (tramp-copy-keep-date-arg   "-p")
284                  (tramp-password-end-of-line nil))
285       ("rsync" (tramp-connection-function  tramp-open-connection-rsh)       ("rsync" (tramp-connection-function  tramp-open-connection-rsh)
286                (tramp-login-program        "ssh")                (tramp-login-program        "ssh")
287                (tramp-copy-program         "rsync")                (tramp-copy-program         "rsync")
288                (tramp-remote-sh            "/bin/sh")                (tramp-remote-sh            "/bin/sh")
289                (tramp-login-args           ("-e" "none"))                (tramp-login-args           ("-e" "none"))
290                (tramp-copy-args            ("-e" "ssh"))                (tramp-copy-args            ("-e" "ssh"))
291                (tramp-copy-keep-date-arg   "-t"))                (tramp-copy-keep-date-arg   "-t")
292                  (tramp-password-end-of-line nil))
293       ("remcp" (tramp-connection-function  tramp-open-connection-rsh)       ("remcp" (tramp-connection-function  tramp-open-connection-rsh)
294                (tramp-login-program        "remsh")                (tramp-login-program        "remsh")
295                (tramp-copy-program         "rcp")                (tramp-copy-program         "rcp")
296                (tramp-remote-sh            "/bin/sh")                (tramp-remote-sh            "/bin/sh")
297                (tramp-login-args           nil)                (tramp-login-args           nil)
298                (tramp-copy-args            nil)                (tramp-copy-args            nil)
299                (tramp-copy-keep-date-arg   "-p"))                (tramp-copy-keep-date-arg   "-p")
300                  (tramp-password-end-of-line nil))
301       ("rsh"   (tramp-connection-function  tramp-open-connection-rsh)       ("rsh"   (tramp-connection-function  tramp-open-connection-rsh)
302                (tramp-login-program        "rsh")                (tramp-login-program        "rsh")
303                (tramp-copy-program         nil)                (tramp-copy-program         nil)
304                (tramp-remote-sh            "/bin/sh")                (tramp-remote-sh            "/bin/sh")
305                (tramp-login-args           nil)                (tramp-login-args           nil)
306                (tramp-copy-args            nil)                (tramp-copy-args            nil)
307                (tramp-copy-keep-date-arg   nil))                (tramp-copy-keep-date-arg   nil)
308                  (tramp-password-end-of-line nil))
309       ("ssh"   (tramp-connection-function  tramp-open-connection-rsh)       ("ssh"   (tramp-connection-function  tramp-open-connection-rsh)
310                (tramp-login-program        "ssh")                (tramp-login-program        "ssh")
311                (tramp-copy-program         nil)                (tramp-copy-program         nil)
312                (tramp-remote-sh            "/bin/sh")                (tramp-remote-sh            "/bin/sh")
313                (tramp-login-args           ("-e" "none"))                (tramp-login-args           ("-e" "none"))
314                (tramp-copy-args            nil)                (tramp-copy-args            nil)
315                (tramp-copy-keep-date-arg   nil))                (tramp-copy-keep-date-arg   nil)
316                  (tramp-password-end-of-line nil))
317       ("ssh1"  (tramp-connection-function  tramp-open-connection-rsh)       ("ssh1"  (tramp-connection-function  tramp-open-connection-rsh)
318                (tramp-login-program        "ssh")                (tramp-login-program        "ssh")
319                (tramp-copy-program         nil)                (tramp-copy-program         nil)
320                (tramp-remote-sh            "/bin/sh")                (tramp-remote-sh            "/bin/sh")
321                (tramp-login-args           ("-1" "-e" "none"))                (tramp-login-args           ("-1" "-e" "none"))
322                (tramp-copy-args            ("-1"))                (tramp-copy-args            ("-1"))
323                (tramp-copy-keep-date-arg   nil))                (tramp-copy-keep-date-arg   nil)
324                  (tramp-password-end-of-line nil))
325       ("ssh2"  (tramp-connection-function  tramp-open-connection-rsh)       ("ssh2"  (tramp-connection-function  tramp-open-connection-rsh)
326                (tramp-login-program        "ssh")                (tramp-login-program        "ssh")
327                (tramp-copy-program         nil)                (tramp-copy-program         nil)
328                (tramp-remote-sh            "/bin/sh")                (tramp-remote-sh            "/bin/sh")
329                (tramp-login-args           ("-2" "-e" "none"))                (tramp-login-args           ("-2" "-e" "none"))
330                (tramp-copy-args            ("-2"))                (tramp-copy-args            ("-2"))
331                (tramp-copy-keep-date-arg   nil))                (tramp-copy-keep-date-arg   nil)
332                  (tramp-password-end-of-line nil))
333       ("ssh1_old"       ("ssh1_old"
334                (tramp-connection-function  tramp-open-connection-rsh)                (tramp-connection-function  tramp-open-connection-rsh)
335                (tramp-login-program        "ssh1")                (tramp-login-program        "ssh1")
# Line 325  This variable defaults to the value of ` Line 337  This variable defaults to the value of `
337                (tramp-remote-sh            "/bin/sh")                (tramp-remote-sh            "/bin/sh")
338                (tramp-login-args           ("-e" "none"))                (tramp-login-args           ("-e" "none"))
339                (tramp-copy-args            nil)                (tramp-copy-args            nil)
340                (tramp-copy-keep-date-arg   nil))                (tramp-copy-keep-date-arg   nil)
341                  (tramp-password-end-of-line nil))
342       ("ssh2_old"       ("ssh2_old"
343                (tramp-connection-function  tramp-open-connection-rsh)                (tramp-connection-function  tramp-open-connection-rsh)
344                (tramp-login-program        "ssh2")                (tramp-login-program        "ssh2")
# Line 333  This variable defaults to the value of ` Line 346  This variable defaults to the value of `
346                (tramp-remote-sh            "/bin/sh")                (tramp-remote-sh            "/bin/sh")
347                (tramp-login-args           ("-e" "none"))                (tramp-login-args           ("-e" "none"))
348                (tramp-copy-args            nil)                (tramp-copy-args            nil)
349                (tramp-copy-keep-date-arg   nil))                (tramp-copy-keep-date-arg   nil)
350                  (tramp-password-end-of-line nil))
351       ("remsh" (tramp-connection-function  tramp-open-connection-rsh)       ("remsh" (tramp-connection-function  tramp-open-connection-rsh)
352                (tramp-login-program        "remsh")                (tramp-login-program        "remsh")
353                (tramp-copy-program         nil)                (tramp-copy-program         nil)
354                (tramp-remote-sh            "/bin/sh")                (tramp-remote-sh            "/bin/sh")
355                (tramp-login-args           nil)                (tramp-login-args           nil)
356                (tramp-copy-args            nil)                (tramp-copy-args            nil)
357                (tramp-copy-keep-date-arg   nil))                (tramp-copy-keep-date-arg   nil)
358                  (tramp-password-end-of-line nil))
359       ("telnet"       ("telnet"
360                (tramp-connection-function  tramp-open-connection-telnet)                (tramp-connection-function  tramp-open-connection-telnet)
361                (tramp-login-program        "telnet")                (tramp-login-program        "telnet")
# Line 348  This variable defaults to the value of ` Line 363  This variable defaults to the value of `
363                (tramp-remote-sh            "/bin/sh")                (tramp-remote-sh            "/bin/sh")
364                (tramp-login-args           nil)                (tramp-login-args           nil)
365                (tramp-copy-args            nil)                (tramp-copy-args            nil)
366                (tramp-copy-keep-date-arg   nil))                (tramp-copy-keep-date-arg   nil)
367                  (tramp-password-end-of-line nil))
368       ("su"    (tramp-connection-function  tramp-open-connection-su)       ("su"    (tramp-connection-function  tramp-open-connection-su)
369                (tramp-login-program        "su")                (tramp-login-program        "su")
370                (tramp-copy-program         nil)                (tramp-copy-program         nil)
371                (tramp-remote-sh            "/bin/sh")                (tramp-remote-sh            "/bin/sh")
372                (tramp-login-args           ("-" "%u"))                (tramp-login-args           ("-" "%u"))
373                (tramp-copy-args            nil)                (tramp-copy-args            nil)
374                (tramp-copy-keep-date-arg   nil))                (tramp-copy-keep-date-arg   nil)
375                  (tramp-password-end-of-line nil))
376       ("sudo"  (tramp-connection-function  tramp-open-connection-su)       ("sudo"  (tramp-connection-function  tramp-open-connection-su)
377                (tramp-login-program        "sudo")                (tramp-login-program        "sudo")
378                (tramp-copy-program         nil)                (tramp-copy-program         nil)
# Line 363  This variable defaults to the value of ` Line 380  This variable defaults to the value of `
380                (tramp-login-args           ("-u" "%u" "-s"                (tramp-login-args           ("-u" "%u" "-s"
381                                             "-p" "Password:"))                                             "-p" "Password:"))
382                (tramp-copy-args            nil)                (tramp-copy-args            nil)
383                (tramp-copy-keep-date-arg   nil))                (tramp-copy-keep-date-arg   nil)
384                  (tramp-password-end-of-line nil))
385       ("multi" (tramp-connection-function  tramp-open-connection-multi)       ("multi" (tramp-connection-function  tramp-open-connection-multi)
386                (tramp-login-program        nil)                (tramp-login-program        nil)
387                (tramp-copy-program         nil)                (tramp-copy-program         nil)
388                (tramp-remote-sh            "/bin/sh")                (tramp-remote-sh            "/bin/sh")
389                (tramp-login-args           nil)                (tramp-login-args           nil)
390                (tramp-copy-args            nil)                (tramp-copy-args            nil)
391                (tramp-copy-keep-date-arg   nil))                (tramp-copy-keep-date-arg   nil)
392                  (tramp-password-end-of-line nil))
393       ("scpx"  (tramp-connection-function  tramp-open-connection-rsh)       ("scpx"  (tramp-connection-function  tramp-open-connection-rsh)
394                (tramp-login-program        "ssh")                (tramp-login-program        "ssh")
395                (tramp-copy-program         "scp")                (tramp-copy-program         "scp")
396                (tramp-remote-sh            "/bin/sh")                (tramp-remote-sh            "/bin/sh")
397                (tramp-login-args           ("-e" "none" "-t" "-t" "/bin/sh"))                (tramp-login-args           ("-e" "none" "-t" "-t" "/bin/sh"))
398                (tramp-copy-args            nil)                (tramp-copy-args            nil)
399                (tramp-copy-keep-date-arg   "-p"))                (tramp-copy-keep-date-arg   "-p")
400                  (tramp-password-end-of-line nil))
401       ("sshx"  (tramp-connection-function  tramp-open-connection-rsh)       ("sshx"  (tramp-connection-function  tramp-open-connection-rsh)
402                (tramp-login-program        "ssh")                (tramp-login-program        "ssh")
403                (tramp-copy-program         nil)                (tramp-copy-program         nil)
404                (tramp-remote-sh            "/bin/sh")                (tramp-remote-sh            "/bin/sh")
405                (tramp-login-args           ("-e" "none" "-t" "-t" "/bin/sh"))                (tramp-login-args           ("-e" "none" "-t" "-t" "/bin/sh"))
406                (tramp-copy-args            nil)                (tramp-copy-args            nil)
407                (tramp-copy-keep-date-arg   nil))                (tramp-copy-keep-date-arg   nil)
408                  (tramp-password-end-of-line nil))
409       ("krlogin"       ("krlogin"
410                (tramp-connection-function  tramp-open-connection-rsh)                (tramp-connection-function  tramp-open-connection-rsh)
411                (tramp-login-program        "krlogin")                (tramp-login-program        "krlogin")
# Line 392  This variable defaults to the value of ` Line 413  This variable defaults to the value of `
413                (tramp-remote-sh            "/bin/sh")                (tramp-remote-sh            "/bin/sh")
414                (tramp-login-args           ("-x"))                (tramp-login-args           ("-x"))
415                (tramp-copy-args            nil)                (tramp-copy-args            nil)
416                (tramp-copy-keep-date-arg   nil))                (tramp-copy-keep-date-arg   nil)
417                  (tramp-password-end-of-line nil))
418       ("plink"       ("plink"
419                (tramp-connection-function  tramp-open-connection-rsh)                (tramp-connection-function  tramp-open-connection-rsh)
420                (tramp-login-program        "plink")                (tramp-login-program        "plink")
# Line 400  This variable defaults to the value of ` Line 422  This variable defaults to the value of `
422                (tramp-remote-sh            "/bin/sh")                (tramp-remote-sh            "/bin/sh")
423                (tramp-login-args           ("-ssh")) ;optionally add "-v"                (tramp-login-args           ("-ssh")) ;optionally add "-v"
424                (tramp-copy-args            nil)                (tramp-copy-args            nil)
425                (tramp-copy-keep-date-arg   nil))                (tramp-copy-keep-date-arg   nil)
426                  (tramp-password-end-of-line "xy"))
427       ("plink1"       ("plink1"
428                (tramp-connection-function  tramp-open-connection-rsh)                (tramp-connection-function  tramp-open-connection-rsh)
429                (tramp-login-program        "plink")                (tramp-login-program        "plink")
# Line 408  This variable defaults to the value of ` Line 431  This variable defaults to the value of `
431                (tramp-remote-sh            "/bin/sh")                (tramp-remote-sh            "/bin/sh")
432                (tramp-login-args           ("-1" "-ssh")) ;optionally add "-v"                (tramp-login-args           ("-1" "-ssh")) ;optionally add "-v"
433                (tramp-copy-args            nil)                (tramp-copy-args            nil)
434                (tramp-copy-keep-date-arg   nil))                (tramp-copy-keep-date-arg   nil)
435                  (tramp-password-end-of-line "xy"))
436       ("pscp"       ("pscp"
437                (tramp-connection-function  tramp-open-connection-rsh)                (tramp-connection-function  tramp-open-connection-rsh)
438                (tramp-login-program        "plink")                (tramp-login-program        "plink")
# Line 416  This variable defaults to the value of ` Line 440  This variable defaults to the value of `
440                (tramp-remote-sh            "/bin/sh")                (tramp-remote-sh            "/bin/sh")
441                (tramp-login-args           ("-ssh"))                (tramp-login-args           ("-ssh"))
442                (tramp-copy-args            nil)                (tramp-copy-args            nil)
443                (tramp-copy-keep-date-arg   "-p"))                (tramp-copy-keep-date-arg   "-p")
444                  (tramp-password-end-of-line "xy"))
445       ("fcp"         ("fcp"  
446                (tramp-connection-function  tramp-open-connection-rsh)                (tramp-connection-function  tramp-open-connection-rsh)
447                (tramp-login-program        "fsh")                (tramp-login-program        "fsh")
# Line 424  This variable defaults to the value of ` Line 449  This variable defaults to the value of `
449                (tramp-remote-sh            "/bin/sh -i")                (tramp-remote-sh            "/bin/sh -i")
450                (tramp-login-args           ("sh" "-i"))                (tramp-login-args           ("sh" "-i"))
451                (tramp-copy-args            nil)                (tramp-copy-args            nil)
452                (tramp-copy-keep-date-arg   "-p"))                (tramp-copy-keep-date-arg   "-p")
453                  (tramp-password-end-of-line nil))
454       )       )
455    "*Alist of methods for remote files.    "*Alist of methods for remote files.
456  This is a list of entries of the form (NAME PARAM1 PARAM2 ...).  This is a list of entries of the form (NAME PARAM1 PARAM2 ...).
# Line 469  pair of the form (KEY VALUE).  The follo Line 495  pair of the form (KEY VALUE).  The follo
495      This specifies the parameter to use for the copying program when the      This specifies the parameter to use for the copying program when the
496      timestamp of the original file should be kept.  For `rcp', use `-p', for      timestamp of the original file should be kept.  For `rcp', use `-p', for
497      `rsync', use `-t'.      `rsync', use `-t'.
498      * `tramp-password-end-of-line'
499        This specifies the string to use for terminating the line after
500        submitting the password.  If this method parameter is nil, then the
501        value of the normal variable `tramp-default-password-end-of-line'
502        is used.  This parameter is necessary because the \"plink\" program
503        requires any two characters after sending the password.  These do
504        not have to be newline or carriage return characters.
505    
506  What does all this mean?  Well, you should specify `tramp-login-program'  What does all this mean?  Well, you should specify `tramp-login-program'
507  for all methods; this program is used to log in to the remote site.  Then,  for all methods; this program is used to log in to the remote site.  Then,
# Line 518  host other than `localhost' or the name Line 551  host other than `localhost' or the name
551                       (list (const tramp-encoding-function)                       (list (const tramp-encoding-function)
552                             (choice (const nil) function))                             (choice (const nil) function))
553                       (list (const tramp-decoding-function)                       (list (const tramp-decoding-function)
554                             (choice (const nil) function))))))                             (choice (const nil) function))
555                         (list (const tramp-password-end-of-line)
556                               (choice (const nil) string))))))
557    
558  (defcustom tramp-multi-methods '("multi" "multiu")  (defcustom tramp-multi-methods '("multi" "multiu")
559    "*List of multi-hop methods.    "*List of multi-hop methods.
# Line 664  the info pages." Line 699  the info pages."
699    "*String used for end of line in rsh connections.    "*String used for end of line in rsh connections.
700  I don't think this ever needs to be changed, so please tell me about it  I don't think this ever needs to be changed, so please tell me about it
701  if you need to change this.  if you need to change this.
702  Also see `tramp-password-end-of-line'."  Also see the method parameter `tramp-password-end-of-line' and the normal
703    variable `tramp-default-password-end-of-line'."
704    :group 'tramp    :group 'tramp
705    :type 'string)    :type 'string)
706    
707  (defcustom tramp-password-end-of-line  (defcustom tramp-default-password-end-of-line
708    (if (string-match "plink" tramp-default-method)    tramp-rsh-end-of-line
       ;; Any two characters will do for plink!  Doesn't have to be  
       ;; newline characters.  
       "xy"  
     tramp-rsh-end-of-line)  
709    "*String used for end of line after sending a password.    "*String used for end of line after sending a password.
710    This variable provides the default value for the method parameter
711    `tramp-password-end-of-line', see `tramp-methods' for more details.
712    
713  It seems that people using plink under Windows need to send  It seems that people using plink under Windows need to send
714  \"\\r\\n\" (carriage-return, then newline) after a password, but just  \"\\r\\n\" (carriage-return, then newline) after a password, but just
715  \"\\n\" after all other lines.  This variable can be used for the  \"\\n\" after all other lines.  This variable can be used for the
# Line 1309  method parameter, as specified in `tramp Line 1344  method parameter, as specified in `tramp
1344  In the connection buffer, this variable has the value of the like-named  In the connection buffer, this variable has the value of the like-named
1345  method parameter, as specified in `tramp-methods' (which see).")  method parameter, as specified in `tramp-methods' (which see).")
1346    
1347    (defvar tramp-password-end-of-line nil
1348      "This internal variable holds a parameter for `tramp-methods'.
1349    In the connection buffer, this variable has the value of the like-named
1350    method parameter, as specified in `tramp-methods' (which see).")
1351    
1352  ;; CCC `local in each buffer'?  ;; CCC `local in each buffer'?
1353  (defvar tramp-ls-command nil  (defvar tramp-ls-command nil
1354    "This command is used to get a long listing with numeric user and group ids.    "This command is used to get a long listing with numeric user and group ids.
# Line 5010  seconds.  If not, it produces an error m Line 5050  seconds.  If not, it produces an error m
5050  Uses PROMPT as a prompt and sends the password to process P."  Uses PROMPT as a prompt and sends the password to process P."
5051    (let ((pw (tramp-read-passwd prompt)))    (let ((pw (tramp-read-passwd prompt)))
5052      (erase-buffer)      (erase-buffer)
5053      (process-send-string p (concat pw tramp-password-end-of-line))))      (process-send-string
5054         p (concat pw
5055                   (tramp-get-password-end-of-line
5056                    tramp-current-multi-method
5057                    tramp-current-method
5058                    tramp-current-user
5059                    tramp-current-host)))))
5060    
5061  ;; HHH: Not Changed.  This might handle the case where USER is not  ;; HHH: Not Changed.  This might handle the case where USER is not
5062  ;;      given in the "File name" very poorly.  Then, the local  ;;      given in the "File name" very poorly.  Then, the local
# Line 6120  If the value is not set for the connecti Line 6166  If the value is not set for the connecti
6166                (error "Method `%s' didn't specify `keep-date' arg for tramp"                (error "Method `%s' didn't specify `keep-date' arg for tramp"
6167                       (or multi-method method)))))                       (or multi-method method)))))
6168    
6169    (defun tramp-get-password-end-of-line (multi-method method user host)
6170      (let ((entry (assoc 'tramp-password-end-of-line
6171                          (assoc (tramp-find-method multi-method method user host)
6172                                 tramp-methods))))
6173        (unless entry
6174          (error "Method `%s' didn't specify `password-end-of-line' arg for tramp"
6175                 (or multi-method method)))
6176        (or (second entry) tramp-default-password-end-of-line)))
6177    
6178  ;; Auto saving to a special directory.  ;; Auto saving to a special directory.
6179    
6180  (defun tramp-make-auto-save-file-name (fn)  (defun tramp-make-auto-save-file-name (fn)
# Line 6385  Only works for Bourne-like shells." Line 6440  Only works for Bourne-like shells."
6440         tramp-auto-save-directory        ; vars to dump         tramp-auto-save-directory        ; vars to dump
6441         tramp-default-method         tramp-default-method
6442         tramp-rsh-end-of-line         tramp-rsh-end-of-line
6443         tramp-password-end-of-line         tramp-default-password-end-of-line
6444         tramp-remote-path         tramp-remote-path
6445         tramp-login-prompt-regexp         tramp-login-prompt-regexp
6446         tramp-password-prompt-regexp         tramp-password-prompt-regexp

Legend:
Removed from v.2.322  
changed lines
  Added in v.2.323

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26