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 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133
|
/***************************************************************************
*
* $Header: /usr/local/cvsroot/utils/ytree/config.h,v 1.22 2004/03/21 14:13:11 werner Exp $
*
* Header-Datei fuer YTREE
*
***************************************************************************/
/* Default (max) TreeDepth on startup */
#define DEFAULT_TREEDEPTH "1"
#define DEFAULT_FILEMODE "2"
#define DEFAULT_NOSMALLWINDOW "0"
#define DEFAULT_NUMBERSEP "."
#define DEFAULT_INITIALDIR NULL
#define DEFAULT_DIR1 NULL
#define DEFAULT_DIR2 NULL
#define DEFAULT_FILE1 NULL
#define DEFAULT_FILE2 NULL
/* 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_RARLIST "unrar l"
#define DEFAULT_RAREXPAND "unrar p -c- -INUL"
#define DEFAULT_TAPEDEV "/dev/rmt0"
#define DEFAULT_SEARCHCOMMAND "grep {}"
/* 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 __DJGPP__
#undef DEFAULT_PAGER
#define DEFAULT_PAGER "view"
#endif
#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 __GNU__
#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 /* __GNU__ */
#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_TARLIST
#undef DEFAULT_TAREXPAND
#undef DEFAULT_TAPEDEV
#define DEFAULT_TARLIST "tar tvf -"
#define DEFAULT_TAREXPAND "tar xOPf -"
#define DEFAULT_TAPEDEV "/dev/rst0"
#endif /* __FreeBSD__ */
|