4 ms·
Call me newschool or oldschool or whatever but... ... $ tty /dev/tty1 <- that's sorta a modern "tty" ... $ tty /dev/pts/17 <- that's a
by TacticalCoder 3y ago
Call me newschool or oldschool or whatever but...
... $ tty
/dev/tty1 <- that's sorta a modern "tty"
... $ tty
/dev/pts/17 <- that's a pseudo-tty
I like this one:
https://www.baeldung.com/linux/pty-vs-tty https://www.baeldung.com/linux/pty-vs-tty
- abnry 3y agoI guess my understanding is that a tty must involve a device driver for an actual piece of hardware. A pty is all software, implemented as a feature of the kernel any application can ask for.
- krackers 3y agoBut on modern linux even the tty is a "virtual tty". Is the device driver part implicit in the kernel (which dumps out the contents to frame buffer)?