Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 92 lines (79 sloc) 3.293 kb
cf92e3b @mbert Import Elvis 2.0 (written by Steve Kirkendall)
authored
1 /* oswin32/osdef.h */
2
3 /*=============================================================================
4 * This is the name of the OS, as reported by ":set os?"
5 */
6 #ifndef OSNAME
7 # define OSNAME "win32"
8 #endif
9
10 /*=============================================================================
11 * This is the default shell, as reported by ":set shell?"
12 */
13 #ifndef OSSHELL
14 # define OSSHELL "cmd"
15 #endif
16 #ifndef OSSHELLENV
17 # define OSSHELLENV "COMSPEC"
18 #endif
19
20 /*=============================================================================
8d1ac0c @mbert Import Elvis 2.1 (written by Steve Kirkendall)
authored
21 * OSLPOUT is the default printer port, as reported by ":set lpout?".
22 * OSLPTYPE is the default printer type, as reported by ":set lptype?".
23 * Note that the "windows" lptype doesn't use lpout, but we set lpout anyway
24 * to provide a reasonable default in case the user changes lptype.
cf92e3b @mbert Import Elvis 2.0 (written by Steve Kirkendall)
authored
25 */
26 #define OSLPOUT "prn"
8d1ac0c @mbert Import Elvis 2.1 (written by Steve Kirkendall)
authored
27 #ifdef GUI_WIN32
28 # define OSLPTYPE "windows"
29 #endif
cf92e3b @mbert Import Elvis 2.0 (written by Steve Kirkendall)
authored
30
31 /*=============================================================================
32 * These are the default values of the ccprg and makeprg options
33 */
34 #ifndef OSCCPRG
35 # define OSCCPRG "cl /c ($1?$1:$2)"
36 #endif
37 #ifndef OSMAKEPRG
8d1ac0c @mbert Import Elvis 2.1 (written by Steve Kirkendall)
authored
38 # define OSMAKEPRG "make"
cf92e3b @mbert Import Elvis 2.0 (written by Steve Kirkendall)
authored
39 #endif
40
41 /*=============================================================================
42 * This should be defined if there is an osinit() function. When defined,
43 * this function will be called after a GUI has been selected but before any
44 * other initialization. It is used mostly to initialize options.
45 */
46 #define OSINIT
47
48 /*=============================================================================
9f1c6f0 @mbert Import Elvis 2.2_0 (written by Steve Kirkendall)
authored
49 * OSFILENAMERULES should be a bitwise-OR of ELVFNR flags, indicating how
50 * file names passed to elvis should be interpreted. Usually this will be
51 * "(ELVFNR_TILDE|ELVFNR_DOLLAR|ELVFNR_WILDCARD)" to do the kind of processing
52 * that the shell would do on Unix, or "(ELVFNR)0" on Unix systems.
53 *
54 * OSEXPANDARGS should be 1 if the args ever need expansion, or 0 if they
55 * never do.
cf92e3b @mbert Import Elvis 2.0 (written by Steve Kirkendall)
authored
56 */
9f1c6f0 @mbert Import Elvis 2.2_0 (written by Steve Kirkendall)
authored
57 #define OSFILENAMERULES (getenv("SHLVL") ? (ELVFNR)0 : (ELVFNR_TILDE|ELVFNR_DOLLAR|ELVFNR_WILDCARD))
cf92e3b @mbert Import Elvis 2.0 (written by Steve Kirkendall)
authored
58 #define OSEXPANDARGS 1
59
60 /*=============================================================================
61 * This is the delimiter in a search path string
62 */
63 #define OSPATHDELIM ';'
64
65 /*=============================================================================
9f1c6f0 @mbert Import Elvis 2.2_0 (written by Steve Kirkendall)
authored
66 * This is used as the directory delimiter inside a file name. For UNIX, this
67 * is traditionally a '/' character. Most other OSes use a '\\' character.
68 */
69 #define OSDIRDELIM '\\'
70
71 /*=============================================================================
cf92e3b @mbert Import Elvis 2.0 (written by Steve Kirkendall)
authored
72 * This is the default path that elvis searches through when looking for its
73 * support files.
74 */
75 #define OSLIBPATH "~;~\\lib"
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 * Use Prototypes, even though __STDC__ is undefined
85 */
86 #define USE_PROTOTYPES 1
8d1ac0c @mbert Import Elvis 2.1 (written by Steve Kirkendall)
authored
87
88 /*=============================================================================
89 * This determines whether filename completion should ignore case differences.
90 */
91 #define FILES_IGNORE_CASE 1
Something went wrong with that request. Please try again.