]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/console/func.h
Restore win32 dir from Branch-5.2 and update it
[bacula/bacula] / bacula / src / console / func.h
1 /*
2    Bacula(R) - The Network Backup Solution
3
4    Copyright (C) 2000-2016 Kern Sibbald
5
6    The original author of Bacula is Kern Sibbald, with contributions
7    from many others, a complete list can be found in the file AUTHORS.
8
9    You may use this file and others of this release according to the
10    license defined in the LICENSE file, which includes the Affero General
11    Public License, v3.0 ("AGPLv3") and some additional permissions and
12    terms pursuant to its AGPLv3 Section 7.
13
14    This notice must be preserved when any source code is 
15    conveyed and/or propagated.
16
17    Bacula(R) is a registered trademark of Kern Sibbald.
18 */
19 /* Definitions of internal function codes */
20
21 /* Functions that work on current line */
22 #define F_CSRRGT   301                /* cursor right */
23 #define F_CSRLFT   302                /* cursor left */
24 #define F_ERSCHR   303                /* erase character */
25 #define F_INSCHR   304                /* insert character */
26 #define F_DELCHR   305                /* delete next character character */
27 #define F_SOL      306                /* go to start of line */
28 #define F_EOL      307                /* go to end of line */
29 #define F_DELEOL   308                /* delete to end of line */
30 #define F_NXTWRD   309                /* go to next word */
31 #define F_PRVWRD   310                /* go to previous word */
32 #define F_DELWRD   311                /* delete word */
33 #define F_ERSLIN   312                /* erase line */
34 #define F_TAB      313                /* tab */
35 #define F_TABBAK   314                /* tab backwards */
36 #define F_DELSOL   315                /* delete from start of line to cursor */
37 #define F_LEFT40   316                /* move cursor left 40 cols */
38 #define F_RIGHT40  317                /* move cursor right 40 cols */
39 #define F_CASE     318                /* change case of next char advance csr */
40 #define F_CENTERL  319                /* center line */
41
42 /* Functions that move the cursor line or work on groups of lines */
43 #define F_CSRDWN   401                /* cursor down */
44 #define F_CSRUP    402                /* cursor up */
45 #define F_HOME     403                /* home cursor */
46 #define F_EOF      404                /* go to end of file */
47 #define F_PAGDWN   405                /* page down */
48 #define F_PAGUP    406                /* page up */
49 #define F_CENTER   407                /* center cursor on screen */
50 #define F_SPLIT    408                /* split line at cursor */
51 #define F_DELLIN   409                /* delete line */
52 #define F_CONCAT   410                /* concatenate next line to current */
53 #define F_RETURN   411                /* carriage return */
54 #define F_NXTMCH   412                /* next match */
55 #define F_DWN5     413                /* cursor down 5 lines */
56 #define F_UP5      414                /* cursor up 5 lines */
57 #define F_PUSH     415                /* push current location */
58 #define F_POP      416                /* pop previous location */
59 #define F_PAREN    417                /* find matching paren */
60 #define F_POPVIEW  418                /* pop to saved view */
61 #define F_OOPS     419                /* restore last oops buffer */
62 #define F_PARENB   420                /* find matching paren backwards */
63 #define F_BOTSCR   421                /* cursor to bottom of screen */
64 #define F_TOPSCR   422                /* cursor to top of screen */
65 #define F_TOPMARK  423                /* cursor to top marker line */
66 #define F_BOTMARK  424                /* cursor to bottom marker line */
67 #define F_CPYMARK  425                /* copy marked lines */
68 #define F_MOVMARK  426                /* move marked lines */
69 #define F_DELMARK  427                /* delete marked lines */
70 #define F_SHFTLEFT 428                /* shift marked text left one char */
71 #define F_SHFTRIGHT 429               /* shift marked text right one char */
72
73 /* Miscellaneous */
74 #define F_ESCAPE   501                /* escape character */
75 #define F_ESC      501                /* escape character */
76 #define F_EOI      502                /* end of input */
77 #define F_TENTRY   503                /* toggle entry mode */
78 #define F_TINS     504                /* toggle insert mode */
79 #define F_MARK     505                /* set marker on lines */
80 #define F_CRESC    506                /* carriage return, escape */
81 #define F_MACDEF   507                /* begin "macro" definition */
82 #define F_MACEND   508                /* end "macro" definition */
83 #define F_ZAPESC   509                /* clear screen, escape */
84 #define F_CLRMARK  510                /* clear marked text */
85 #define F_MARKBLK  511                /* mark blocks */
86 #define F_MARKCHR  512                /* mark characters */
87 #define F_HOLD     513                /* hold line */
88 #define F_DUP      514                /* duplicate line */
89 #define F_CHANGE   515                /* apply last change command */
90 #define F_RCHANGE  516                /* reverse last change command */
91 #define F_NXTFILE  517                /* next file */
92 #define F_INCLUDE  518                /* include */
93 #define F_FORMAT   519                /* format paragraph */
94 #define F_HELP     520                /* help */
95 #define F_JUSTIFY  521                /* justify paragraph */
96 #define F_SAVE     522                /* save file -- not implemented */
97 #define F_MOUSEI   523                /* mouse input coming -- not completed */
98 #define F_SCRSIZ   524                /* Screen size coming */
99 #define F_PASTECB  525                /* Paste clipboard */
100 #define F_CLRSCRN  526                /* Clear the screen */
101 #define F_CRNEXT   527                /* Send line, get next line */
102 #define F_BREAK    528                /* Break */
103 #define F_BACKGND  529                /* go into background */