Merge branch 'ical'
[alpine.git] / pico / mode.h
blobf09494e0bfcb438da6257c48108aa8b223e8b071
1 /*
2 * $Id: mode.h 761 2007-10-23 22:35:18Z hubert@u.washington.edu $
4 * ========================================================================
5 * Copyright 2006 University of Washington
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * ========================================================================
16 #ifndef MODE_H
17 #define MODE_H
21 * definitions for various PICO modes
23 #define MDWRAP 0x00000001 /* word wrap */
24 #define MDSPELL 0x00000002 /* spell error parcing */
25 #define MDEXACT 0x00000004 /* Exact matching for searches */
26 #define MDVIEW 0x00000008 /* read-only buffer */
27 #define MDFKEY 0x00000010 /* function key mode */
28 #define MDSCUR 0x00000020 /* secure (for demo) mode */
29 #define MDSSPD 0x00000040 /* suspendable mode */
30 #define MDADVN 0x00000080 /* Pico's advanced mode */
31 #define MDTOOL 0x00000100 /* "tool" mode (quick exit) */
32 #define MDBRONLY 0x00000200 /* indicates standalone browser */
33 #define MDCURDIR 0x00000400 /* use current dir for lookups */
34 #define MDALTNOW 0x00000800 /* enter alt ed sans hesitation */
35 #define MDSPWN 0x00001000 /* spawn subshell for suspend */
36 #define MDCMPLT 0x00002000 /* enable file name completion */
37 #define MDDTKILL 0x00004000 /* kill from dot to eol */
38 #define MDSHOCUR 0x00008000 /* cursor follows hilite in browser */
39 #define MDHBTIGN 0x00010000 /* ignore chars with hi bit set */
40 #define MDDOTSOK 0x00020000 /* browser displays dot files */
41 #define MDEXTFB 0x00040000 /* stand alone File browser */
42 #define MDTREE 0x00080000 /* confine to a subtree */
43 #define MDMOUSE 0x00100000 /* allow mouse (part. in xterm) */
44 #define MDONECOL 0x00200000 /* single column browser */
45 #define MDHDRONLY 0x00400000 /* header editing exclusively */
46 #define MDGOTO 0x00800000 /* support "Goto" in file browser */
47 #define MDREPLACE 0x01000000 /* allow "Replace" in "Where is"*/
48 #define MDTCAPWINS 0x02000000 /* Termcap overrides defaults */
50 #endif /* MODE_H */