diff options
| author | Joakim Verona | 2013-02-21 00:04:28 +0100 |
|---|---|---|
| committer | Joakim Verona | 2013-02-21 00:04:28 +0100 |
| commit | f0f34630a4c8b467df3ec7eb445ceedd93a12a71 (patch) | |
| tree | 8a3b203c6f091c698fcfb3ccd055f330e07e539d /doc/misc | |
| parent | 10fc3c3866ede374437a72f2e8c1cd7c0f51a8fa (diff) | |
| parent | e11dacb57703fb8044332d8a3933b815547911ec (diff) | |
| download | emacs-f0f34630a4c8b467df3ec7eb445ceedd93a12a71.tar.gz emacs-f0f34630a4c8b467df3ec7eb445ceedd93a12a71.zip | |
auto upstream
Diffstat (limited to 'doc/misc')
| -rw-r--r-- | doc/misc/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/misc/cl.texi | 16 | ||||
| -rw-r--r-- | doc/misc/tramp.texi | 33 |
3 files changed, 35 insertions, 19 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index d24f2b593d4..41eb17415b7 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2013-02-20 Michael Albinus <michael.albinus@gmx.de> | ||
| 2 | |||
| 3 | * tramp.texi (Android shell setup): Improve. Reported by Thierry | ||
| 4 | Volpiatto <thierry.volpiatto@gmail.com>. | ||
| 5 | |||
| 1 | 2013-02-16 Michael Albinus <michael.albinus@gmx.de> | 6 | 2013-02-16 Michael Albinus <michael.albinus@gmx.de> |
| 2 | 7 | ||
| 3 | * tramp.texi (Top, Configuration): Insert section `Android shell | 8 | * tramp.texi (Top, Configuration): Insert section `Android shell |
diff --git a/doc/misc/cl.texi b/doc/misc/cl.texi index 11f19c8df06..83df411cb23 100644 --- a/doc/misc/cl.texi +++ b/doc/misc/cl.texi | |||
| @@ -703,14 +703,6 @@ The type symbol @code{real} is a synonym for @code{number}, and | |||
| 703 | The type symbols @code{character} and @code{string-char} match | 703 | The type symbols @code{character} and @code{string-char} match |
| 704 | integers in the range from 0 to 255. | 704 | integers in the range from 0 to 255. |
| 705 | 705 | ||
| 706 | @c No longer relevant, so covered by first item above (float -> floatp). | ||
| 707 | @ignore | ||
| 708 | @item | ||
| 709 | The type symbol @code{float} uses the @code{cl-floatp-safe} predicate | ||
| 710 | defined by this package rather than @code{floatp}, so it will work | ||
| 711 | correctly even in Emacs versions without floating-point support. | ||
| 712 | @end ignore | ||
| 713 | |||
| 714 | @item | 706 | @item |
| 715 | The type list @code{(integer @var{low} @var{high})} represents all | 707 | The type list @code{(integer @var{low} @var{high})} represents all |
| 716 | integers between @var{low} and @var{high}, inclusive. Either bound | 708 | integers between @var{low} and @var{high}, inclusive. Either bound |
| @@ -2921,14 +2913,6 @@ This predicate tests whether @var{integer} is even. It is an | |||
| 2921 | error if the argument is not an integer. | 2913 | error if the argument is not an integer. |
| 2922 | @end defun | 2914 | @end defun |
| 2923 | 2915 | ||
| 2924 | @ignore | ||
| 2925 | @defun cl-floatp-safe object | ||
| 2926 | This predicate tests whether @var{object} is a floating-point | ||
| 2927 | number. On systems that support floating-point, this is equivalent | ||
| 2928 | to @code{floatp}. On other systems, this always returns @code{nil}. | ||
| 2929 | @end defun | ||
| 2930 | @end ignore | ||
| 2931 | |||
| 2932 | @node Numerical Functions | 2916 | @node Numerical Functions |
| 2933 | @section Numerical Functions | 2917 | @section Numerical Functions |
| 2934 | 2918 | ||
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi index 77a4f632cff..807e6b4db29 100644 --- a/doc/misc/tramp.texi +++ b/doc/misc/tramp.texi | |||
| @@ -2016,7 +2016,7 @@ local machine. | |||
| 2016 | 2016 | ||
| 2017 | When an @command{sshd} process runs on the Android device, like | 2017 | When an @command{sshd} process runs on the Android device, like |
| 2018 | provided by the @code{SSHDroid} app, any @option{ssh}-based method can | 2018 | provided by the @code{SSHDroid} app, any @option{ssh}-based method can |
| 2019 | be used. However, this requires some special settings. | 2019 | be used. This requires some special settings. |
| 2020 | 2020 | ||
| 2021 | The default shell @code{/bin/sh} does not exist. Instead, you shall | 2021 | The default shell @code{/bin/sh} does not exist. Instead, you shall |
| 2022 | use just @code{sh}, which invokes the shell installed on the device. | 2022 | use just @code{sh}, which invokes the shell installed on the device. |
| @@ -2031,23 +2031,50 @@ You can instruct @value{tramp} by this form: | |||
| 2031 | with @samp{192.168.0.26} being the IP address of your Android device. | 2031 | with @samp{192.168.0.26} being the IP address of your Android device. |
| 2032 | 2032 | ||
| 2033 | The user settings for the @code{$PATH} environment variable must be | 2033 | The user settings for the @code{$PATH} environment variable must be |
| 2034 | preserved. Add this setting: | 2034 | preserved. It has also been reported, that the commands in |
| 2035 | @file{/system/xbin} are better suited than the ones in | ||
| 2036 | @file{/system/bin}. Add these setting: | ||
| 2035 | 2037 | ||
| 2036 | @lisp | 2038 | @lisp |
| 2037 | (add-to-list 'tramp-remote-path 'tramp-own-remote-path) | 2039 | (add-to-list 'tramp-remote-path 'tramp-own-remote-path) |
| 2040 | (add-to-list 'tramp-remote-path "/system/xbin") | ||
| 2038 | @end lisp | 2041 | @end lisp |
| 2039 | 2042 | ||
| 2043 | @noindent | ||
| 2040 | If the Android device is not @samp{rooted}, you must give the shell a | 2044 | If the Android device is not @samp{rooted}, you must give the shell a |
| 2041 | writable directory for temporary files. You could use this setting: | 2045 | writable directory for temporary files: |
| 2042 | 2046 | ||
| 2043 | @lisp | 2047 | @lisp |
| 2044 | (add-to-list 'tramp-remote-process-environment "TMPDIR=$HOME") | 2048 | (add-to-list 'tramp-remote-process-environment "TMPDIR=$HOME") |
| 2045 | @end lisp | 2049 | @end lisp |
| 2046 | 2050 | ||
| 2051 | @noindent | ||
| 2047 | Now you shall be able to open a remote connection with @kbd{C-x C-f | 2052 | Now you shall be able to open a remote connection with @kbd{C-x C-f |
| 2048 | @trampfn{ssh, , 192.168.0.26#2222, }}, given that @command{sshd} | 2053 | @trampfn{ssh, , 192.168.0.26#2222, }}, given that @command{sshd} |
| 2049 | listens on port @samp{2222}. | 2054 | listens on port @samp{2222}. |
| 2050 | 2055 | ||
| 2056 | It is also recommended to add a corresponding entry to your | ||
| 2057 | @file{~/.ssh/config} for that connection, like | ||
| 2058 | |||
| 2059 | @example | ||
| 2060 | Host android | ||
| 2061 | HostName 192.168.0.26 | ||
| 2062 | User root | ||
| 2063 | Port 2222 | ||
| 2064 | @end example | ||
| 2065 | |||
| 2066 | @noindent | ||
| 2067 | In this case, you must change the setting for the remote shell to | ||
| 2068 | |||
| 2069 | @lisp | ||
| 2070 | (add-to-list 'tramp-connection-properties | ||
| 2071 | (list (regexp-quote "android") "remote-shell" "sh")) | ||
| 2072 | @end lisp | ||
| 2073 | |||
| 2074 | @noindent | ||
| 2075 | You would open the connection with @kbd{C-x C-f @trampfn{ssh, , | ||
| 2076 | android, }} then. | ||
| 2077 | |||
| 2051 | 2078 | ||
| 2052 | @node Auto-save and Backup | 2079 | @node Auto-save and Backup |
| 2053 | @section Auto-save and Backup configuration | 2080 | @section Auto-save and Backup configuration |