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

learn more… | top users | synonyms

2
votes
1answer
1k 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 ...
1
vote
0answers
15 views

Editing missing characters in some charmap/keyboard

I use the abnt2 layout on my american keyboard, but the backslash key \ is missing. How can I remap some glyph to an unused key or combination (eg. CtrlAltE or AltGrE)? I knows only that /usr/share/...
0
votes
1answer
705 views

How can I spawn a TTY text virtual console?

Due to (what I think is) some sort of bug on the Linux version (Kali v2.0) of my remote computer, my TTY text consoles do not start until I locally sit on the machine and press CtrlAltFn. I use to ...
9
votes
4answers
10k views

Why are my virtual consoles completely blank?

When I go from my graphical session to a virtual console by Ctrl + Alt + F i (with i in 1 - 7 and 9-12) I see a completely black screen. Only on F8 I see the GUI. Not even a blinking coursor on the ...
1
vote
1answer
44 views

Using shared serial modem

I'm trying to use on Solaris box modem connected to Linux box via serial port. Sharing is made from socat. Server command(linux): socat tcp-l:54321,reuseaddr,fork file:/dev/ttyXXX0,nonblock,...
3
votes
1answer
118 views

How do I start tty from the command-line?

I would like to know what command launches tty from the command-line. I would like to know as I am using Plasma 5 and am fiddling around with my keyboard shortcuts and if I know what launches tty from ...
0
votes
1answer
1k views

rs232 to usb not working

I also asked this question on AskUbuntu but there nobody comments on it I have a konig rs232 serial to usb adapter (no FTDI chip), but when I try to connect to a cisco switch/router (via Putty, ...
0
votes
1answer
96 views

Set tty1 as default

I am using vinoth@vinoth:~$ uname -a Linux vinoth 3.2.0-4-amd64 #1 SMP Debian 3.2.63-2+deb7u1 x86_64 GNU/Linux Question is: If I boot my system, I am getting tty7(GUI) by default. How to change ...
0
votes
1answer
1k views

Systemd hangs before TTY during boot in archlinux

systemd of my archlinux hangs since this morning without any error message and before TTY. So, I cannot use Ctrl+Alt+F1. The last thing I see is Reached Target Bluetooth. But everything looks fine ...
1
vote
1answer
138 views

MacOS terminal ssh input buffer size

I am trying to cut-paste some switch config over an ssh session from my mac. It seems to start mangling it after a set buffer size. Surely cut-paste buffer is large enough, since I can cut-paste just ...
4
votes
1answer
412 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 ...
3
votes
2answers
354 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 ...
2
votes
3answers
322 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 ...
0
votes
1answer
199 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
1answer
149 views

How are virtual consoles related to traditional computer terminals?

This is extracted (with some rewording) from Computer terminal and virtual console, which has been closed with a hatnote linking to What is the exact difference between a 'terminal', a '...
2
votes
1answer
197 views

How can I live-change the TTY rows and columns?

This is a question about Linux running on a Compulab device named Utilite Pro, but I think it is worth the price to ask this question here to get it solved for any platform (if possible). I use ...
34
votes
4answers
5k 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 ...
4
votes
2answers
3k views

256 color in Linux console

I have in my .bashrc export TERM=xterm-256color but this cause blinking all colored text (ls --color, in vim etc.) in a Linux console (Ctrl+Alt+F1). So is there any possibility to recognize in ...
0
votes
1answer
151 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 ...
4
votes
1answer
118 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 ...
4
votes
5answers
1k 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
0answers
38 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 ...
1
vote
2answers
130 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
81 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
74 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, ...
14
votes
2answers
52k views

Can I change the font of terminal?

I have a Unix-like OS installed without desktop. Is it possible to change the font of the terminal?
1
vote
1answer
998 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 ...
17
votes
5answers
5k views

Get ssh to forward signals

I want to be able to send signals (SIGINT is the most important) through ssh. This command: ssh server "sleep 1000;echo f" > foo will start sleep on server and after 1000 seconds it will put 'f\...
5
votes
4answers
13k 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 ...
5
votes
2answers
569 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?
6
votes
2answers
3k views

Return to X session after Ctrl+Alt+F1

What is the command to return to the graphical desktop after entering the terminal mode with Ctrl+Alt+F1? I need it for operating my Raspbian.
1
vote
1answer
266 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?
3
votes
1answer
268 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
2answers
1k 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
0answers
125 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 ...
5
votes
2answers
3k views

Best way to set serial port speeds on boot?

I've got instruments hooked up to /dev/ttyS1 through ttyS9 on a machine running Debian Wheezy. The various instruments communicate at various speeds. Is there a better way to set the baud rates than ...
0
votes
1answer
250 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 ...
2
votes
2answers
2k 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 ...
2
votes
2answers
1k 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: ...
2
votes
1answer
243 views

Block TTY echo to display

I have a minimal Ubuntu as a Linux server. It starts many scripts on startup. That is okay, but I want to disable tty1 to echo everything to display. When I start this server, a login prompt is ...
18
votes
2answers
6k 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 ...
2
votes
1answer
352 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 ...
2
votes
0answers
276 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
515 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
180 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 ...
14
votes
7answers
15k views

How to stop cursor from blinking

How do I make the cursor stop blinking when in a TTY? (or anywhere else). BONUS Points for one universal setting that stops the cursor blinking almost everywhere.
0
votes
4answers
514 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 ...
3
votes
3answers
432 views

USB device to be detected at the “same” /dev point always?

In Linux (actually I'm with CentOS v6.5), whenever I plug in my USB Terminal/Character Device (some kind of USB Adapter) for the first time (after booted), it is detected at: /dev/ttyUSB0 But ...
0
votes
1answer
268 views

systemd with 10 ttys and Desktop on Ctrl+Alt+F5

I am running systemd on ArchLinux. I have read various posts of doing this but it seems impossible (i.e. I am incompetent in implementing this:)) ). I want to disable the on-demand tty spawning of ...
1
vote
1answer
86 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", ">&STDERR",...