Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

include start
# test input through unget_wch queue
wchar ACHAR 0x3401
wchar NL "\n"
call OK unget_wch $NL
call OK unget_wch $ACHAR
noinput
call2 OK $ACHAR mvgetn_wstr 2 3 2

# test erase and kill character processing,
# enable canonical mode; kill should erase whole line
call OK cbreak
wchar res ["c", "d", "f"]
input "ab\025cde\010fghi\n"
call2 OK $res mvgetn_wstr 3 0 4

# test keypad translations
wchar res ["a", "c", "d", "\e", "O", "D"]
input "ab\010cd\eOD\n"
call2 OK $res mvgetn_wstr 4 4 7

call OK keypad STDSCR $TRUE
wchar res ["a", "b", "d"]
input "abc\eODd\n"
call2 OK $res mvgetn_wstr 5 1 4

compare getn_wstr.chk