Hacker News new | past | comments | ask | show | jobs | submit login

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




I 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.


But 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)?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: