|
![](/i/fill.gif) |
On Fri, 07 Oct 2011 15:42:39 -0700, Darren New wrote:
> On 10/7/2011 12:15, Jim Henderson wrote:
>>> Oh, right. I thought that refers only to when you run an X application
>>> that emulates a terminal in a window.
>>
>> That's technically called a 'pseudoterminal' - pts. "man pts" is
>> interesting reading, if you like that sort of thing.
>
> No, that's an xterminal or a terminal window. A pts (actually, ptty) is
> a device driver that isn't a terminal but exposes the same ioctls as a
> terminal (and in particular can belong to a process group). Because UNIX
> never figured out the concept of a "login".
>
> Unless a pts is different from a ptty?
When not logged in on my console or terminals, typing 'who' gets the
following result:
jhenderson :0 2011-09-08 16:21 (console)
jhenderson console 2011-09-08 16:21 (:0)
jhenderson pts/1 2011-10-06 13:25
jhenderson pts/2 2011-10-07 21:17 (:0.0)
jhenderson pts/5 2011-10-06 13:25
jhenderson pts/3 2011-09-08 16:24 (:0.0)
console, pts/2, and pts/3 are the GUI desktop (identified as display :0
and :0.0). pts/1 and pts/5 are currently running under screen.
jhenderson tty2 2011-10-07 21:50
That shows up if I hit alt-f2 and login on that terminal.
That should clear it up. :)
Jim
Post a reply to this message
|
![](/i/fill.gif) |