A representation of a device that asynchronously transmits and receives serial data.
2
votes
1answer
21 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 ...
4
votes
2answers
46 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 ...
6
votes
2answers
116 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
35 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 ...
2
votes
2answers
52 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
0answers
87 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
37 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 ...
0
votes
1answer
45 views
Nvidia Proprietry Driver Causing Multiple Problems
I have recently downloaded and installed NVIDIA-Linux-x86_64-319.17.run for my Nvidia Quadro NVS 130M Graphics Card.
Installation went fine after disabling the X server and running the install from a ...
3
votes
0answers
54 views
GNU Screen weird characters on click
I have a small problem in GNU screen. A GNU screen session runs on my raspberry pi. 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
144 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 ...
0
votes
1answer
111 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?
3
votes
1answer
47 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 ...
6
votes
0answers
64 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
62 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
55 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
29 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
0answers
17 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 ...
4
votes
2answers
153 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
159 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 ...
1
vote
1answer
72 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 ...
0
votes
1answer
55 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
39 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
87 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
74 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 ...
6
votes
2answers
315 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.
2
votes
1answer
682 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: ...
1
vote
1answer
591 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
130 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
111 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 ...
25
votes
1answer
447 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 ...
5
votes
3answers
216 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 ...
2
votes
0answers
47 views
Controlling ppp's chat buffering
I looked at the ppp chat source and it uses putchar to write to the device. When PPP is run over a line discipline like n_gsm, which multiplexes a tty via the GSM 07.10 protocol, a lot of extra data ...
1
vote
3answers
345 views
What's the difference between these ways of accessing the shell?
From what I know it seems that there are many ways to access the shell on Linux. So far the methods I know are:
To use a program such as Terminal or Konsole
To use the shortcuts CTRL + ALT + F1-6
To ...
14
votes
2answers
3k views
Linux: Difference between /dev/console , /dev/tty and /dev/tty0
On a Linux system, what is the difference between /dev/console , /dev/tty and /dev/tty0 ?
What is their respective use? How do they compare?
2
votes
2answers
317 views
Why are there so many virtual terminal devices?
I've been reading the advanced linux programming book availalble free online linky and it mentiones about virtual terminals which if I understood it correctly it is a Linux specific feature (not in ...
2
votes
1answer
121 views
Does each user get his/her own tty(s)?
I put a simple echo command in a CLI tty by user1 expecting it to reach user2 who is logged in a separate tty.
echo "Hello, world!" >> /dev/tty5
I expected user2 to get the echo message but ...
6
votes
1answer
149 views
What should interactive shells do in orphaned process groups?
(Re-posting in unix per the suggestion in http://stackoverflow.com/questions/13718394/what-should-interactive-shells-do-in-orphaned-process-groups)
The short question is, what should a shell do if it ...
4
votes
2answers
154 views
How can I launch applications from 2 ttys on launch?
I've currently got 2 ttys logging in automatically, but I need to launch a node script from one and a C program from another as soon as the device loads.
The device is a Raspberry Pi running ...
12
votes
1answer
447 views
Screenshot of X from tty
Using Xvfb I can launch an application and take a screenshot.
What I'm wondering about is how to capture from an existing (dormant) X session.
Say from tty or over ssh.
From what I understand ...
3
votes
2answers
96 views
Hash symbol on a teletype
My issue is a bit unusual, so I want to provide a short background. I was looking at old winners of the International Obfucated C Code Contest, and came across an entry written for the PDP-11 (the ...
3
votes
1answer
157 views
Preserve scroll on Linux console switch [duplicate]
Possible Duplicate:
How do I ensure that a terminal remains scrollable?
I've configured really sweet keystrokes for switching between, and scrolling in, a tty (the Linux console). But, as ...
3
votes
0answers
167 views
stty before login
We've got some HP-UX Integrity VMs that are difficult to log in to at the console because the KILL character is set to @, which also happens to be a component of some passwords. Now I know we can get ...
2
votes
0answers
579 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 ...
3
votes
2answers
192 views
why slight delay after failed login in tty [duplicate]
Possible Duplicate:
Why a wrong password gives a big delay
Whenever I mistype my password when logging in in a tty, I have noticed that I have to wait for a second before I'm able to log in ...
1
vote
1answer
124 views
Need help on setting up tty autologin on FreeBSD
I was trying to setup tty auto login for FreeBSD, I copied the P|Pc|Pc part and made a change:
Pcal console:\
:al=root:ht:np:sp#9600
And modify the tty for ttyv0:
ttyv0 "/usr/libexec/getty Pcal" ...
2
votes
1answer
114 views
Security drawbacks of disabling tty password check
I found that, in /etc/inittab, this modification (-a username) for the user u disables the login/password check for all tty:s:
1:2345:respawn:/sbin/getty -a u 38400 tty1
2:23:respawn:/sbin/getty -a u ...
1
vote
1answer
94 views
How to disable messages in unix if mesg and chgrp not allowed?
This is one of my questions for my exam ..
We are not supposed to use mesg y/n for this but we should effectively avoid mesgs along with the problem of not being able to change groups.
1
vote
1answer
244 views
Graphics on boot like the backtrack linux or the Gentoo live DVD after you press alt+F1 on boot
Would like to find a good tutorial on how to make a boot splash similar to the one on backtrack {3,4,5}. It has all of the terminal text that you would see on a normal boot up but it has a nice ...
5
votes
1answer
704 views
Cannot switch to TTYs or back
I just upgraded to Mint 13 - KDE x64
I am unable to switch to ttys by using the CtrlAltF1 .. F6 keys. The gettys are running and I can switch to the terminals with the sudo chvt 1 command.
I have ...
0
votes
2answers
255 views
is it possible to run job in foreground after user logout
I have some job to run which need be attached to terminal (or in foreground). The job is run in remote servers, and needs keep running after the users logout. I am aware of vnc server, however, I want ...



