/[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.299 by kai, Sun Apr 27 13:16:00 2003 UTC revision 2.300 by kai, Sat May 3 20:14:11 2003 UTC
# Line 231  This variable defaults to the value of ` Line 231  This variable defaults to the value of `
231  ;;-  :group 'tramp  ;;-  :group 'tramp
232  ;;-  :type '(repeat character))  ;;-  :type '(repeat character))
233    
 ;; There are two approaches here.  One is to check for the system  
 ;; type.  The other approach is to search for a remsh executable and  
 ;; use it if found.  It seems that the former approach is faster, and  
 ;; experience shows that it works, so that's what we do.  
 (defconst tramp-real-rsh-program  
   (if (memq system-type '(hpux cray-unix-v))  
       "remsh" "rsh")  
   "Name of the remote shell command.  
 Under HP-UX and Cray it is \"remsh\" instead of \"rsh\".  (\"rsh\"  
 is the restricted shell on those systems.)")  
   
234  (defcustom tramp-methods  (defcustom tramp-methods
235    `( ("rcp"   (tramp-connection-function  tramp-open-connection-rsh)    '( ("rcp"   (tramp-connection-function  tramp-open-connection-rsh)
236                (tramp-rsh-program          ,tramp-real-rsh-program)                (tramp-rsh-program          "rsh")
237                (tramp-rcp-program          "rcp")                (tramp-rcp-program          "rcp")
238                (tramp-remote-sh            "/bin/sh")                (tramp-remote-sh            "/bin/sh")
239                (tramp-rsh-args             nil)                (tramp-rsh-args             nil)
# Line 322  is the restricted shell on those systems Line 311  is the restricted shell on those systems
311                (tramp-su-args              nil)                (tramp-su-args              nil)
312                (tramp-telnet-program       nil)                (tramp-telnet-program       nil)
313                (tramp-telnet-args          nil))                (tramp-telnet-args          nil))
314         ("remcp" (tramp-connection-function  tramp-open-connection-rsh)
315                  (tramp-rsh-program          "remsh")
316                  (tramp-rcp-program          "rcp")
317                  (tramp-remote-sh            "/bin/sh")
318                  (tramp-rsh-args             nil)
319                  (tramp-rcp-args             nil)
320                  (tramp-rcp-keep-date-arg    "-p")
321                  (tramp-su-program           nil)
322                  (tramp-su-args              nil)
323                  (tramp-telnet-program       nil)
324                  (tramp-telnet-args          nil))
325       ("rsh"   (tramp-connection-function  tramp-open-connection-rsh)       ("rsh"   (tramp-connection-function  tramp-open-connection-rsh)
326                (tramp-rsh-program          ,tramp-real-rsh-program)                (tramp-rsh-program          "rsh")
327                (tramp-rcp-program          nil)                (tramp-rcp-program          nil)
328                (tramp-remote-sh            "/bin/sh")                (tramp-remote-sh            "/bin/sh")
329                (tramp-rsh-args             nil)                (tramp-rsh-args             nil)
# Line 387  is the restricted shell on those systems Line 387  is the restricted shell on those systems
387                (tramp-rcp-args             nil)                (tramp-rcp-args             nil)
388                (tramp-rcp-keep-date-arg    nil)                (tramp-rcp-keep-date-arg    nil)
389                (tramp-su-program           nil)                (tramp-su-program           nil)
390                  (tramp-su-args              nil)
391                  (tramp-telnet-program       nil)
392                  (tramp-telnet-args          nil))
393         ("remsh" (tramp-connection-function  tramp-open-connection-rsh)
394                  (tramp-rsh-program          "remsh")
395                  (tramp-rcp-program          nil)
396                  (tramp-remote-sh            "/bin/sh")
397                  (tramp-rsh-args             nil)
398                  (tramp-rcp-args             nil)
399                  (tramp-rcp-keep-date-arg    nil)
400                  (tramp-su-program           nil)
401                (tramp-su-args              nil)                (tramp-su-args              nil)
402                (tramp-telnet-program       nil)                (tramp-telnet-program       nil)
403                (tramp-telnet-args          nil))                (tramp-telnet-args          nil))

Legend:
Removed from v.2.299  
changed lines
  Added in v.2.300

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