• Kirill Smelkov's avatar
    t/qemu-runlinux: Issue terminal init before running program · 89fb8992
    Kirill Smelkov authored
    This continues 6ab95220 (t/qemu-runlinux: Issue terminal resize before
    running program) and fully initializes terminal before spawning user
    This has practical effect to restore line wrapping for xterm, as kernel,
    initially assuming it has "linux" type terminal, somehow messes xterm
    settings: before the patch lines that were wider than terminal width were
    not wrapped and characters in the last position were printed over each
    other. After the patch printed lines are automatically wrapped and test
    output is not lost.
    Tput hint found here:
qemu-runlinux 5.6 KB