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

include window_create
call OK mvwaddstr $win1 0 0 "AAAAAA"
call OK mvwaddstr $win1 1 0 "BBBBBB"
call OK mvwaddstr $win1 2 0 "CCCCCC"
call OK mvwaddstr $win1 3 0 "DDDDDD"
call OK mvwaddstr $win1 4 0 "EEEEEE"
# last character cannot be there due to wrapping
call OK mvwaddstr $win1 5 0 "FFFFF"
call OK wrefresh $win1
compare overwrite1.chk

call win2 newwin 6 6 6 7
call OK mvwaddstr $win2 0 0 "AAAAAA"
call OK mvwaddstr $win2 1 0 "BBBBBB"
call OK mvwaddstr $win2 2 0 "CCCCCC"
call OK wrefresh $win2
compare overwrite2.chk

call OK overwrite $win1 $win2
compare overwrite3.chk

call2 OK "EEEEAA" mvwinstr $win2 0 0
call2 OK "FFF BB" mvwinstr $win2 1 0
call2 OK "CCCCCC" mvwinstr $win2 2 0

# Check for multi-byte characters, 0x3401 is chinese multi-byte character
cchar CHAR 0 [0x3401, 0]
call OK mvwadd_wch $win1 4 1 $CHAR

call OK overwrite $win1 $win2
compare overwrite4.chk

# XXXXX incorrect - this should be EEEEAA I think.
# XXXXX disable for now, return is wrong
#call2 OK "EEEAA" mvwinstr $win2 0 0