# 2.11BSD#431 - /usr/src/new/PORT/B/src/bed/feat.h

##### Macros

    BTOP              X
    FILEARGS          X
    HELPFUL           X
    RECORDING         X
    SAVEBUF           X
    SAVEPOS           X
    SCROLLBAR         X
    SHOWBUF           X
    STRUCTASS         X
    USERSUGG          X

       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 */

#### Defined macros

BTOP defined in line 8; used 16 times

- in /usr/src/new/PORT/B/src/bed/comm.c line 9
- in /usr/src/new/PORT/B/src/bed/demo.c line 19, 52, 298-300(2), 311, 317, 693
- in /usr/src/new/PORT/B/src/bed/main.c line 125-130(3), 207
- in /usr/src/new/PORT/B/src/bed/save.c line 21, 64, 114, 135

FILEARGS defined in line 28; used 6 times

- in /usr/src/new/PORT/B/src/bed/demo.c line 174
- in /usr/src/new/PORT/B/src/bed/main.c line 95-97(2), 108, 129-130(2)

HELPFUL defined in line 37; used 5 times

- in /usr/src/new/PORT/B/src/bed/demo.c line 224, 362, 396
- in /usr/src/new/PORT/B/src/bed/getc.c line 185
- in /usr/src/new/PORT/B/src/bed/help.c line 10

RECORDING defined in line 29; used 10 times

- in /usr/src/new/PORT/B/src/bed/demo.c line 305-307(2), 491, 502, 556, 657
- in /usr/src/new/PORT/B/src/bed/getc.c line 145
- in /usr/src/new/PORT/B/src/bed/supr.c line 1086, 1102, 1113

SAVEBUF defined in line 25; used 11 times

- in /usr/src/new/PORT/B/src/bed/demo.c line 34, 75, 87, 191, 201, 683, 768-771(2)
- in /usr/src/new/PORT/B/src/bed/edit.c line 171
- in /usr/src/new/PORT/B/src/bed/gram.c line 81
- in /usr/src/new/PORT/B/src/bed/save.c line 160

SAVEPOS defined in line 27; used 5 times

- in /usr/src/new/PORT/B/src/bed/demo.c line 232, 257, 689
- in /usr/src/new/PORT/B/src/bed/main.c line 25
- in /usr/src/new/PORT/B/src/bed/spos.c line 16

SCROLLBAR defined in line 30; used 4 times

- in /usr/src/new/PORT/B/src/bed/erro.c line 58, 84
- in /usr/src/new/PORT/B/src/bed/goto.c line 38, 50

SHOWBUF defined in line 31; used 3 times

- in /usr/src/new/PORT/B/src/bed/erro.c line 66, 73
- in /usr/src/new/PORT/B/src/bed/que1.c line 511

STRUCTASS defined in line 46; used 2 times

- in /usr/src/new/PORT/B/src/bed/supr.c line 1069-1071(2)

USERSUGG defined in line 26; used 12 times

- in /usr/src/new/PORT/B/src/bed/demo.c line 242, 253, 482-486(2), 679
- in /usr/src/new/PORT/B/src/bed/gram.c line 178, 184
- in /usr/src/new/PORT/B/src/bed/inse.c line 40
- in /usr/src/new/PORT/B/src/bed/main.c line 164, 189
- in /usr/src/new/PORT/B/src/bed/que2.c line 523
- in /usr/src/new/PORT/B/src/bed/sugg.c line 10

#### Usage of this include

feat.h used 16 times

- in /usr/src/new/PORT/B/src/bed/comm.c line 8
- in /usr/src/new/PORT/B/src/bed/demo.c line 11
- in /usr/src/new/PORT/B/src/bed/edit.c line 11
- in /usr/src/new/PORT/B/src/bed/erro.c line 9
- in /usr/src/new/PORT/B/src/bed/getc.c line 8
- in /usr/src/new/PORT/B/src/bed/goto.c line 9
- in /usr/src/new/PORT/B/src/bed/gram.c line 9
- in /usr/src/new/PORT/B/src/bed/help.c line 8
- in /usr/src/new/PORT/B/src/bed/inse.c line 9
- in /usr/src/new/PORT/B/src/bed/main.c line 21
- in /usr/src/new/PORT/B/src/bed/que1.c line 9
- in /usr/src/new/PORT/B/src/bed/que2.c line 11
- in /usr/src/new/PORT/B/src/bed/save.c line 11
- in /usr/src/new/PORT/B/src/bed/spos.c line 13
- in /usr/src/new/PORT/B/src/bed/sugg.c line 8
- in /usr/src/new/PORT/B/src/bed/supr.c line 9

Last modified: 1985-08-27 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 493 |