LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 09: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, 09: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,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
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



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 02: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 10: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-26-2009 11:02 PM
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 08:05 PM
rxvt: can't open slave tty /dev/pts/3 kater Linux - General 2 02-26-2003 06:39 PM

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

All times are GMT -5. The time now is 11:42 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
Open Source Consulting | Domain Registration