Annotation of 43BSD/contrib/B/src/bed/feat.h, revision 1.1.1.1

1.1       root        1: /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1984. */
                      2: /* $Header: feat.h,v 2.4 85/08/22 16:02:40 timo Exp $ */
                      3: 
                      4: /*
                      5:  * B editor -- #define features, to make it easy to turn them off.
                      6:  */
                      7: 
                      8: #define BTOP 1 /* Editor used as front-end to interpreter */
                      9:        /*
                     10:         * (This used to be an optional feature of the editor, but is now
                     11:         * the only officially acknowledged way of using the B system.
                     12:         * Non-UNIX systems may have no choice but to turn it off, because
                     13:         * it heavily depends on features like forks and pipes.
                     14:         */
                     15: 
                     16: #ifndef SMALLSYS
                     17: /*
                     18:  * The #define SMALLSYS squeezes out some lesser important debugging
                     19:  * code, while leaving out the following #defines turns off various
                     20:  * features which can be missed (according to the author).
                     21:  * They are roughly sorted on amount of code saved, greatest
                     22:  * saving first.
                     23:  */
                     24: 
                     25: #define SAVEBUF 1 /* Save Copy Buffer on file between edit sessions */
                     26: #define USERSUGG 1 /* Give suggestions for user-defined commands */
                     27: #define SAVEPOS 1 /* Save focus position between edit sessions */
                     28: #define FILEARGS 1 /* Allow 'stand-alone' editor to edit single units */
                     29: #define RECORDING 1 /* [record] and [playback] commands */
                     30: #define SCROLLBAR 1 /* Show scroll bar if unit > screen */
                     31: #define SHOWBUF 1 /* Shows contents of copy buffer if locked */
                     32: 
                     33: /*
                     34:  * The following feature used to fit, even on a (our) PDP-11/45.
                     35:  * And as it is very useful for novice users, you might try to let it stay.
                     36:  */
                     37: #define HELPFUL 1 /* Print help blurb on ESC-? or ? */
                     38: 
                     39: #endif !SMALLSYS
                     40: 
                     41: /*
                     42:  * On compilers that implement C according to the Kernighan and Ritchie book,
                     43:  * but not the unix v7 extensions, turn off the following definition.
                     44:  */
                     45: 
                     46: #define STRUCTASS 1 /* C compiler knows structure assignment */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.