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

learn more… | top users | synonyms

0
votes
1answer
22 views

Sudo Apache, with command line ? (not visudo)

I have visudo-edited /etc/sudoers this way: User_Alias APACHE = www-data Cmnd_Alias FIREWALL = /sbin/iptables, /sbin/ifconfig, /sbin/route APACHE ALL = (ALL) NOPASSWD: FIREWALL (To allow php ...
3
votes
1answer
36 views

Why do the terminal attributes look different from outside the terminal?

If I open up a terminal (xfce4-terminal 0.6.3, but I doubt it matters) and I look at what terminal attributes are set (BASH is running in the terminal), $ stty -a speed 38400 baud; rows 24; columns ...
1
vote
2answers
38 views

Different behavior of tty's vs pty's

If I do man bash inside of X, e.g., in xterm or mate-terminal, I get some words underlined. If I do man bash in a virtual terminal, I get those same words colored. Can I get the same coloring in X? ...
0
votes
0answers
7 views

Zenity, how to manage cryptsetup prompt?

With Zenity, I display a progressBar and install/config many stuff on a Linux Mint (Debian) computer. I had to avoid any prompt. But one step prompts Enter a passphrase:, this is cryptsetup ...
0
votes
1answer
16 views

How to automate cryptsetup-luksAddKey with passphrase?

Context: I replaced my passphrase prompted at launch by a keyfile, stored on a USB dongle. My question concerns the step: # cryptsetup luksAddKey /path/to/mykeyfile . I generated my added key ...
1
vote
2answers
38 views

Execute command inside another command

I'm trying to record my tmux session. I've got an alias record-session which executes command from ttygif ttyrec ~/ttygif/files/last-session. As far as I understand ttygif starts new terminal instance ...
0
votes
1answer
23 views

Ctrl+Alt+F2 doesn't switch TTYs on laptop

I'm unable to switch ttys using Ctrl+Alt+F2; nothing happens. Is there some other way to switch? Is there a problem with the keymapping? And how do I fix that? I'm on a US Lenovo X1 Carbon if that ...
1
vote
0answers
12 views

U-Boot: Changing TTY columns and rows for virtual consoles

Having installed GRUB as boot manager allows the operating system (Linux) to boot on specific video mode so the TTY virtual consoles change its columns and rows (width and height). For example, ...
1
vote
1answer
69 views

Sending serial commands with echo vs screen session

I have a small LED matrix controlled by a display driver that accepts serial commands to update the display. I'm successfully controlling it via node with the node serial package, however I'd like to ...
2
votes
0answers
52 views

How to use tty allocation to run GPG through SSH?

I am trying to encrypt and sign a local file using a distant GPG installation via SSH: pv file | ssh -tt [ssh server] gpg -se -r [receipt key] > file.gpg Using the double t option removes the ...
1
vote
0answers
20 views

How do I use the “screen” command if I don't know what the ps or tty the program came from?

I am making a python program that launches on bootup, and I would like it so that I can interact with that program via the "screen" command, so that if I need to talk to the progarm via a different ...
5
votes
2answers
83 views

Why does password prompt lag slightly after typing the username in tty?

I have a this kind of behavior & I don't know how to fix it or even how to search a fix for it since I don't know how would I even call it. Here's what's happening: The first time I boot, when I ...
0
votes
0answers
47 views

debian jessie: how to automount from tty1?

[Note: before you mark this a duplicate: There are several similar-looking questions in this stackexchange (which did not show before creating this question--one seems to get much better matches in ...
0
votes
2answers
120 views

Black screen when I move from X session to tty session

I've the ATI proprietary drivers. When I power on the computer and I do the login all works well, but when I run xorg I can't change tty or exit from xorg because if I try I see only a black screen ...
1
vote
1answer
64 views

Mocking a pseudo tty (pts)

We would like to run some curses based apps in background. These apps use curses and get the current tty port name to be used internally to map log files and others context-terminal associations. ...
0
votes
1answer
43 views

Difference between tty and ttyS and pts and vcsa? [closed]

I can't understand what is difference among tty, ttyS, pts and vcsa? Are they same? when we connect a serial cable to a server which hosts unix-like operating system, which ones of these type of ...
1
vote
1answer
51 views

TTY/Console Wallpaper Arch Linux

How can I set a wallpaper for a TTY/console (also during boot) on Arch Linux like done on OpenSUSE? I think a Kernel recompile is needed?
2
votes
0answers
83 views

Where EOF character is processed when it sent over telnet connection

Lets suppose I am connecting to telnet server, where bash is running. I am executing comand "cat > /tmp/qqq"; typing some contents of a file and finally sending 0x0a 0x04 which meant EOF. The ...
1
vote
1answer
106 views

ttyUSB0 serial port crashes and locks, requires computer reset

I posted this question on stack overflow already but after looking up similar questions I realized this is a much better place for it (and it only got 8 views after 10 hours on a Sunday). If necessary ...
1
vote
1answer
69 views

TTY control characters sent to stdin of sh doesn't work

I tried to develop a remote app that launches sh and resends an incoming data there, and found that some special sequences don't work. So, for testing purposes, I launched on my desktop sh, then ...
0
votes
4answers
152 views

“emacs: standard input is not a tty”

I followed http://unix.stackexchange.com/a/43460/674: after $ locate -i linux | less I type g|$emacs - in less, but nothing is opened in Emacs, and the terminals says: emacs: standard input is not ...
0
votes
0answers
133 views

One single /dev/ttyACM for multiple composite devices (USB-Serial) connected to a hub

When I connect multiple composite devices to a USB hub, and then connect the hub to my laptop(running Fedora 21), I can see only one /dev/ttyACM* file. When I connect these devices directly into ...
1
vote
1answer
42 views

setpgrp causes tty gone

When using setpgrp vi (and other tty programs) work completely different than if setpgrp is not used. Example: perl -MIPC::Open3 -e '$pid= open3("<&STDIN", ">&STDOUT", ...
5
votes
2answers
157 views

Name of the font used in Linux Console (TTY)

What is the name of the font that is used in Linux Console TTY 1-6?
0
votes
0answers
27 views

interceptty error message

I want to listen to a certain device on my linux system. therefore I am using interceptty. When I call: mv ttyO0 ttyO0-orig and then ./interceptty -o ttyO0.out /dev/ttyO0-orig /dev/ttyO0 & I ...
2
votes
2answers
224 views

reading /dev/ttyUSB0

I'm trying to see the output of an accelerometer with Ubuntu (15.04), kernel 3.19. The UART driver is cp210x.ko, and the chip of the accelerometer is MPU6050w. So, when I plug the device, I have this: ...
3
votes
0answers
94 views

Start application using xinit on different tty

I'm using Fedora 21, trying the following: On tty1 is running KDE, just as normal. But to speed up my games/avoid them changing something like gamma, I want to run them on a differnt tty, starting a ...
3
votes
1answer
111 views

Using named pipes to send keypresses to an interactive program

I have a program, mpg123, which has an interactive mode that allows keyboard commands from stdin to do useful things such as control volume. I am trying to start up mpg123 so that it reads commands ...
4
votes
2answers
592 views

How do I permanently change the console TTY font type so it holds after reboot?

I'm running Ubuntu 15.04 64-bit Desktop Edition (A Debian based Linux). I used sudo dpkg-reconfigure console-setup from the command line to change the default console font type to Terminus. ...
3
votes
2answers
77 views

Remove data from the STDIN stream buffer of another TTY session

I encountered a problem the other day while running multiple tty sessions in separate terminal windows. I was running a expensive disk access command and was waiting for it to return. Meanwhile I was ...
0
votes
1answer
161 views

Why does GDM start in TTY2 and TTY7

I have Ubuntu 15.04 and GNOME 3.16 installed. This PPAs are enabled: deb http://ppa.launchpad.net/gnome3-team/gnome3-staging/ubuntu vivid main deb http://ppa.launchpad.net/gnome3-team/gnome3/ubuntu ...
0
votes
1answer
68 views

Linking two hardware serial ports

I have two micro-controllers which are connected to my computer(ubuntu 12.04) through serial-USB cables. One of the controllers (ttyUSB0) is programmed such that it sends data serially and another ...
1
vote
0answers
39 views

Setting custom baud rate on console

Just for aesthetics I would like to have my text on my console be displayed at a lower speed. I've tried using things like screen with custom baud rates of /dev/tty1 but it wouldn't work, input from ...
1
vote
1answer
64 views

tty problem: binary mess instead of “text good data”

I am trying to use a GPS over moxa Uport 1110 usb-to-serial device. The driver of UPort was installed OK, and GPS sends NMEA (text) data. However, when I issue command cat /dev/ttyUSB0 my terminal ...
0
votes
1answer
49 views

What is a UART port

I have a .fex file for Cubietruck. Supposedly, the bluetooth pins are defined in the uart_para2. With the current config, I have uart0 and uart2 enabled, and everything else is disabled. Bluetooth ...
1
vote
2answers
145 views

How are long command lines ( > $COLUMNS ) automatically wrapped to a new line?

There are several points where I/O is passed through, some of which (to my knowledge) are the shell, pty, tty, termios, terminal emulator application. In most terminal emulators, long command lines ...
1
vote
1answer
78 views

_Robust_ bluetooth serial port console/tty

I've managed to create and connect to a console via bluetooth, as is described in many Q&A's FAQs Guides etc found via a google search. Briefly, in sudo mode, /usr/sbin/hciconfig hci0 piscan ...
1
vote
1answer
156 views

How do I change which monitor the TTY shows up on?

When I boot, or when I press CtrlAltF*, I am taken to a physical terminal/TTY. The problem is that the TTY shows up on my HDMI monitor, which is actually not even in the same room as me. Is it ...
0
votes
0answers
156 views

echo `“hello terminal” > /dev/terminal` - works for /dev/tty[2-5] but not for /dev/pts/n

I'm trying to get to know the input output systems of unix/linux systems better. Since terminals and devices are implemented to interface as ordinary files, I assumed I could on any desired terminal ...
0
votes
1answer
80 views

Is the PTTY inside the Kernel or Userspace?

I read, that drivers are a way to expand the Kernels abilities to communicate with hardware devices, since there are so many and will be even more the Kernel has to be expandable. In order to ...
2
votes
0answers
168 views

cat /dev/ttyS0 Input/output error

I created infrared receiver as in LIRC manual (http://www.lirc.org/receivers.html). And tested it on windows using program called Terminal. When I switched on RTS pin DCD pin was also switched on ...
0
votes
0answers
64 views

Does udev only check for matches on the first remove event?

ACTION=="add|remove",SUBSYSTEM=="tty", ATTRS{idVendor}=="XXXX", ATTRS{idProduct}=="XXXX",SYMLINK+="device", RUN+="/home/alvin/udev/test.sh" This is the command that works on add ...
1
vote
1answer
122 views

What decides where TTY and boot messages are displayed?

I recently switched from Fedora 21 to Arch Linux, and one thing that bothers me is that Arch does not put boot messages and TTYs' on all available outputs like Fedora does, but only on the primary ...
1
vote
2answers
257 views

Redirect script output to /dev/tty1 and also capture output to file

I want to display text output on the console that is always displayed on a small screen on my Raspberry Pi. The following code works for showing that text output: cd ...
1
vote
1answer
54 views

Saving colored output regardless of the source

How can I save colored output to a file regardless of the source when the sources turn coloring off if they detect their stdout isn't a terminal?
1
vote
0answers
61 views

how to copy files using TTY teminal from one pc to another connected through same home network

In my academic lab my friend copied files from one computer to another that were serially connected using the tty4. How could he have done this if there was no internet and he didn't install any new ...
1
vote
0answers
114 views

Fedora 21 VT Change Hangs

On Fedora 21, I have LightDM and i3 installed. When I switch to tty2 and do a bit of work then switch back, my laptop hangs. I am using Intel HD Graphics 4600. Thanks UPDATE now it sometimes ...
4
votes
2answers
194 views

How to get the real name of the controlling terminal?

How can one get the real name of the controlling terminal (if there is one, else an error) as a pathname? By "real name", I mean not /dev/tty, which cannot be used by other arbitrary processes to ...
0
votes
0answers
75 views

Kernel loglevel and console manipulation

I want to have two console kernel arguments, one /dev/tty2 for screen and one /dev/ttyAM0 for serial debugging. I can achieve that simply with: console=ttyAM0,115200 console=tty2 I want /dev/ttyAM0 ...
1
vote
1answer
34 views

Stop interface name iteration?

I have a device that comes up as ttyACM0, however every time it is reset it iterates, so next time it will come up as ttyACM1 etc. Where might this lock be located so that I can remove it? I'd like ...