aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc
diff options
context:
space:
mode:
authorMichael Albinus2009-01-03 14:51:55 +0000
committerMichael Albinus2009-01-03 14:51:55 +0000
commit4a0cf14fe940d05d95dadfff03a7b16c53e1cd32 (patch)
tree4e7527d1bc6df0aebc3d0b3b3da5846071aafd63 /doc/misc
parent1aaf2292bab91d2047ae2fbeb486606775c6177a (diff)
downloademacs-4a0cf14fe940d05d95dadfff03a7b16c53e1cd32.tar.gz
emacs-4a0cf14fe940d05d95dadfff03a7b16c53e1cd32.zip
* tramp.texi (Filename Syntax, Filename completion): Handle IPv6
addresses.
Diffstat (limited to 'doc/misc')
-rw-r--r--doc/misc/ChangeLog7
-rw-r--r--doc/misc/tramp.texi26
2 files changed, 26 insertions, 7 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index d91fb71ecaa..185c10c36a2 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,10 @@
12009-01-03 Michael Albinus <michael.albinus@gmx.de>
2
3 * trampver.texi.in (top): Declare ipv6prefix and ipv6postfix.
4
5 * tramp.texi (Filename Syntax, Filename completion): Handle IPv6
6 addresses.
7
12009-01-03 Bill Wohler <wohler@newt.com> 82009-01-03 Bill Wohler <wohler@newt.com>
2 9
3 * mh-e.texi (Scan Line Formats): Indicate that first column should be 10 * mh-e.texi (Scan Line Formats): Indicate that first column should be
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi
index 989d159eb1f..894760d562b 100644
--- a/doc/misc/tramp.texi
+++ b/doc/misc/tramp.texi
@@ -39,7 +39,7 @@
39 39
40@copying 40@copying
41Copyright @copyright{} 1999, 2000, 2001, 2002, 2003, 2004, 2005, 41Copyright @copyright{} 1999, 2000, 2001, 2002, 2003, 2004, 2005,
42 2006, 2007, 2008 Free Software Foundation, Inc. 422006, 2007, 2008, 2009 Free Software Foundation, Inc.
43 43
44@quotation 44@quotation
45Permission is granted to copy, distribute and/or modify this document 45Permission is granted to copy, distribute and/or modify this document
@@ -2142,6 +2142,14 @@ This edits the file @file{/etc/squid.conf} on the machine
2142 2142
2143@end table 2143@end table
2144 2144
2145@var{machine} can also be an IPv4 or IPv6 address, like in
2146@file{@trampfn{, , 127.0.0.1, .emacs}} or @file{@trampfn{, ,
2147@value{ipv6prefix}::1@value{ipv6postfix}, .emacs}}.
2148@ifset emacs
2149For syntactical reasons, IPv6 addresses must be embedded in square
2150brackets @file{@value{ipv6prefix}} and @file{@value{ipv6postfix}}.
2151@end ifset
2152
2145Unless you specify a different name to use, @value{tramp} will use the 2153Unless you specify a different name to use, @value{tramp} will use the
2146current local user name as the remote user name to log in with. If you 2154current local user name as the remote user name to log in with. If you
2147need to log in as a different user, you can specify the user name as 2155need to log in as a different user, you can specify the user name as
@@ -2232,13 +2240,15 @@ If you, for example, type @kbd{C-x C-f @value{prefix}t
2232@key{TAB}}, @value{tramp} might give you as result the choice for 2240@key{TAB}}, @value{tramp} might give you as result the choice for
2233 2241
2234@example 2242@example
2243@multitable {@trampfn{telnet, , melancholia.danann.net,}} {@trampfn{telnet, , 192.168.0.1,}}
2235@ifset emacs 2244@ifset emacs
2236@value{prefixhop}telnet@value{postfixhop} tmp/ 2245@item @value{prefixhop}telnet@value{postfixhop} @tab tmp/
2237@value{prefixhop}toto@value{postfix} 2246@item @value{prefixhop}toto@value{postfix} @tab
2238@end ifset 2247@end ifset
2239@ifset xemacs 2248@ifset xemacs
2240@value{prefixhop}telnet@value{postfixhop} @value{prefixhop}toto@value{postfix} 2249@item @value{prefixhop}telnet@value{postfixhop} @tab @value{prefixhop}toto@value{postfix}
2241@end ifset 2250@end ifset
2251@end multitable
2242@end example 2252@end example
2243 2253
2244@samp{@value{prefixhop}telnet@value{postfixhop}} 2254@samp{@value{prefixhop}telnet@value{postfixhop}}
@@ -2257,9 +2267,11 @@ Next @kbd{@key{TAB}} brings you all machine names @value{tramp} detects in
2257your @file{/etc/hosts} file, let's say 2267your @file{/etc/hosts} file, let's say
2258 2268
2259@example 2269@example
2260@trampfn{telnet, , 127.0.0.1,} @trampfn{telnet, , 192.168.0.1,} 2270@multitable {@trampfn{telnet, , melancholia.danann.net,}} {@trampfn{telnet, , 192.168.0.1,}}
2261@trampfn{telnet, , localhost,} @trampfn{telnet, , melancholia.danann.net,} 2271@item @trampfn{telnet, , 127.0.0.1,} @tab @trampfn{telnet, , 192.168.0.1,}
2262@trampfn{telnet, , melancholia,} 2272@item @trampfn{telnet, , @value{ipv6prefix}::1@value{ipv6postfix},} @tab @trampfn{telnet, , localhost,}
2273@item @trampfn{telnet, , melancholia.danann.net,} @tab @trampfn{telnet, , melancholia,}
2274@end multitable
2263@end example 2275@end example
2264 2276
2265Now you can choose the desired machine, and you can continue to 2277Now you can choose the desired machine, and you can continue to