# Linux Kernel Module Cheat

### 14.1. QEMU text mode

Text mode is the default mode for QEMU.

The opposite of text mode is QEMU graphic mode

In text mode, we just show the serial console directly on the current terminal, without opening a QEMU GUI window.

You cannot see any graphics from text mode, but text operations in this mode, including:

- scrolling up: Section 14.2.1, “Scroll up in graphic mode”

- copy paste to and from the terminal

making this a good default, unless you really need to use with graphics.

Text mode works by sending the terminal character by character to a serial device.

This is different from a display screen, where each character is a bunch of pixels, and it would be much harder to convert that into actual terminal text.

For more details, see:

- https://unix.stackexchange.com/questions/307390/what-is-the-difference-between-ttys0-ttyusb0-and-ttyama0-in-linux

- TTY

Note that you can still see an image even in text mode with the VNC:

    ./run --vnc

and on another terminal:

    ./vnc

but there is not terminal on the VNC window, just the CONFIG_LOGO penguin.

- Quit QEMU from text mode