A representation of a device that asynchronously transmits and receives serial data.

learn more… | top users | synonyms

0
votes
0answers
9 views

ERROR: init: ttyS0 (/dev/ttyS0) main process (1612) terminated with status 1

I'm getting the following errors every 10-30 seconds on a virtual Red Hat Enterprise Linux 6.5 2 Server on Amazons EC2. Sep 23 09:57:05 ServerName init: ttyS0 (/dev/ttyS0) main process (1612) ...
0
votes
0answers
6 views

How to use secondary VGA device for TTYs

I have a machine (a virtual XEN DomU, but I don't think it matters) with two video cards. I would like to display the TTYs on the monitor connected to the secondary video card (i.e., not the display ...
5
votes
4answers
12k views

Pseudo-terminal will not be allocated because stdin is not a terminal

I'm trying to set up automatic SSH hopping through a server which doesn't have nc. This works from the command line: ssh -A gateway ssh steve@target (I have added my public key to the SSH agent). ...
1
vote
1answer
527 views

Setting up tty ports on Beaglebone Black with Angstrom linux

I'm using a Beaglebone Black running the Angstrom v2012.12 build that came pre-loaded. I want to be able to connect another device to a serial port via the UART connections on the GPIO headers. The ...
2
votes
1answer
361 views

How to open tty or execute some script when the shortcut Ctrl+Alt+F[1-6] doesn't work and X11 is partially frozen but system is still working?

I'm using Ubuntu 10.10 with Gnome on Acer Aspire One netbook. The X11 or just some parts of Gnome like panels and partially windows (details described below) are frozen which doesn't allow to do ...
2
votes
1answer
300 views

How can I make the TTY use the appropriate charset?

Note: forked of this per recommendation here. While I got the X keyboard layout right on my own after I fixed that stupid typo, I still can't set the console charset, key map, font map, or whatever ...
0
votes
1answer
62 views

Xorg with Kernel Mode Settings won't work with other tty

Using intel video drivers with kms and i915 on arch linux I haven't been able to start Xorg in a different tty than from the calling one logged as root. By example: Logged as root on tty1 X vt7 :0 ...
7
votes
2answers
5k views

Poor TTY resolution with nVidia driver

The resolution of the TTY1-6 is poor ~ 640×480 Ubuntu 11.10 | Grub2 | nVidia | NVIDIA GT215 Board I went through the process on this site and after the edit the GRUB menu appears in the correct ...
5
votes
4answers
1k views

Enabling Numeric Keypad

I have trouble with the numeric keypad (NumLock keys) being unusable while typing. While I don't think it's GUI specific, this happens both in Gnome and KDE. Sometimes it works in TTY, other times it ...
17
votes
3answers
843 views

What are the responsibilities of each Pseudo-Terminal (PTY) component (software, master side, slave side)?

I am trying to figure out how a tty works1 (the work-flow and responsibilities of each elements). I have read several interesting articles about it, but there are still some blurry areas. This is ...
1
vote
2answers
32 views

Connect two ttySx devices on the same machine

I'm just wondering, whether it is possible to connect /dev/ttyS0 with a virtual device node (e.g. a created with mknod /dev/ttyTest) so that the output from ttyS0 is sent to ttyTest. I would like to ...
1
vote
1answer
57 views

Can I switch to another process in another tty# terminal from an ssh terminal?

Here's the deal. I have a Linux Mint 15 server running a web server, an ssh server, and a minecraft server. When I go back to college after the summer, I want to leave my machine at home (6 hrs away) ...
2
votes
1answer
79 views

How to enable/disable a serial port?

I need to disable and then enable a serial port for testing purposes on a Java program. Since the man page of setserial is stating: "Using UART type none will disable the port.", I use sudo setserial ...
4
votes
1answer
54 views

look up the device from its tty file?

Here is from my Ubuntu $ ls /dev/*tty* /dev/tty /dev/tty17 /dev/tty26 /dev/tty35 /dev/tty44 /dev/tty53 /dev/tty62 /dev/ttyS12 /dev/ttyS21 /dev/ttyS30 /dev/tty0 /dev/tty18 /dev/tty27 ...
4
votes
4answers
437 views

Multiple terminals at once without an X server

There is a way to visualize multiple terminals at the same time without running a Xorg session ? I have a really low profile machine that could be great for some basic stuff but has an horrible ...
0
votes
1answer
34 views

How can I automatically interrupt what I'm doing to input something?

As per Nick Winter's The Motivation Hacker, I want to measure my happiness. I know that I'm bad at remembering things or responding to reminders, so I'd like to set up a daemon that, at random ...
425
votes
3answers
78k views

What is the exact difference between a 'terminal', a 'shell', a 'tty' and a 'console'?

I think these terms almost refer to the same thing, when used loosely: terminal shell tty console What exactly does each of these terms refer to?
2
votes
1answer
2k views

Unable to receive data from /dev/ttyACM0 device [closed]

Using USB based CAN device connected on AR9350 mips processor based Atheros reference board with linux kernel 2.6.32.61. Which is coming up as /dev/ttyACM0 device. In which Able to transmit data from ...
6
votes
5answers
2k views

How can I run `watch` as a background job?

When I run: watch 'cmd >> output.txt' & the job gets suspended by the system: 3569 Stopped (tty output) Is there a workaround?
4
votes
1answer
85 views

What exactly is 'scrollback' and 'scrollback buffer'?

What are "scrollback" and "scrollback buffer" in programs like bash and screen, and how do they relate to the tty, the programs being run, and stdin/ stdout/ stderr? Here is the only definition of ...
3
votes
2answers
100 views

change tty login timeout - ArchLinux

By default when I login to my Arch linux box in a tty, there is a timeout after I type my username but before I type my password. So it goes like this Login: mylogin <enter> Password: (+ 60 ...
5
votes
3answers
4k views

How can I hook on to one terminal's output from another terminal?

I need to hook onto output of currently running terminal (tty1) from virtual terminal and capture it (running X server). I'm pretty sure such a thing is possible by simpler means than debugging ...
2
votes
0answers
144 views

Can't login using serial on ttyO0 - BeagleBone Black

I boot Beaglebone Black, connected to my desktop by serial. It was working great, until now. Beagle is booting, output shows up on the console, but at the end I can't log in. I can't type the login, ...
1
vote
1answer
205 views

Why X server runs on TTY1 and not TTY7 on Arch Linux?

I've used Debian derivates (*buntu, CrunchBang), Mandriva, OpenSuSE, Fedora, name it.. all of them had X server at TTY7 (at least I think it was 7), accessed with: Ctrl + Alt + F7 Now, I moved to ...
1
vote
0answers
26 views

How do I assign the controlling terminal to other process?

I use TIOCSCTTY to forcibly take over the controlling terminal in other "remote" application. But after the application finishes running, controlling terminal gets orphaned and bash stops reacting to ...
25
votes
2answers
18k views

Difference between pts and tty

Possible Duplicate: What is the exact difference between a 'terminal', a 'shell', a 'tty' and a 'console'? I always see pts and tty when I use the who ...
2
votes
2answers
3k views

Endless data loop from dev/ttyUSB while sending AT commands

I have problem sending AT commands to my USB modem. At first I tried php-serial class, but when i was reading data, I got endless loop with strange data. Then I tried to debug problem and opened putty ...
0
votes
0answers
245 views

TTY1 message help? (with picture)

When I boot up , I am greeted with a black TTY1 screen with the following error Kali GNU/Linux 1.0.7 kali tty (screenshot here) Kali Login:[ 31.695480] brcmsmac: bcma0:0: brcmsmac: ...
4
votes
2answers
15k views

Can I change the font of terminal?

I have a Un*x OS installed without desktop, I wonder if it is possible to change the font of terminal.
0
votes
1answer
41 views

Letters tty terminal text mode are very small in debian. How to increase? [duplicate]

My Debian 7 is with letters tty terminal text mode are very small. How to increase? I know that Fedora 20 is possible to install in a troubleshooting installation. Thanks!
1
vote
1answer
566 views

How to read/write to tty* device?

I have a device that sends information over USB to my computer. Arch Linux sets up this device by creating a file named ttyUSB0 in /dev/. I have been using GTKterm to receive this incoming information ...
0
votes
0answers
13 views

How to use stty to bind alt/option j to stop current process [duplicate]

I know stty intr ^j will bind Ctrl+j to do intr, but I want to bind this to Alt+j or Option+j. Any one know how to do this?
3
votes
1answer
1k views

Ctrl-Alt-F1 not working from X

I have a system running Debian 5.0 that doesn't respond to Ctrl-Alt-F# (1-6) Check if Ctrl, Alt, F1 and F2 are intercepted correctly... $ DISPLAY=:0 xwininfo xwininfo: Please select the window ...
2
votes
2answers
264 views

Sending message from one terminal user to another user

I have a user of name x in tty1 and y in tty2. Now x wants to write some message to y and vice-versa. Now I typed in tty1 terminal write y tty2 It is showing write:write:you have write permission ...
0
votes
2answers
61 views

systemctl start depending on tty

I would like to start Apache automatically on my machine, but only if I login from TTY1 (I do not run a display manager). If I log in from any other TTY, it should not start. I tried this in my ...
0
votes
0answers
77 views

Script to gracefully kill X server and drop to tty?

I use the terminal to do the majority of my day-to-day computing, so I have the default runlevel set to 3 in /etc/inittab and I only start the X server when I need to. I currently have the following ...
0
votes
0answers
32 views

Modifying /bin/login or workaround

I'd like to modify (or rather create a modified copy of) /bin/login. I want the script to start in all ttys (like ordinary /bin/login) but with different functionality - it should allow user to login ...
1
vote
1answer
53 views

Meaning of entries in /etc/securetty?

I've been given a set of entries to apply to /etc/securetty, what does each of them mean? console tty1cd / tty2 tty3 tty4 tty5 tty6 ttyS0 ttyS1 I'm especially interested in the "tty1cd /" entry. I ...
2
votes
1answer
149 views

Remove the newline before `/etc/issue` in tty

I want to remove the default newline inserted before the content of /etc/issue on login prompt in tty. I'm using agetty and systemd. I tried to add the --nonewline option to my getty@tty5.service : ...
4
votes
2answers
208 views

What is the TTY major number of your Unix?

I'm currently working on a serial port library which already uses special frameworks to get information about serial ports on the system. Though serial ports are a fundamental design in Unix—as ...
4
votes
1answer
104 views

Comunicate with remote Serial over TCP/IP as /dev/ttyX device

I've one serial device on 192.168.x.x:yyyy (where "x" and "y" are real number) and it works correctly. But I want to communicate with this as /dev/ttyX device. I've tested socat command but not ...
6
votes
2answers
294 views

Terminate dropped SSH sessions

My SSH sessions seem to be dropping though that is not my major problem - the major problem is my previous sessions are still alive, worse yet one of them is running visudo preventing me from ...
0
votes
0answers
69 views

Schemes for linux tty and xterm

I actually prefer the font and colorscheme used when I'm in a tty terminal. After I start up a window manager, the colorscheme and font are completely different when I'm in xterm -- which is expected. ...
1
vote
0answers
47 views

Cygwin serial tty device for high-numbered COM ports

My hardware enumerates as COM125 on the device manager (CDC-ACM class). But, I can't find it under /dev/tty* listing. Does cygwin have a limitation on CDC-ACM class of com ports or numbers greater ...
2
votes
2answers
116 views

How to interpret all fields of `utmpdump /var/log/utmp`

I'd like to monitor logged in sessions, include how they logged in (physical console or SSH), and how long that session has existed for. It seems like utmpdump /var/log/utmp has that information, but ...
1
vote
1answer
59 views

Buffer each line locally on a serial terminal

I use kermit to connect to a device over serial. The device is quite "dumb" and doesn't have any fancy shell. It is really just receiving commands over serial and sending outputs back over serial. ...
3
votes
1answer
64 views

Where can i find any information about ancient doshell(8)?

I check the openvt manual by running "man openvt" command, and i found doshell(8) under "SEE ALSO" section: But there's no manual if i do "man 8 doshell": I checked the online manual at ...
7
votes
1answer
101 views

How to find which serial port is in use?

The Question: I plugged in a device (i.e. GSM modem) through a serial port (a.k.a. RS-232), and I need to see with which file in /dev/ filesystem this device was tied up, to be able to communicate ...
1
vote
2answers
263 views

How do I run a command on a TTY from a SSH session?

Does anyone know of a way that I could run a command from my ssh session and have it display on tty1? It seems like I could do that like: script command >> /dev/tty1. However, if I were to do ...
4
votes
4answers
205 views

Login into a GNU/Linux distribution is taking too long

So, When I try to login with my username and password (in tty), and insert a wrong password, I need to wait around 5 seconds for the system to tell me that the password is wrong. Why the validating ...