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

learn more… | top users | synonyms

4
votes
1answer
77 views

What does '?' represent under TTY

If you run ps in your terminal, you may see something like the following: What is ?? I'm ssh'ing into a Linux server, so I assume that it's just the sshd as it says under CMD, but I'm curious what ...
0
votes
0answers
9 views

Garbled font on tty1 (but not tty2-6) after booting

Running the latest OpenSUSE Tumbleweed, near the end of boot tty1's font gets completely scrambled (see the picture below). It's fine until shortly after mounting /, and the other ttys work just fine. ...
3
votes
0answers
29 views

slow file transfer through serial port with cat

I'm transferring a binary file to an embedded device using a custom AT command set. I'm running Lubuntu Linux on a virtual machine (Windows 7 host) and the virtual linux guest controls the physical ...
0
votes
0answers
26 views

Fresh Arch Installation - Terminal text completely unreadable just after boot

Update: Added additional text to identify which images are merely blurry, and which depict fubar text. My laptop is a Toshiba CB35-B3340. Also called a Chromebook 2, with part number PLM02U-009008. I ...
1
vote
1answer
20 views

Can't remove ttyS0 from /etc/securetty

Running RHEL6.6. Been trying to secure the system, and am having difficulty disabling root logins over the serial connection. My understanding is that I need to comment-out/remove the ttyS0 line, ...
2
votes
1answer
52 views

Strace output not showing system call

I am reading the source code of coreutils and I came to read tty.c code. Main function of tty is as follows: int main (int argc, char **argv) { char *tty; int optc; initialize_main (&argc, ...
0
votes
1answer
89 views

Accessing Console Of Ubuntu 16.04 KVM Guest

When I added Debian 8 to my KVM management tool, I found that I could not access the console unless I added console=ttyS0 to the grub boot configuration. It wasn't great but it worked. I am in the ...
0
votes
2answers
60 views

Gap between two characters writing message over RS485

I am using an ATMEL embedded controller (at91sam9x25e) and its serial port to send/receive over RS485 Modbus RTU. Normal communication works fine, but sometimes - when writing - some packages are ...
27
votes
3answers
1k views

Do programs run from an ssh session depend on the connection?

Does a program that is run from an ssh session depend on the connection to the client? For example when the connection is really slow. So does it actively wait until things are printed on the screen? ...
1
vote
0answers
21 views

MOZREPL output showing up in terminal window

I have a very a annoying problem. I've using Mac Terminal over SSH to write Perl script with vim on a local virtual Debian machine. The Perl script uses the WWW::Mechanize::Firefox module which in ...
0
votes
2answers
41 views

tty, console prompt customization?

My Arch based system directly boots to tty and i never use x system or gui. I want to change prompt or whatever which looks like [root@0 ~]#. I want to change it to current time 12 hours format and no ...
4
votes
2answers
63 views

Tool to watch other ttys for linux?

BSD systems have a neat watch tool for snooping other ttys : Have you ever had a user login to your box and then ask you for help? Or have you ever been curious as to what your users are doing on ...
1
vote
1answer
76 views

How to get pinentry-curses to start on the correct tty?

I use gpg-agent for managing both PGP e SSH identities. The agent is started with a script like this gpg_agent_env="$XDG_CACHE_HOME/gpg-agent.env" export GPG_TTY="$(tty)" if ! ps -U "$USER" -o ...
1
vote
0answers
60 views

Unable to get login prompt on /dev/ttyUSB0

I am attempting to connect a TI-89 graphing calculator as a serial terminal to a Raspberry Pi running the latest version of Raspbian. The calculator is emulating a PL2303 serial adapter at /dev/...
1
vote
1answer
23 views

Find out if ctrl+backspace equals ctrl-H or ctrl-?

This question was about how to delete the last word in bash with ctrl-backspace. As already mentioned there, different Linux distros (or different Unices in general) behave differently: Some produce ^...
1
vote
2answers
72 views

Why does SCP fail when “RequestTTY force” option is enabled?

In my SSH config file, I have to enable the RequestTTY force for some important reasons. And currently my config file looks like this: Host x.x.x.x HostName yyyy StrictHostKeyChecking no ...
1
vote
0answers
34 views

Forward stdout to different tty

I have an external device, that I can send commands to, and it would respond in a certain way. For this I use two terminals, one sending the commands and one listening to the response. At some point I ...
0
votes
1answer
17 views

dmesg -n7 has no effect in virtual terminal

When I type dmesg -n7 in console (ie when I switch to tty1 using Ctrl+Alt+F1) I can see all debugging messages (new disks plugged in, etc). When I type dmesg -n7 in virtual terminal (terminal ...
1
vote
1answer
41 views

Convert tty terminal output to plain text

I want to capture the text output of windows console app I run with wineconsole --backend=curses .... The app itself just uses boring stdio. Unfortunately, wine does a lot of escaping of the output, ...
1
vote
1answer
21 views

Reserve pts range for some users

Is possible to reserve pseudo terminal range ids for some users ? Consider an user which should get preferable (or exclusively) pts id from 500 to 600, other from 0 to 400, and so on.
1
vote
1answer
35 views

Linux console can't display any language other than English while the terminal under Gnome can

I'm still new to Linux and Unix-like systems and I've tried to search on the internet about my issue. Unfortunately I don't get a feasible answer right now. My problem is that the console(tty) on my ...
13
votes
5answers
696 views

How to get the tty in which bash is running?

In the second method proposed by this page, one gets the tty in which bash is being run with the command: ps ax | grep $$ | awk '{ print $2 }' I though to myself that surely this is a bit lazy, ...
0
votes
1answer
24 views

If ALT+Fn is not handled by line discipline, is it handled by TTY driver?

The keystrokes mapped to signals in line discipline can be viewed by stty -e. The output is ALT+Fn keystroke is not in the list. So, is the keystroke handled by TTY driver? I read that line ...
0
votes
1answer
57 views

What part of TTY subsystem control the active /dev/ttyN (TTY device driver N)? [closed]

TTY subsystem contains TTY driver, line discipline and hardware drivers (keyboard driver, display driver). Let's say I use a virtual terminal/console. So, my current session uses /dev/tty1 (TTY driver ...
0
votes
0answers
30 views

Attach framebuffer console(yaft) to existing tty(of own script)

I currently try to fiddle around with my android init ramdisk. One problem I'm currently trying to debug is that ADB in my new init won't start. The script works fine otherwise though, I used fbsplash ...
1
vote
1answer
90 views

How to login to an ssh server and capture prompts programmatically?

I'm attempting to write a script that will login to a remote server via ssh, without popping up a password prompt to the user (the remote server is not under my control, and they won't allow me to use ...
0
votes
0answers
60 views

No RC messages at the start between kernel loading and login prompt

I have a 4.3.2 kernel and OpenRC 0.19.1. After the kernel loads there is no messages from the RC scripts. And then, there is the prompt to log in. There is another system with identical rc.conf and ...
2
votes
0answers
86 views

How to send AT commands to serial interface in Yocto Linux?

I have a XBee device attached to the ttyMDF1 interface on an Intel Edison board running Yocto linux. I need to configure the XBee by sending AT commands to it. I have tried to open a getty /dev/...
1
vote
2answers
163 views

What is the default virtual terminal font?

From the Arch Wiki: By default, the virtual console uses the kernel built-in font with a CP437 character set, but this can be easily changed. I actually prefer this font over the default '...
1
vote
1answer
317 views

Arch Linux boots to tty1 by default instead of tty7 after update

I updated the system 2 days ago and now realised a startx systemd script failed to start. This is seems to be caused by the fact that Arch booted into tty1 by default. Switching to tty7 and restarting ...
0
votes
1answer
31 views

Suppress console output when switching runlevels

Is there any way to silence the output that occurs on TTY1 when switching runlevels? I'm talking about the output like in the following image: I have a simple UI that may be running on TTY1 when ...
0
votes
1answer
31 views

screen compared to opening virtual consoles

I'm not sure If I have my terminology correct here so please bare with me. When pressing CTRL + ALT + f1-f7 to change virtual terminals, how is this different from using the linux command line tool ...
1
vote
0answers
77 views

Verizon LG VL600 USB 4g Modem

I am trying to connect an LG VL600 USB 4g Modem from Verizon on a Debian based machine (tried on Linux Mint and Raspberry Pi). I got it working on Windows 7 Virtualbox VM so I know the device and ...
0
votes
0answers
9 views

Texas TI RFID Reader Hardware

[ 7598.927163] usb 1-1.3: USB disconnect, device number 10 [ 7636.541074] usb 1-1.3: new full-speed USB device number 11 using dwc_otg [ 7636.646870] usb 1-1.3: New USB device found, idVendor=2047, ...
0
votes
1answer
55 views

Why not display characters which I typed in tty? [duplicate]

I pressed CtrlAltF1 to enter TTY1. I worked a while mainly on vim, then my shell (bash) stops echoing. If I type echo abc it does not get display. Instead I get a screen like this: How do I fix ...
4
votes
1answer
804 views

How to run builds in Docker containers from Jenkins

I am trying to use Jenkins to build a C++ project in a Docker container. I have no problem building in Jenkins, or building in a container outside of Jenkins. Below is what I tried. I am omitting the ...
3
votes
1answer
56 views

How can I force the console to output to something other than the framebuffer?

I recently recompiled my kernel to support the vesa framebuffer for some Directfb fun but now my console outputs text very slowly. It's almost as if turning on the framebuffer caused my console to ...
0
votes
1answer
54 views

tty works, but cannot run programs

So, I went poking around at /dev/ttyS0 and /dev/ttyUSB0, trying to get some ham radio accessories working, and broke it. ttyS0 controls the radio transmission, and if I run cat /dev/ttyS0 as the ...
3
votes
2answers
150 views

What are the keyboard shortcuts for the command-line?

I'm talking about the keyboard shortcuts that you use in command-line/terminal. Example: Ctrl+c that kills the process, Ctrl+d that logout, Ctrl+z that send process to background... etc. I've tested ...
0
votes
0answers
68 views

QEMU kernel panic to serial port

I'm working with kernel 2.6.13.1 on Debian 6 with QEMU/KVM for a class. The kernel, once installed, panics on boot. The curses interface to qemu doesn't seem to allow scrollback to view the entire ...
2
votes
2answers
50 views

What do these arguments to the login command do?

Was reading this article about automatically logging into a raspberry pi and they say to use this command: 1:2345:respawn:/bin/login -f pi tty1 </dev/tty1 >/dev/tty1 2>&1 After going ...
2
votes
2answers
141 views

linux - disable all video output

I have a server I would like to disable the video output entirely on to save any memory unless I have a severe issue I need to be physically in front of it. The server does not have a graphical ...
2
votes
1answer
405 views

256 colors in console (tty)

Suppose, I have a system without X server. I can only log in from the console. It seems, by default linux console supports only 8 colors: # tput colors 8 Is it possible to use 256 colors in the ...
1
vote
1answer
50 views

How to configure agetty to autologon on only one terminal

Running ubuntu server, I've reconfigured /lib/systemd/system/getty@.service to [Service] # the VT is cleared by TTYVTDisallocate # ##ADDED THIS HERE## ExecStart=-/sbin/agetty -...
0
votes
1answer
147 views

NixOS no login prompt in virtual terminals

I have NixOS built using 15.09 channel, session manager is sddm, display manager is KDE 5. Switching to virtual ttys from 1 to 6 gives me no login prompt, I see same piece of log everywhere: <<...
1
vote
2answers
199 views

Why does the following shell sequence ends so quickly?

Let be the files com and fic whith the access rights defined in the following shell sequence: $ cat com if tty>/dev/null then read x else read x<fic fi echo $x $ cat fic abcd $ ls -l ...
7
votes
1answer
1k views

bash: no job control in this shell

I have a minimal Linux system. init is /bin/bash, only bare minimum of libraries in /lib/, /dev/ is populated statically, no daemons running (no udev, ..) When bash starts, I get following error: ...
3
votes
0answers
38 views

Why only 4 chars get sent to serial port via command-line

I'm trying to communicate with NodeMCU (CP210x USB/UART) from command-line. However it does not respond to my commands. I have set the correct baudrate via stty 9600 raw. echo "gpio.write(0,gpio.LOW)"...
2
votes
1answer
68 views

Return to GUI from text console with many X11 servers?

I know the thread How to get out of TTY and into X session apparently about similar thing as here, and Command line to return to the GUI after Ctrl-Alt-F1 about chvt. I have Ubuntu 14.04 LTS. I run ...
0
votes
1answer
87 views

Running SSH command from PHP gives sudo: no tty present and no askpass program specified error even though NOPASSWD settings are done

I am using LAMPP to run apache server. From a php file I am executing a python script which executes ssh, scp commands. But I am getting error: sudo: no tty present and no askpass program specified ...