What is vt and how does it work?

Hi folks,

I was researching an issue with my EnOS install and I’ve run into a problem:

I read the suggestion (third reply) by @xircon on this post:

I was then curious to see what ‘vt’ means, so I hit ctrl+alt+f2 to find out.

Well, it’s a fullscreen version of the terminal, as far as I can tell.

Cool.

(Does ‘vt’ stand for ‘virtual terminal’)?

So now I’d like to go back to my desktop environment.

How do I do that?

:confused:

Edit: I just pressed ctrl+alt+f1 and to my delight, I’m back at my desktop.

So… solved…

:blush:

embarrassing

Ctrl+Alt+F# are shortcuts for switching between TTYs.

TTY stands for TeleTYpe, it’s is the standard I/O interface for all POSIX computers. In the old days, on Unix, real teletypewriters like this beauty here, the Teletype Model 33, were used as terminals to interact with the computer:

image

They are also called “dumb terminals” because they are not computers in themselves, just the IO interface (usually keyboard for stdin, and line printer for stdout and stderr). Since POSIX operating systems are multi-user, multiple users can use the computer at the same time, each using his or her own teletypewriter to connect to it via telephone line. Nowadays, we don’t use actual teletypewriters, and we’ve replaced line printers with monitors, and now the terminal IO is handled by software emulated TTYs, and your EndeavourOS PC has about 70 of them (they are all in the /dev directory). You can switch to some of them using the Ctrl+Alt+F# shortcut.

If you are using KDE Plasma, and SDDM as your display manager, your GUI session will typically be on TTY1, so you would use Ctrl+Alt+F1 to switch back to your default GUI session. On some other desktop environments, the GUI session can be on TTY7.

5 Likes

I have just 53, somebody stole other ones :space_invader:

3 Likes

You can use 90 year old teletypes to login into a modern Linux distro:

(I highly recommend Marc’s videos, they’re brilliant!)

5 Likes

Yeah, there is no reason why you would not to be able to. Linux is POSIX compliant :wink:

Also, in a situation like this, ed really shines as a text editor.

2 Likes

But you do need excellent technical knowledge to get it to work :wink:
Marc helped repair the original Apollo AGC computer, he has a whole series of videos about it, highly recommended.

4 Likes