The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
9 views

Where can I find more information about /dev/pts/*, /dev/ptmx, tty and pseudo terminals [duplicate]

As in the title I what to know more about terminals and pseudo terminals, how they are created and how to create my own terminal emulator. man for pts and ptsname show some hints, but I want to learn ...
1
vote
1answer
89 views

Why root can't open pseudo terminal device? (permission denied)

Using a non-root user, I'm creating a pseudo terminal with socat like this: socat -d -d PTY,link=$HOME/.wine/dosdevices/com1,raw,echo=0 PTY,link=/tmp/com1-pty,raw,echo=0 and I need a root ...
1
vote
0answers
19 views

Which process is occupying a certain pseudo terminal pts/X?

On Linux: Normally pseudo terminals are allocated one after the other. Today I realized that even after a reboot of my laptop the first opened terminal window (which was always pts/0 earlier) ...
2
votes
0answers
89 views

Trying to understand how TTYs and PTYs work in CentOS 6.5? [duplicate]

I started to dig into the whole Linux pty and tty hell. I'm trying to understand how it works here in Linux so I was reading quite a lot of articles that covered this topic. So far I know: TTYs ...
3
votes
1answer
97 views

What is the maximum allowed number of TTY, is it defined anywhere in kernel headers?

What's the maximum allowed number of TTYs? I found pty.max, but is there anything similar for TTYs? Or is it defined as a fixed value in kernel headers, I couldn't find that
4
votes
3answers
1k views

what is stored in /dev/pts files and Can we open those?

I am curious to know that what is stored in /dev/pts/ files . Can we open those files ? According to my knowledge /dev/pts files are created for ssh or telnet session .
10
votes
2answers
691 views

How does a Linux terminal work?

If you fire up a terminal and call an executable (assuming one thats line oriented for simplicity) you get a reply to the command from the executable. How does this get printed to you (the user) does ...
344
votes
3answers
55k views

What is the exact difference between a 'terminal', a 'shell', a 'tty' and a 'console'?

I think these terms almost refer to the same thing, when used loosely: terminal shell tty console What exactly does each of these terms refer to?