comparison lisp/net/tramp.el @ 68820:3a5ea93ff8b4

* net/tramp.el (tramp-remote-path): Add "/usr/xpg4/bin" on top, because on Solaris a POSIX compatible "id" is needed. Reported by Magnus Henoch <mange@freemail.hu>.
author Michael Albinus <michael.albinus@gmx.de>
date Sun, 12 Feb 2006 20:22:28 +0000
parents 74a3e3db0759
children 2578326defd6 d57ee9eab157
comparison
equal deleted inserted replaced
68819:a87d4de213c5 68820:3a5ea93ff8b4
834 The default value is to use the same value as `tramp-rsh-end-of-line'." 834 The default value is to use the same value as `tramp-rsh-end-of-line'."
835 :group 'tramp 835 :group 'tramp
836 :type 'string) 836 :type 'string)
837 837
838 (defcustom tramp-remote-path 838 (defcustom tramp-remote-path
839 '("/bin" "/usr/bin" "/usr/sbin" "/usr/local/bin" "/usr/ccs/bin" 839 ;; "/usr/xpg4/bin" has been placed first, because on Solaris a POSIX
840 "/local/bin" "/local/freeware/bin" "/local/gnu/bin" 840 ;; compatible "id" is needed.
841 '("/usr/xpg4/bin" "/bin" "/usr/bin" "/usr/sbin" "/usr/local/bin"
842 "/usr/ccs/bin" "/local/bin" "/local/freeware/bin" "/local/gnu/bin"
841 "/usr/freeware/bin" "/usr/pkg/bin" "/usr/contrib/bin") 843 "/usr/freeware/bin" "/usr/pkg/bin" "/usr/contrib/bin")
842 "*List of directories to search for executables on remote host. 844 "*List of directories to search for executables on remote host.
843 Please notify me about other semi-standard directories to include here. 845 Please notify me about other semi-standard directories to include here.
844 846
845 You can use `~' in this list, but when searching for a shell which groks 847 You can use `~' in this list, but when searching for a shell which groks
1733 on the remote host.") 1735 on the remote host.")
1734 1736
1735 (defvar tramp-perl-encode 1737 (defvar tramp-perl-encode
1736 "%s -e ' 1738 "%s -e '
1737 # This script contributed by Juanma Barranquero <lektu@terra.es>. 1739 # This script contributed by Juanma Barranquero <lektu@terra.es>.
1738 # Copyright (C) 2006 Free Software Foundation, Inc. 1740 # Copyright (C) 2002, 2006 Free Software Foundation, Inc.
1739 use strict; 1741 use strict;
1740 1742
1741 my %%trans = do { 1743 my %%trans = do {
1742 my $i = 0; 1744 my $i = 0;
1743 map {(substr(unpack(q(B8), chr $i++), 2, 6), $_)} 1745 map {(substr(unpack(q(B8), chr $i++), 2, 6), $_)}
1775 This string is passed to `format', so percent characters need to be doubled.") 1777 This string is passed to `format', so percent characters need to be doubled.")
1776 1778
1777 (defvar tramp-perl-decode 1779 (defvar tramp-perl-decode
1778 "%s -e ' 1780 "%s -e '
1779 # This script contributed by Juanma Barranquero <lektu@terra.es>. 1781 # This script contributed by Juanma Barranquero <lektu@terra.es>.
1780 # Copyright (C) 2006 Free Software Foundation, Inc. 1782 # Copyright (C) 2002, 2006 Free Software Foundation, Inc.
1781 use strict; 1783 use strict;
1782 1784
1783 my %%trans = do { 1785 my %%trans = do {
1784 my $i = 0; 1786 my $i = 0;
1785 map {($_, substr(unpack(q(B8), chr $i++), 2, 6))} 1787 map {($_, substr(unpack(q(B8), chr $i++), 2, 6))}