Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 9f1c6f0f11
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 94 lines (80 sloc) 3.411 kb
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
/* osmsdos/osdef.h */

#define PORTEDBY "SK from code by Guntram Blohm, Martin Patzel, Thomas Wagner"

/*=============================================================================
* This is the name of the OS, as reported by ":set os?"
*/
#ifndef OSNAME
# define OSNAME "msdos"
#endif

/*=============================================================================
* This is the default shell, as reported by ":set shell?"
*/
#ifndef OSSHELL
# define OSSHELL "C:\\COMMAND.COM"
#endif
#ifndef OSSHELLENV
# define OSSHELLENV "COMSPEC"
#endif

/*=============================================================================
* This is the default printer, as report by ":set lpout?".
* NOTE: I'd like to use "!print $1 >nul" but the PRINT.EXE program doesn't
* copy its files; since elvis deletes the temp file, the resident portion
* of PRINT.EXE looses the file almost immediately after starting to print it.
*/
#ifndef OSLPOUT
# define OSLPOUT "prn"
#endif

/*=============================================================================
* These are the default values of the ccprg and makeprg options
*/
#ifndef OSCCPRG
# define OSCCPRG "cl /c ($1?$1:$2)"
#endif
#ifndef OSMAKEPRG
# define OSMAKEPRG "make"
#endif

/*=============================================================================
* This should be defined if there is an osinit() function. When defined,
* this function will be called after a GUI has been selected but before any
* other initialization. It is used mostly to initialize options.
*/
#define OSINIT

/*=============================================================================
* OSFILENAMERULES should be a bitwise-OR of ELVFNR flags, indicating how
* file names passed to elvis should be interpreted. Usually this will be
* "(ELVFNR_TILDE|ELVFNR_DOLLAR|ELVFNR_WILDCARD)" to do the kind of processing
* that the shell would do on Unix, or "(ELVFNR)0" on Unix systems.
*
* OSEXPANDARGS should be 1 if the args ever need expansion, or 0 if they
* never do.
*/
#define OSFILENAMERULES (ELVFNR_TILDE|ELVFNR_DOLLAR|ELVFNR_WILDCARD)
#define OSEXPANDARGS 1

/*=============================================================================
* This is the delimiter in a search path string
*/
#define OSPATHDELIM ';'

/*=============================================================================
* This is used as the directory delimiter inside a file name. For UNIX, this
* is traditionally a '/' character. Most other OSes use a '\\' character.
*/
#define OSDIRDELIM '\\'

/*=============================================================================
* This is the default value of the "elvispath" option. Normally this value
* is never used because a custom value is created by OSINIT, but the compiler
* needs this anyway.
*/
#define OSLIBPATH "~\\lib;~"

/*=============================================================================
* This is the default terminal type, used by the "termcap" GUI whenever the
* TERM environment variable is unset.
*/
#define TTY_DEFAULT "pcbios"

/*=============================================================================
* This is just to make sure that prototypes are used
*/
#define USE_PROTOTYPES 1

/*=============================================================================
* This determines whether filename completion should ignore case differences.
*/
#define FILES_IGNORE_CASE 1
Something went wrong with that request. Please try again.