File: config.h

package info (click to toggle)
ytree 1.64-4.1
  • links: PTS
  • area: main
  • in suites: slink
  • size: 532 kB
  • ctags: 766
  • sloc: ansic: 10,758; makefile: 116
file content (91 lines) | stat: -rw-r--r-- 2,409 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
/***************************************************************************
 *
 * $Header: /home/werner/ytree/RCS/config.h,v 1.16 1998/07/26 21:21:13 werner Rel $
 *
 * Header-Datei fuer YTREE
 *
 ***************************************************************************/

/* Default (max) TreeDepth on startup */
#define DEFAULT_TREEDEPTH  "01"

/* UNIX-Kommandos */
/*----------------*/

#define DEFAULT_CAT        "cat"
#define DEFAULT_EDITOR     "vi"
#define DEFAULT_MELT       "melt"
#define DEFAULT_UNCOMPRESS "uncompress"
#define DEFAULT_GNUUNZIP   "gunzip -c"
#define DEFAULT_BUNZIP     "bunzip2"
#define DEFAULT_MANROFF    "nroff -man"

#define DEFAULT_ZOOLIST    "zoo vm"
#define DEFAULT_ZOOEXPAND  "zoo xp"

#define DEFAULT_ZIPLIST    "zipinfo -l"
#define DEFAULT_ZIPEXPAND  "unzip -p"

#define DEFAULT_LHALIST    "xlharc v"
#define DEFAULT_LHAEXPAND  "xlharc p"

#define DEFAULT_ARCLIST    "arc v"
#define DEFAULT_ARCEXPAND  "arc p"

#define DEFAULT_TAPEDEV    "/dev/rmt0"


/* Attention! You must use GNU TAR, because only GNU TAR is able to
 * extract to stdout!
 */

#define DEFAULT_TARLIST    "gtar tvf -"
#define DEFAULT_TAREXPAND  "gtar xOPf -"
#define DEFAULT_RPMLIST    "rpm -q -l --dump -p"
#define DEFAULT_RPMEXPAND  "builtin"
#define DEFAULT_HEXDUMP    "hd"
#define DEFAULT_PAGER      "more"


#ifdef sgi
#undef  DEFAULT_HEXDUMP
#undef  DEFAULT_PAGER
#define DEFAULT_HEXDUMP     "od -h"
#define DEFAULT_PAGER       "pg"
#endif /* sgi */

#ifdef linux
#undef  DEFAULT_TARLIST
#undef  DEFAULT_TAREXPAND
#undef  DEFAULT_HEXDUMP
#undef  DEFAULT_PAGER
#undef  DEFAULT_LHALIST
#undef  DEFAULT_LHAEXPAND
#undef  DEFAULT_TAPEDEV
#undef  DEFAULT_UNCOMPRESS
#define DEFAULT_TARLIST    "tar tvf -"
#define DEFAULT_TAREXPAND  "tar xOPf -"
#define DEFAULT_HEXDUMP    "hexdump"
#define DEFAULT_PAGER      "less"
#define DEFAULT_LHALIST    "lharc v"
#define DEFAULT_LHAEXPAND  "lharc p"
#define DEFAULT_TAPEDEV    "/dev/rmt0"
#define DEFAULT_UNCOMPRESS "gunzip"
#endif /* linux */

#ifdef __NeXT__
/* fifi's NeXT! */
# undef DEFAULT_TARLIST
# undef DEFAULT_TAREXPAND
# undef DEFAULT_HEXDUMP
# undef DEFAULT_PAGER
# define DEFAULT_TARLIST    "gtar tvf -"
# define DEFAULT_TAREXPAND  "gtar xOPf -"
# define DEFAULT_HEXDUMP    "hd"
# define DEFAULT_PAGER      "less"
#endif /* __NeXT__ */

#ifdef __FreeBSD__
#undef DEFAULT_TAPEDEV
#define DEFAULT_TAPEDEV    "/dev/rmt/tape0"
#endif /* __FreeBSD__ */