148 |
* Overview:: What @tramp{} can and cannot do. |
* Overview:: What @tramp{} can and cannot do. |
149 |
|
|
150 |
For the end user: |
For the end user: |
151 |
* Obtaining @tramp{}:: How to obtain @tramp{}. |
* Obtaining @tramp{}:: How to obtain @tramp{}. |
152 |
* History:: History of @tramp{}. |
* History:: History of @tramp{}. |
153 |
* Installation:: Installing @tramp{} with your @value{emacs-name}. |
* Installation:: Installing @tramp{} with your @value{emacs-name}. |
154 |
* Configuration:: Configuring @tramp{} for use. |
* Configuration:: Configuring @tramp{} for use. |
1626 |
@value{tramp-prefix-single-hop}telnet@value{tramp-postfix-single-hop} @value{tramp-prefix-single-hop}toto@value{tramp-postfix} |
@value{tramp-prefix-single-hop}telnet@value{tramp-postfix-single-hop} @value{tramp-prefix-single-hop}toto@value{tramp-postfix} |
1627 |
@end ifset |
@end ifset |
1628 |
@end example |
@end example |
1629 |
|
|
1630 |
@samp{@value{tramp-prefix-single-hop}telnet@value{tramp-postfix-single-hop}} |
@samp{@value{tramp-prefix-single-hop}telnet@value{tramp-postfix-single-hop}} |
1631 |
is a possible completion for the respective method, |
is a possible completion for the respective method, |
1632 |
@ifset emacs |
@ifset emacs |
1751 |
|
|
1752 |
|
|
1753 |
@item |
@item |
1754 |
I can't stop EFS starting with XEmacs |
I can't stop @value{ftp-package-name} starting with @value{emacs-name} |
1755 |
|
|
1756 |
|
@ifset emacs |
1757 |
|
@value{ftp-package-name} is loaded from @tramp{} automatically if you |
1758 |
|
require a file by the ftp method. Unfortunately, there are some Lisp |
1759 |
|
packages which make @value{ftp-package-name} file name handlers active. |
1760 |
|
You can see it applying @kbd{C-h v file-name-handler-alist}: |
1761 |
|
|
1762 |
|
@example |
1763 |
|
file-name-handler-alist's value is |
1764 |
|
(("^/[^/:]*\\'" . ange-ftp-completion-hook-function) |
1765 |
|
("^/[^/:]*[^/:.]:" . ange-ftp-hook-function) |
1766 |
|
("^/[^/]*$" . tramp-completion-file-name-handler) |
1767 |
|
("\\`/[^/:]+:" . tramp-file-name-handler) |
1768 |
|
("\\`/:" . file-name-non-special)) |
1769 |
|
@end example |
1770 |
|
|
1771 |
Not all the older versions of @tramp{} supported XEmacs correctly. The |
Please try to find out which package is responsible for loading |
1772 |
first thing to do is to make sure that you have the latest version of |
@value{ftp-package-name}, and raise a bug report. |
1773 |
@tramp{} installed. |
|
1774 |
|
A workaround is to require @value{ftp-package-name} before @tramp{} in |
1775 |
|
your @file{~/.emacs}, because @tramp{} cleans up the entries in |
1776 |
|
@code{file-name-handler-alist}: |
1777 |
|
|
1778 |
|
@lisp |
1779 |
|
;; @value{ftp-package-name} temporarily required |
1780 |
|
(require 'ange-ftp) |
1781 |
|
;; @tramp{} cleans up @code{file-name-handler-alist} |
1782 |
|
(require 'tramp) |
1783 |
|
@end lisp |
1784 |
|
@end ifset |
1785 |
|
|
1786 |
|
@ifset xemacs |
1787 |
|
Not all the older versions of @tramp{} supported @value{emacs-name} |
1788 |
|
correctly. The first thing to do is to make sure that you have the |
1789 |
|
latest version of @tramp{} installed. |
1790 |
|
|
1791 |
If you do, please try and find out exactly the conditions required for |
If you do, please try and find out exactly the conditions required for |
1792 |
the EFS handlers to fire. If you can, putting a breakpoint on |
the @value{ftp-package-name} handlers to fire. If you can, putting a |
1793 |
@code{efs-ftp-path} and sending in the stack trace along with your bug |
breakpoint on @code{efs-ftp-path} and sending in the stack trace along |
1794 |
report would make it easier for the developers to work out what is |
with your bug report would make it easier for the developers to work out |
1795 |
going wrong. |
what is going wrong. |
1796 |
|
@end ifset |
1797 |
|
|
1798 |
|
|
1799 |
@item |
@item |
1803 |
@command{ls} in color? If so, this may be the cause of your problems. |
@command{ls} in color? If so, this may be the cause of your problems. |
1804 |
|
|
1805 |
@command{ls} outputs @acronym{ANSI} escape sequences that your terminal |
@command{ls} outputs @acronym{ANSI} escape sequences that your terminal |
1806 |
emulator interprets to set the colors. These escape sequences will |
emulator interprets to set the colors. These escape sequences will |
1807 |
confuse @tramp{} however. |
confuse @tramp{} however. |
1808 |
|
|
1809 |
In your @file{.bashrc}, @file{.profile} or equivalent on the remote |
In your @file{.bashrc}, @file{.profile} or equivalent on the remote |
1811 |
@option{--color=yes} or @option{--color=auto}. |
@option{--color=yes} or @option{--color=auto}. |
1812 |
|
|
1813 |
You should remove that alias and ensure that a new login @emph{does not} |
You should remove that alias and ensure that a new login @emph{does not} |
1814 |
display the output of @command{ls} in color. If you still cannot use |
display the output of @command{ls} in color. If you still cannot use |
1815 |
filename completion, report a bug to the @tramp{} developers. |
filename completion, report a bug to the @tramp{} developers. |
1816 |
|
|
1817 |
|
|