LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 09-20-2009, 10:31 AM   #1
anshexp
LQ Newbie
 
Registered: Jul 2009
Posts: 14

Rep: Reputation: 0
/dev/tty vs /dev/pts


hi,
i am a new user on linux actually i want to know deffernce between .
/dev/tty(instances of tty),/dev/pts(instances of pts) and xterm.
what type of driver tty is and is /dev/pts also device file.

thanking you.
 
Old 09-21-2009, 10:13 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,815
Blog Entries: 15

Rep: Reputation: 1662Reputation: 1662Reputation: 1662Reputation: 1662Reputation: 1662Reputation: 1662Reputation: 1662Reputation: 1662Reputation: 1662Reputation: 1662Reputation: 1662
Put simply: tty = hardwired terminal on a serial connection. pts (a/k/a pty) is a pseudo-tty to emulate terminals on network connections.

xterm =
a) A terminal "type" definition modeled on vt100 (another type) and optimized for use with the next item.
b) An X utility that emulates a terminal - specifically emulates the DEC vt100 terminal.

Typing the following should give you a disgusting level of detail:
man terminfo
man xterm

Also:
man X
gives you some more details of settings available in X applications that may not be spelled out in xterm).
man stty
gives you some detail of other settings you can see and adjust for terminal sessions.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
pseudo terminals: /dev/ptmx <-> /dev/pts/ vs. /dev/ptyp <-> /dev/ttyp rtspitz Linux - Software 2 12-02-2011 03:07 PM
What happens if /dev/pts in /etc/fstab doesn't have the same GID as tty in /etc/group linuxuser26 Linux - Software 2 01-27-2009 11:14 AM
What happens if /dev/pts in /etc/fstab doesn't have the same GID as tty in /etc/group linuxuser26 Linux - Newbie 1 01-27-2009 12:02 AM
What happens if /dev/pts in /etc/fstab doesn't have the same GID as tty in /etc/group linuxuser26 LinuxQuestions.org Member Success Stories 1 01-26-2009 09:05 PM
rxvt: can't open slave tty /dev/pts/3 kater Linux - General 2 02-26-2003 07:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 03:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration