Category : OS/2 Files
Archive   : KSH48.ZIP
Filename : CONFIG.H

 
Output of file : CONFIG.H contained in archive : KSH48.ZIP
/*
* Configuration file for the PD ksh
*
* RCSid: $Id: config.h,v 1.6 1992/12/05 13:15:15 sjg Exp $
*/

#ifndef _CONFIG_H
#define _CONFIG_H

/*
* Builtin edit modes
*/

#define EMACS /* EMACS-like mode */
#define VI /* vi-like mode */
/* #define JOBS /* job control */

#ifndef SIGINT
#include
#endif

/*
* leave USE_SIGACT defined.
* if you don't have sigaction(2) and the
* implementation in sigact.c doesn't work for your system,
* fix it.
*
* Of course if your system has a real sigaction()
* implementation that is faulty! undef JOBS and add USE_SIGNAL
* or whatever does work. You may find it necessary to undef
* USE_SIGACT, if so please report it.
*/
#ifndef OS2
#define USE_SIGACT /* POSIX signal handling */
#endif

/*
* These control how sigact.c implements sigaction()
* If you don't define any of them it will try and work it out
* for itself. The are listed in order of preference (usefulness).
*/
/* #define USE_SIGMASK /* BSD4.2 ? signal handling */
/* #define USE_SIGSET /* BSD4.1 ? signal handling */
/* #define USE_SIGNAL /* plain old signal(2) */

#if defined(JOBS) && (!defined(SIGCONT) || (defined(_SYSV) && defined(USE_SIGNAL)))
#undef JOBS
#endif

/* #define FASCIST /* Fascist getopts */
#define SHARPBANG /* Hack to handle #! */
#define SILLY /* Game of life in EMACS mode */
/* #define SWTCH /* Handle SWTCH for shl(1) */


/*
* ALTERNATIONS is csh not ksh, but it is such a nice feature...
*/
#define ALTERNATIONS /* csh {a,b,c} arg expansion */

/* #define COMPLEX_HISTORY /* Peter Collinson's history */
/*
* if you don't have mmap() you can't use Peter Collinson's history
* mechanism. If that is the case, then define EASY_HISTORY
*/
#if !defined(COMPLEX_HISTORY) || defined(NO_MMAP)
# define EASY_HISTORY /* sjg's trivial history file */
#endif

#endif /* _CONFIG_H */


  3 Responses to “Category : OS/2 Files
Archive   : KSH48.ZIP
Filename : CONFIG.H

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/