![]() |
Paparazzi UAS v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
#include "microrlConfig.h"
Go to the source code of this file.
Data Structures | |
struct | ring_history_t |
struct | microrl_t |
Macros | |
#define | true 1 |
#define | false 0 |
#define | KEY_NUL 0 |
^@ Null character | |
#define | KEY_SOH 1 |
^A Start of heading, = console interrupt | |
#define | KEY_STX 2 |
^B Start of text, maintenance mode on HP console | |
#define | KEY_ETX 3 |
^C End of text | |
#define | KEY_EOT 4 |
^D End of transmission, not the same as ETB | |
#define | KEY_ENQ 5 |
^E Enquiry, goes with ACK; old HP flow control | |
#define | KEY_ACK 6 |
^F Acknowledge, clears ENQ logon hand | |
#define | KEY_BEL 7 |
^G Bell, rings the bell... | |
#define | KEY_BS 8 |
^H Backspace, works on HP terminals/computers | |
#define | KEY_HT 9 |
^I Horizontal tab, move to next tab stop | |
#define | KEY_LF 10 |
^J Line Feed | |
#define | KEY_VT 11 |
^K Vertical tab | |
#define | KEY_FF 12 |
^L Form Feed, page eject | |
#define | KEY_CR 13 |
^M Carriage Return | |
#define | KEY_SO 14 |
^N Shift Out, alternate character set | |
#define | KEY_SI 15 |
^O Shift In, resume defaultn character set | |
#define | KEY_DLE 16 |
^P Data link escape | |
#define | KEY_DC1 17 |
^Q XON, with XOFF to pause listings; "okay to send". | |
#define | KEY_DC2 18 |
^R Device control 2, block-mode flow control | |
#define | KEY_DC3 19 |
^S XOFF, with XON is TERM=18 flow control | |
#define | KEY_DC4 20 |
^T Device control 4 | |
#define | KEY_NAK 21 |
^U Negative acknowledge | |
#define | KEY_SYN 22 |
^V Synchronous idle | |
#define | KEY_ETB 23 |
^W End transmission block, not the same as EOT | |
#define | KEY_CAN 24 |
^X Cancel line, MPE echoes !!! | |
#define | KEY_EM 25 |
^Y End of medium, Control-Y interrupt | |
#define | KEY_SUB 26 |
^Z Substitute | |
#define | KEY_ESC 27 |
^[ Escape, next character is not echoed | |
#define | KEY_FS 28 |
^\ File separator | |
#define | KEY_GS 29 |
^] Group separator | |
#define | KEY_RS 30 |
^^ Record separator, block-mode terminator | |
#define | KEY_US 31 |
^_ Unit separator | |
#define | KEY_DEL 127 |
Delete (not a real control character...) | |
#define | _HIST_UP 0 |
#define | _HIST_DOWN 1 |
#define | _ESC_BRACKET 1 |
#define | _ESC_HOME 2 |
#define | _ESC_END 3 |
Functions | |
void | microrl_init (microrl_t *pThis, void(*print)(const char *)) |
void | microrl_set_echo (int) |
void | microrl_set_complete_callback (microrl_t *pThis, const char **(*get_completion)(int, const char *const *)) |
void | microrl_set_execute_callback (microrl_t *pThis, void(*execute)(int, const char *const *)) |
void | microrl_set_sigint_callback (microrl_t *pThis, void(*sigintf)(void)) |
void | microrl_insert_char (microrl_t *pThis, int ch) |
struct ring_history_t |
#define KEY_BS 8 |
#define KEY_DC1 17 |
#define KEY_DC2 18 |
#define KEY_DC3 19 |
#define KEY_DEL 127 |
#define KEY_ENQ 5 |
#define KEY_EOT 4 |
#define KEY_ETB 23 |
#define KEY_RS 30 |
#define KEY_SI 15 |
#define KEY_STX 2 |
Definition at line 329 of file microrl.c.
References _COMMAND_LINE_LEN, _RING_HISTORY_LEN, foo, print_prompt(), and prompt_default.
Referenced by shellInit().
Definition at line 576 of file microrl.c.
References _HIST_DOWN, _HIST_UP, escape_process(), foo, hist_search(), KEY_ACK, KEY_BS, KEY_CR, KEY_DEL, KEY_DLE, KEY_ENQ, KEY_ESC, KEY_ETX, KEY_HT, KEY_LF, KEY_NAK, KEY_SO, KEY_SOH, KEY_STX, KEY_VT, microrl_backspace(), microrl_get_complite(), microrl_insert_text(), new_line_handler(), terminal_move_cursor(), terminal_print_line(), and terminal_reset_cursor().
Referenced by THD_FUNCTION().
void microrl_set_complete_callback | ( | microrl_t * | pThis, |
const char **(*)(int, const char *const *) | get_completion | ||
) |
Definition at line 353 of file microrl.c.
References foo.
Referenced by shellInit().
Definition at line 360 of file microrl.c.
References foo.
Referenced by shellInit().