View previous topic :: View next topic |
Author |
Message |
dufeu l33t
Joined: 30 Aug 2002 Posts: 924 Location: US-FL-EST
|
Posted: Wed Apr 08, 2009 12:38 am Post subject: Legacey [BSD] pty support in the kernel [SOLVED] |
|
|
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 |
|
|
yabbadabbadont Advocate
Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
Posted: Wed Apr 08, 2009 12:48 am Post subject: |
|
|
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 |
|
|
dufeu l33t
Joined: 30 Aug 2002 Posts: 924 Location: US-FL-EST
|
Posted: Wed Apr 08, 2009 12:52 am Post subject: |
|
|
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 |
|
|
|