Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Legacey [BSD] pty support in the kernel [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
dufeu
l33t
l33t


Joined: 30 Aug 2002
Posts: 860
Location: US-FL-EST

PostPosted: Wed Apr 08, 2009 12:38 am    Post subject: Legacey [BSD] pty support in the kernel [SOLVED] Reply with quote

I'm trying to determine if I need to turn on legacy pty support in the kernel.

Code:
CONFIG_LEGACY_PTYS:                                                                  │
  │                                                                                      │
  │ A pseudo terminal (PTY) is a software device consisting of two                       │
  │ halves: a master and a slave. The slave device behaves identical to                  │
  │ a physical terminal; the master device is used by a process to                       │
  │ read data from and write data to the slave, thereby emulating a                      │
  │ terminal. Typical programs for the master side are telnet servers                    │
  │ and xterms.                                                                          │
  │                                                                                      │
  │ Linux has traditionally used the BSD-like names /dev/ptyxx                           │
  │ for masters and /dev/ttyxx for slaves of pseudo                                      │
  │ terminals. This scheme has a number of problems, including                           │
  │ security.  This option enables these legacy devices; on most                         │
  │ systems, it is safe to say N.                                                        │
  │                                                                                      │
  │                                                                                      │
  │ Symbol: LEGACY_PTYS [=n]                                                             │
  │ Prompt: Legacy (BSD) PTY support                                                     │
  │   Defined at drivers/char/Kconfig:446                                                │
  │   Location:                                                                          │
  │     -> Device Drivers                                                                │
  │       -> Character devices

The help leads one to believe that legacy pty support is a bad thing yet the same help indicates it's required for "xterm" programs.

I make use of a lot of intances of xterm and friends. Sooo .... what is the story? Does "xterm" need legacy pty support?

Some clarification would be appreciated.
Thanks!
_________________
People whom think M$ is mediocre, don't know the half of it.


Last edited by dufeu on Wed Apr 08, 2009 12:53 am; edited 1 time in total
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Wed Apr 08, 2009 12:48 am    Post subject: Reply with quote

Code:
/home/daffy $ zgrep CONFIG_LEGACY_PTYS /proc/config.gz
# CONFIG_LEGACY_PTYS is not set
/home/daffy $ ps ax | grep xterm
12533 ?        S      0:00 xterm
12583 pts/0    S+     0:00 grep --colour=auto xterm

Obviously, it isn't needed in order to use xterms. ;)
Back to top
View user's profile Send private message
dufeu
l33t
l33t


Joined: 30 Aug 2002
Posts: 860
Location: US-FL-EST

PostPosted: Wed Apr 08, 2009 12:52 am    Post subject: Reply with quote

Excellent.

I'll turn off support then.

Thank you for the reply. It is much appreciated.
_________________
People whom think M$ is mediocre, don't know the half of it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum