]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/console/func.h
- Convert more atoi to str_to_int64() for DB.
[bacula/bacula] / bacula / src / console / func.h
1 /* Definitions of internal function codes */
2
3 /* Functions that work on current line */
4 #define F_CSRRGT   301                /* cursor right */
5 #define F_CSRLFT   302                /* cursor left */
6 #define F_ERSCHR   303                /* erase character */
7 #define F_INSCHR   304                /* insert character */
8 #define F_DELCHR   305                /* delete next character character */
9 #define F_SOL      306                /* go to start of line */
10 #define F_EOL      307                /* go to end of line */
11 #define F_DELEOL   308                /* delete to end of line */
12 #define F_NXTWRD   309                /* go to next word */
13 #define F_PRVWRD   310                /* go to previous word */
14 #define F_DELWRD   311                /* delete word */
15 #define F_ERSLIN   312                /* erase line */
16 #define F_TAB      313                /* tab */
17 #define F_TABBAK   314                /* tab backwards */
18 #define F_DELSOL   315                /* delete from start of line to cursor */
19 #define F_LEFT40   316                /* move cursor left 40 cols */
20 #define F_RIGHT40  317                /* move cursor right 40 cols */
21 #define F_CASE     318                /* change case of next char advance csr */
22 #define F_CENTERL  319                /* center line */
23
24 /* Functions that move the cursor line or work on groups of lines */
25 #define F_CSRDWN   401                /* cursor down */
26 #define F_CSRUP    402                /* cursor up */
27 #define F_HOME     403                /* home cursor */
28 #define F_EOF      404                /* go to end of file */
29 #define F_PAGDWN   405                /* page down */
30 #define F_PAGUP    406                /* page up */
31 #define F_CENTER   407                /* center cursor on screen */
32 #define F_SPLIT    408                /* split line at cursor */
33 #define F_DELLIN   409                /* delete line */
34 #define F_CONCAT   410                /* concatenate next line to current */
35 #define F_RETURN   411                /* carriage return */
36 #define F_NXTMCH   412                /* next match */
37 #define F_DWN5     413                /* cursor down 5 lines */
38 #define F_UP5      414                /* cursor up 5 lines */
39 #define F_PUSH     415                /* push current location */
40 #define F_POP      416                /* pop previous location */
41 #define F_PAREN    417                /* find matching paren */
42 #define F_POPVIEW  418                /* pop to saved view */
43 #define F_OOPS     419                /* restore last oops buffer */
44 #define F_PARENB   420                /* find matching paren backwards */
45 #define F_BOTSCR   421                /* cursor to bottom of screen */
46 #define F_TOPSCR   422                /* cursor to top of screen */
47 #define F_TOPMARK  423                /* cursor to top marker line */
48 #define F_BOTMARK  424                /* cursor to bottom marker line */
49 #define F_CPYMARK  425                /* copy marked lines */
50 #define F_MOVMARK  426                /* move marked lines */
51 #define F_DELMARK  427                /* delete marked lines */
52 #define F_SHFTLEFT 428                /* shift marked text left one char */
53 #define F_SHFTRIGHT 429               /* shift marked text right one char */
54
55 /* Miscellaneous */
56 #define F_ESCAPE   501                /* escape character */
57 #define F_ESC      501                /* escape character */
58 #define F_EOI      502                /* end of input */
59 #define F_TENTRY   503                /* toggle entry mode */
60 #define F_TINS     504                /* toggle insert mode */
61 #define F_MARK     505                /* set marker on lines */
62 #define F_CRESC    506                /* carriage return, escape */
63 #define F_MACDEF   507                /* begin "macro" definition */
64 #define F_MACEND   508                /* end "macro" definition */
65 #define F_ZAPESC   509                /* clear screen, escape */
66 #define F_CLRMARK  510                /* clear marked text */
67 #define F_MARKBLK  511                /* mark blocks */
68 #define F_MARKCHR  512                /* mark characters */
69 #define F_HOLD     513                /* hold line */
70 #define F_DUP      514                /* duplicate line */
71 #define F_CHANGE   515                /* apply last change command */
72 #define F_RCHANGE  516                /* reverse last change command */
73 #define F_NXTFILE  517                /* next file */
74 #define F_INCLUDE  518                /* include */
75 #define F_FORMAT   519                /* format paragraph */
76 #define F_HELP     520                /* help */
77 #define F_JUSTIFY  521                /* justify paragraph */
78 #define F_SAVE     522                /* save file -- not implemented */
79 #define F_MOUSEI   523                /* mouse input coming -- not completed */
80 #define F_SCRSIZ   524                /* Screen size coming */
81 #define F_PASTECB  525                /* Paste clipboard */
82 #define F_CLRSCRN  526                /* Clear the screen */
83 #define F_CRNEXT   527                /* Send line, get next line */
84 #define F_BREAK    528                /* Break */
85 #define F_BACKGND  529                /* go into background */