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 mvget_wstr 2 3 # 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\010f\n" call2 OK $res mvget_wstr 3 0 # test keypad translations wchar res ["a", "c", "d", "\e", "O", "D"] input "ab\010cd\eOD\n" call2 OK $res mvget_wstr 4 4 call OK keypad STDSCR $TRUE wchar res ["a", "b", "d"] input "abc\eODd\n" call2 OK $res mvget_wstr 5 1 compare get_wstr.chk