Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 98 lines (81 sloc) 3.593 kb
8d1ac0c @mbert Import Elvis 2.1 (written by Steve Kirkendall)
authored
1 /* osos2/osdef.h */
2
3 #define PORTEDBY \
4 "OS/2 port by Lee Johnson (lee_johnson@sympatico.ca) and Martin\n\"Herbert\" Dietze (herbert@paulina.shnet.org)."
5
6 /*=============================================================================
7 * This is the name of the OS, as reported by ":set os?"
8 */
9 #ifndef OSNAME
10 # define OSNAME "os2"
11 #endif
12
13 /*=============================================================================
14 * This is the default shell, as reported by ":set shell?"
15 */
16 #ifndef OSSHELL
17 # define OSSHELL "cmd.exe"
18 #endif
19
20 /*=============================================================================
21 * This is the default printer, as report by ":set lpout?".
22 */
23 #define OSLPOUT "prn"
24
25 /*=============================================================================
26 * This is the default printing setup, as report by ":set lptype?".
27 */
28 #define OSLPTYPE "cr"
29
30 /*=============================================================================
31 * This should be defined if there is an osinit() function. When defined,
32 * this function will be called after a GUI has been selected but before any
33 * other initialization. It is used mostly to initialize options.
34 */
35 #define OSINIT
36
37 /*=============================================================================
38 * Path separator characters. If you prefer to use '/' instead of '\',
39 * just swap the definitions of PATH_SEP and ALT_SEP. OS/2 will accept
40 * either character in a pathname in file system calls.
41 */
42 #define OSPATHSEP '\\'
43 #define OSALTPSEP '/'
44
45
46 /*=============================================================================
47 * This should be True if the argv[] array passed to main() needs to have
48 * wildcards expanded in filenames.
49 */
50 #define OSEXPANDARGS 1
51
52 /*=============================================================================
53 * This is the delimiter in a search path string
54 */
55 #define OSPATHDELIM ';'
56
57 /*=============================================================================
58 * OS/2 uses a case insignificant file system.
59 */
60 #define FILES_IGNORE_CASE 1
61
62 /*=============================================================================
63 * This is a list of directories where elvis might store its session file.
64 */
65 #define OSSESSIONPATH (getenv ("TEMP") == NULL? \
66 (getenv ("TMP") == NULL? \
67 (getenv ("HOME") == NULL? \
68 ".": getenv ("HOME")): getenv ("TMP")): getenv ("TEMP"))
69
70 /*=============================================================================
71 * This is the default path that elvis searches through when looking for its
97d8998 @mbert Import Elvis 2.1_4 (written by Steve Kirkendall)
authored
72 * support files. This is *never* used, it gets overridden by code in osinit()
73 * on program startup. Call it `default for a default' :-)
8d1ac0c @mbert Import Elvis 2.1 (written by Steve Kirkendall)
authored
74 */
75 #define OSLIBPATH "e:\\usr\\lib\\elvis"
76
77 /*=============================================================================
78 * This is the default terminal type, used by the "termcap" GUI whenever the
79 * TERM environment variable is unset.
80 */
81 #define TTY_DEFAULT "console"
82
83 /*=============================================================================
84 * These are the default values of the ccprg and makeprg options
85 */
86 #define OSCCPRG "gcc -c ($1?$1:$2)"
87 #define OSMAKEPRG "make"
88
89 /*=============================================================================
90 * Configure compiler options.
91 */
92 #ifdef __IBMC__
93 # if __IBMC__ >= 200 /* IBM C Set ++ version 2.0 or higher */
94 # define USE_PROTOTYPES 1
95 # define P_(args) args
96 # endif
97 #endif
Something went wrong with that request. Please try again.