trampver.texi 1.49 KB
Newer Older
Glenn Morris's avatar
Glenn Morris committed
1 2 3
@c -*-texinfo-*-
@c texi/trampver.texi.  Generated from trampver.texi.in by configure.

4
@c This is part of the Emacs manual.
Paul Eggert's avatar
Paul Eggert committed
5
@c Copyright (C) 2003-2018 Free Software Foundation, Inc.
6
@c See file doclicense.texi for copying conditions.
7

8
@c In the Tramp GIT, the version number is auto-frobbed from
Glenn Morris's avatar
Glenn Morris committed
9 10
@c configure.ac, so you should edit that file and run
@c "autoconf && ./configure" to change the version number.
11
@set trampver 2.4.1-pre
Glenn Morris's avatar
Glenn Morris committed
12 13 14 15

@c Other flags from configuration
@set instprefix /usr/local
@set lispdir /usr/local/share/emacs/site-lisp
Michael Albinus's avatar
Michael Albinus committed
16
@set infodir /usr/local/share/info
Glenn Morris's avatar
Glenn Morris committed
17 18

@c Formatting of the tramp program name consistent.
19
@set tramp @sc{Tramp}
Glenn Morris's avatar
Glenn Morris committed
20

21 22 23 24
@c Some flags which define the remote file name syntax.
@ifclear unified
@ifclear separate
@set unified
Glenn Morris's avatar
Glenn Morris committed
25 26 27
@end ifclear
@end ifclear

28
@ifset unified
Glenn Morris's avatar
Glenn Morris committed
29
@set prefix             /
Michael Albinus's avatar
Michael Albinus committed
30
@set prefixwithspace    /
Glenn Morris's avatar
Glenn Morris committed
31 32 33
@set prefixhop
@set postfix            :
@set postfixhop         :
34 35
@set ipv6prefix         [
@set ipv6postfix        ]
Glenn Morris's avatar
Glenn Morris committed
36 37
@end ifset

38
@ifset separate
Glenn Morris's avatar
Glenn Morris committed
39
@set prefix             /[
Michael Albinus's avatar
Michael Albinus committed
40
@set prefixwithspace    / [
Glenn Morris's avatar
Glenn Morris committed
41 42 43
@set prefixhop          [
@set postfix            ]
@set postfixhop         /
44 45
@set ipv6prefix
@set ipv6postfix
Glenn Morris's avatar
Glenn Morris committed
46
@end ifset
47 48 49 50 51

@c Macro for formatting a file name according to the respective
@c syntax.  Macro arguments should not have any leading or trailing
@c whitespace.  Not very elegant, but I don't know it better.

52
@unmacro trampfn
53 54 55 56 57
@macro trampfn {method, userhost, localname}
@value{prefix}@c
\method\@value{postfixhop}@c
\userhost\@value{postfix}\localname\
@end macro