FD.io VPP  v16.06
Vector Packet Processing
unix_cli_file_t Struct Reference

Unix CLI session. More...

Data Fields

u32 unix_file_index
 The file index held by unix.c. More...
 
u8output_vector
 Vector of output pending write to file descriptor. More...
 
u8input_vector
 Vector of input saved by Unix input node to be processed by CLI process. More...
 
u8 has_history
 
u8 ** command_history
 
u8current_command
 
i32 excursion
 
u32 history_limit
 Maximum number of history entries this session will store. More...
 
u32 command_number
 Current command line counter. More...
 
u8search_key
 
int search_mode
 
u32 cursor
 Position of the insert cursor on the current input line. More...
 
u8 line_mode
 Line mode or char mode. More...
 
u8 crlf_mode
 Set if the CRLF mode wants CR + LF. More...
 
u8 ansi_capable
 Can we do ANSI output? More...
 
u8 started
 Has the session started? More...
 
u8 no_pager
 Disable the pager? More...
 
u8 ** pager_vector
 Pager buffer. More...
 
u32 pager_lines
 Lines currently displayed. More...
 
u32 pager_start
 Line number of top of page. More...
 
u32 width
 Terminal width. More...
 
u32 height
 Terminal height. More...
 
u32 process_node_index
 Process node identifier. More...
 

Detailed Description

Unix CLI session.

Definition at line 121 of file cli.c.

Field Documentation

u8 unix_cli_file_t::ansi_capable

Can we do ANSI output?

Definition at line 156 of file cli.c.

u8** unix_cli_file_t::command_history

Definition at line 133 of file cli.c.

u32 unix_cli_file_t::command_number

Current command line counter.

Definition at line 141 of file cli.c.

u8 unix_cli_file_t::crlf_mode

Set if the CRLF mode wants CR + LF.

Definition at line 153 of file cli.c.

u8* unix_cli_file_t::current_command

Definition at line 134 of file cli.c.

u32 unix_cli_file_t::cursor

Position of the insert cursor on the current input line.

Definition at line 147 of file cli.c.

i32 unix_cli_file_t::excursion

Definition at line 135 of file cli.c.

u8 unix_cli_file_t::has_history

Definition at line 132 of file cli.c.

u32 unix_cli_file_t::height

Terminal height.

Definition at line 177 of file cli.c.

u32 unix_cli_file_t::history_limit

Maximum number of history entries this session will store.

Definition at line 138 of file cli.c.

u8* unix_cli_file_t::input_vector

Vector of input saved by Unix input node to be processed by CLI process.

Definition at line 130 of file cli.c.

u8 unix_cli_file_t::line_mode

Line mode or char mode.

Definition at line 150 of file cli.c.

u8 unix_cli_file_t::no_pager

Disable the pager?

Definition at line 162 of file cli.c.

u8* unix_cli_file_t::output_vector

Vector of output pending write to file descriptor.

Definition at line 126 of file cli.c.

u32 unix_cli_file_t::pager_lines

Lines currently displayed.

Definition at line 168 of file cli.c.

u32 unix_cli_file_t::pager_start

Line number of top of page.

Definition at line 171 of file cli.c.

u8** unix_cli_file_t::pager_vector

Pager buffer.

Definition at line 165 of file cli.c.

u32 unix_cli_file_t::process_node_index

Process node identifier.

Definition at line 180 of file cli.c.

u8* unix_cli_file_t::search_key

Definition at line 143 of file cli.c.

int unix_cli_file_t::search_mode

Definition at line 144 of file cli.c.

u8 unix_cli_file_t::started

Has the session started?

Definition at line 159 of file cli.c.

u32 unix_cli_file_t::unix_file_index

The file index held by unix.c.

Definition at line 123 of file cli.c.

u32 unix_cli_file_t::width

Terminal width.

Definition at line 174 of file cli.c.


The documentation for this struct was generated from the following file: