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

learn more… | top users | synonyms

2
votes
2answers
704 views

How can I replace a tty using getty with qingy on ubuntu 12.04 or later?

Qingy is a getty replacement. I'd like to use it for a tty terminal on Linux Mint 15 (in hopes of getting tmux to get proper 256 colors in tty which fails with fbterm) which means replacing getty. ...
2
votes
0answers
151 views

FreeBSD gettytab configuration

I have a serial port on my system which is named cuau3 under FreeBSD. I want to change the properties of this port, I can change the device's speed using /etc/ttys and /etc/gettytab files, but I can't ...
1
vote
0answers
35 views

How to get 256 color support in a login shell TTY? [duplicate]

I want to experiment with a fully text-based environment, however, the only thing that is stopping me - is getting 256 colors so my Vim color schemes could work perfectly. When I enter a TTY by ...
2
votes
1answer
433 views

Debian chroot blocking PTTYs on host

I've created a Debian-based chroot environment using debootstrap under Arch Linux, and fill it with life like this: #!/bin/sh mount -t proc proc $CHROOT/proc mount -t devpts devpts $CHROOT/dev/pts ...
2
votes
2answers
151 views

Take copy of TTY0 text

I have some output in TTY1 that I think might hold clues as to why my last GUI session froze (CtrlAltBackspace was able to get me back to the terminal and I reloaded the GUI). However, I cannot seem ...
3
votes
1answer
955 views

No room on ep ring?

I just switched to tty1, and I'm getting all kinds of output. It all looks like this: [timestamp] xhci_hcd 0000:00:14.0: ERROR no room on ep ring It's happening over 100 times per second, every 5 ...
3
votes
1answer
6k views

Change the number of rows and columns in the TTY [duplicate]

I want to resize the terminal which comes up when you press CtrlAltF1 (or F2,F3,...). 25x80 is small for a 24" screen. Tried using stty, but the commands stty columns 200 and stty rows 50 does not ...
0
votes
0answers
75 views

Root has no permission on virtual console screen devices

Even being root I can't do the following: # cat /dev/vcs1 cat: /dev/vcs1: Operation not permitted And the rights are set correctly: # ls -o /dev/ crw-r--r-- 1 root 7, 1 Aug 5 22:00 vcs1 ...
1
vote
1answer
43 views

Cannot figure out how to revert back to backed up profile file

Basically, I made a backup copy of my /etc/profile (or ~/.profile I can't remember exactly) file that executes as soon as you login to a TTY, and then I changed the one that was there, and now it ...
1
vote
1answer
716 views

How to disable respawn for terminal?

In old 5.3 rhel, we used to define the number of terminals and their respawn settings in /etc/inittab file as below. 1:2345:respawn:/sbin/mingetty tty1 1:2345:respawn:/sbin/mingetty tty2 ...
7
votes
1answer
989 views

In which cases is SIGHUP not sent to a job when you log out?

I read an answer from a user who claimed that running foo 2>&1 >& output.log & would result in foo continuing to run even when they log out. According to this user, this even ...
0
votes
1answer
249 views

Black screen TTYs1-6 (KDE)

Since I installed KDE and removed Gnome, when I switch to any TTY1-6 I got a black screen. Switching back to TTY7 works fine. I don't know why is this happening, but I guess that some needed package ...
2
votes
1answer
509 views

Start remote X session on local tty

I have access to two Linux boxes, both running X servers. Let's call them A and B. I do not always have physical access to machine A, though I can always access it remotely and I have admin access to ...
3
votes
1answer
363 views

Relationship among runlevels and virtual terminals (TTY)

When I switch from rulevel 5 to 3 (with init command) and I press CtrlAltF1 up to F7, I realize that now I’m on TTY1 instead of TTY7 and when I switch back to runlevel 5 I return back to TTY7. Why? ...
5
votes
1answer
235 views

Linux VT Emacs in tmux, breaks color and cursor

TERM is set to screen. I tried with screen-256color, but then the colors went really nuts. I also tried xterm, linux, and some others (that I could think of, not really thinking) but screen is the ...
5
votes
4answers
15k 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). ...
0
votes
1answer
975 views

How can I set the TTY font size manually in Lubuntu? [duplicate]

I'm configuring some minimal Lubuntu installs, which will run within VMs. They do not have window managers, and I do not intend to install any. I would like to increase the TTY font size so that 4 of ...
0
votes
1answer
246 views

After upgrading to linux kernel 3.9, kde does not start correctly

I recently upgrade my debian from kernel 3.2 to 3.9. This leads to a strange problem. After booting to kernel 3.9, it directly goes to tty7 instead of kde login. I can identify that kdm is up and ...
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 ...
5
votes
2answers
546 views

My process was killed but I cannot understand the kernel notice

I have a custom application running on an embedded x86 setup (built using buildroot and uClibc). The application has been running fine but this morning when I returned to work I discovered my process ...
2
votes
1answer
673 views

Re-ordering serial ports on a multiport card

I have a Red Hat Enterprise 6.2 machine with two on-board serial ports and a PCIe card with 8 additional serial ports (16C950 UARTs, 16C550 compliant). I've added the kernel option 8250.nr_uarts=10 so ...
7
votes
2answers
475 views

Are there any linux terminals which can handle all key combinations?

I like to use emacs in terminal mode (-nw), but it seems most (all?) terminals can't handle some key combinations - for example, C-<RET> or C-M-%. I know this is because most terminals emulate a ...
12
votes
2answers
2k views

How does a Linux terminal work?

If you fire up a terminal and call an executable (assuming one thats line oriented for simplicity) you get a reply to the command from the executable. How does this get printed to you (the user) does ...
0
votes
0answers
360 views

Ubuntu cannot start from terminal

Ubuntu 12.04 By a mistake, I stopped lightdm. Then switched to tty1, and rebooted. Now, After startup, It just came a black screen with a cursor, can type nothing. I tried Ctrl+F1 to F12 (and ...
3
votes
2answers
2k views

udev re-numbering when creating symlinks

I have USB cellular modem attached to an ALIX 3d2 board running voyage linux (which is based on Debian Squeeze). The modem registers itself as a TTY device, and so by default, udev will create TTY ...
1
vote
1answer
705 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 ...
1
vote
1answer
278 views

Creating a terminal device for interprocess communication

I'd like to know how to create a terminal device to simulate a piece of hardware connected through a serial port. Basically, tty device with a certain baud rate that can be read from and written to ...
4
votes
1answer
211 views

GNU Screen weird characters on click

I have a small problem in GNU screen. A GNU screen session runs on my RaspberryPi. Now sometimes, when I join it, if I click in the terminal (I'm using terminator on Fedora) I see weird characters ...
7
votes
1answer
253 views

“w | tail” chops text at right margin (78 characters)

Summary: w | tail chops rows after 78th column. When I run the "w" command, it works as expected. However, when I pipe the output to "tail", it chops the output to 78 columns wide (truncates anything ...
1
vote
2answers
6k views

How to set default console keyboard layout in Arch Linux?

Whenever I reboot my computer I have to set the keyboard layout in a console again with loadkeys. Is there a way to change the default keyboard layout that is loaded everytime the computer boots?
4
votes
1answer
130 views

Can I access X11's clipboard from tty1-6?

Sometimes, when I'm running on battery and don't need a window manager, I'll log into tty1, fire up fbterm and Vim and work. Later, if I need the window manager, I'll use the log in GUI but switch ...
10
votes
2answers
224 views

Is there a way to mirror USB outputs?

I'm currently writing a program for a project. It is for a braille reading system where I have a braille display connected via USB that is controlled by a program called brltty. One of the ...
1
vote
2answers
165 views

/dev/console points to tty0?

I've been trying to understand the /dev/console device, but there are a few things I'm not clear on: What is the purpose of this device? From what I can gather it's just a place for the kernel to ...
3
votes
2answers
141 views

Reading from a serial interface

I have a serial device running which I need to read data from(I have absolutely no control over the device itself) except reading its output; using hyper terminal in Windows I am able to detect a ...
0
votes
2answers
41 views

How to launch a program in text only mode if it support silent running

I have got a java program, which support text file input and auto running, can i put it in background running without GUI ? It prompt cannot set display. while there is no concern to view the ...
0
votes
1answer
93 views

Virtual TTY jumps to the next on launching from the Openbox menu

When I launch a terminal from my Openbox menu my virtual terminal TTY jumps to the next CtrlAltF12 slot. It seems that this problem appeared after I wanted some more than 7 TTYs and added some to ...
7
votes
3answers
5k 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
1answer
1k views

Getting no tty present and no askpass program specified when using git over ssh

I'm trying to push a git commit from my laptop to my server but keep getting the following error message: remote: sudo: no tty present and no askpass program specified To ...
2
votes
1answer
217 views

What are TTYs >12 used for?

Related to TTY numbers, it looks like there are 64 TTYs (find /dev -name 'tty[0-9]*' | cut -c 9- | sort -n | tail -n 1 and documentation). tty0 is the current virtual console, Ctrl+Meta+F1 reports ...
1
vote
1answer
142 views

What are the different virtual TTY numbers used for?

It seems by default (at least on Ubuntu, but I think I saw the same on other distros) there are virtual TTYs 1-6 for text login, 7 for GUI login, and 8 upwards are unused or at least non-interactive ...
2
votes
1answer
170 views

How to rebind XON/XOFF keys?

I put stty -ixon -ixoff in my .bashrc so I can use Control+S to search the bash history forward (here there is a text about it). However, I sometimes used Control+S to really send the XOFF signal to ...
1
vote
2answers
543 views

Invoke a command/script disconnected from the controlling terminal?

I'm investigating the behaviour of a script that is normally run as an automated process (e.g. cron, Jenkins). The script can (eventually) invoke commands that behave differently (seeking user input) ...
0
votes
1answer
440 views

How to change keyboard speed in the Linux console? [duplicate]

When I press Ctrl + Alt + F1 the desktop environment disappears and a terminal window appears. Pressing Ctrl + Alt + F7 brings me back to DE. This terminal is useful when the DE hangs for some reason ...
7
votes
2answers
3k views

Arch Linux how to close tty

I've opened several ttys and I don't know what key combination to use to close a tty. I'm using Arch Linux.
9
votes
1answer
12k views

Is it okay to disable requiretty?

I'm trying to set up a deploy script using Capistrano At a step cap deploy:setup script is connecting to my server and trying to run commands that create directories. Then I see an error: msudo: ...
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 ...
1
vote
1answer
432 views

Start IceWM from the command line *and* get sound working?

So, I hate window managers. I hate them all. My current distribution is Ubuntu 12.04. Here is my /etc/init/lightdm.conf: # LightDM - light Display Manager # # The display manager service manages ...
1
vote
1answer
296 views

Can I use xterm to read/write to a pts without spawning another process (e.g a shell)?

I have a process which reads and writes to a pseudo terminal. I would like to open xterm and have it open a pseudo terminal and leave it open so I can communicate with this process without creating ...
31
votes
1answer
843 views

What happens when Ctrl + Alt + F<Num> is pressed?

I am looking for an explanation of what happens in Linux when this key combination is pressed to change the current terminal. In particular, what software component intercepts this key combination and ...
6
votes
3answers
993 views

Create Null Modem Pair linux

I am looking to create virtual serial ports on Debian 6 squeeze. Basic requirements are: be able to connect as if port was a real serial port( IE be able to set baud, stop bits etc) com port pairs ...