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

learn more… | top users | synonyms

1
vote
2answers
22 views

Debian dependencies for ttyecho

Which dependencies should have a debian package, which distributes the binary of ttyecho?
0
votes
1answer
18 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
21 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
5 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
31 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 ...
2
votes
0answers
30 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
20 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
40 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
108 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
16 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
44 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 ...
-1
votes
0answers
36 views

How to retrieve SSH remote data from a tty device via linux?

I have data coming from a device tty which is on a remote machine (via a SSH connection with IP:Port and a user:password to access it). Via PuTTy, I can log on to that IP and Port and put manually ...
2
votes
2answers
66 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
68 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
27 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
51 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 ...
6
votes
1answer
202 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
22 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 ...
2
votes
1answer
38 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
0answers
42 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 as sudo: no tty present and no askpass program ...
3
votes
1answer
69 views

How can I get systemd to use qingy as my default tty program instead of agetty (debian jessie)?

I'd like to use a different tty program than agetty on my debian jessie machine (specifically, qingy). The tty creation is controlled by systemd via the (auto-created as I understand) ...
1
vote
1answer
16 views

access to ttyusb0 as normal user

I am trying to access a serial device, which is attached as: "/dev/ttyUSB0". crw-rw---- 1 root dialout 188, 0 Nov 29 15:45 ttyUSB0 For that I created a new udev rule: SUBSYSTEM=="tty", ...
1
vote
2answers
26 views

How can I find all the files whose name starts with “tty” in the /dev directory with all the file informations?

How do I find all the files whose name starts with tty in the /dev directory? I'm a beginner and I don't know all the basics yet.
2
votes
2answers
53 views

Detecting shift + keyup/down in the terminal

How do I do this? I want a terminal menu where shift+up or shift+down selects multiple lines. ncurses seems to have problems. I don't necessarily need an advanced terminal library. I just want to ...
0
votes
1answer
47 views

How to turn off the monitor under TTY

Turning off the monitor should be a really simple thing, but it isn't. I know that under Xserver, we have xset tool which allows us to turn off the screen via the following command: $ xset dpms force ...
1
vote
0answers
22 views

xfce4-Terminal doesn't create a new pts session?

I'm running Openbox on Manjaro, and I've come across a peculiarity trying to use write and wall with some friends. I use xfce4-terminal as my preferred terminal emulator, and I was never able to get ...
1
vote
1answer
127 views

Take text “screenshot” of current terminal contents

I would like to, every 30 seconds or so, copy all text of a certain terminal or terminal emulator to a file, and display it in conky. I'm not talking about simple redirection (command > file), ...
7
votes
0answers
43 views

Why does 8250 UART driver not wake up TTY if more than 256 characters are pending?

What is the motivation of this if-condition in void serial8250_tx_chars(struct uart_8250_port *up)? if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS) uart_write_wakeup(port); It has been ...
2
votes
2answers
33 views

How do I write the output of Portage to a txt file?

I would like to be able to write the output of Portage commands, along with other commands, that I perform in tty (that is, the screen-wide terminals started with Ctrl+Alt+Fn where n represents an ...
1
vote
1answer
46 views

Adjusting keyboard delay in a TTY?

When using a TTY login shell by entering e.g. Ctrl-Alt-F1 on Debian Jessie. There is inhuman fast delay, specifically I think these values are correct (250ms) root@VB-NB-Debian:~# kbdrate Typematic ...
2
votes
0answers
179 views

How could a user log in via tty

I rented this cloud server, and it is kind of attacked recently. I can see a suspicious user logged in via tty. leetom@S152:~$ last -x ayn1 ayn1 tty1 Wed Oct 28 18:59 - ...
2
votes
2answers
36 views

Can a tty be made unkillable?

I used PuTTY to ssh into a linux machine from a windows machine and I was just messing about with the pkill command. I quickly found out that I could log out of a remote session by typing w to show ...
0
votes
1answer
66 views

How to use screen as a serial terminal with key emulation CR+LF auto mode

I would like to use screen as serial terminal but my output is not formatted well. I use this command: sudo screen /dev/ttyACM0 9600,cs8 thinking the configuration above is like 9600 8N1 with no ...
2
votes
1answer
33 views

How to prevent CTS from toggling each time a tty is opened or closed?

Each time I open() or close() a tty device file, the RTS line of the port is toggled off for a moment. This seems to happen even when hardware flow control is disabled with raw -crtscts. Is there ...
0
votes
2answers
61 views

How to echo tty1 after displaying an image via fbi?

I can echo to /dev/tty1: echo "hello" > /dev/tty1 I can display an image (while booting or not): fbi -T 1 -noverbose -a test.png I can display the image after printing "hello" to the ...
0
votes
0answers
14 views

Is there a way to deport gnome terminal output into a regular tty? [duplicate]

I was dist-upgrade my old debian wheezy from a gnome terminal in X and suddenly i got some display bugs. Basically i wasn't able to see the console and the upgrade anymore, impossible then to answer ...
1
vote
1answer
38 views

Safe to blank /etc/securetty?

Assuming one is operating in AWS and there are no ways to connect via a non-pts terminal, is it safe to blank the /etc/securetty file? Are there any possible unintended consequences? I can't think of ...
0
votes
1answer
138 views

Can fbterm support 256 colors?

I have Arch without X and want to make my console solarized. I think I can't do that in tty, so I had installed fbterm and tried to play with fbtermrc, bashrc etc. $ tput colors 256 $ ...
1
vote
0answers
11 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 ...
0
votes
1answer
341 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 ...
1
vote
2answers
1k views

fsck problem when booting Debian stretch

I tried to boot my PC and I had this problem fsck from util-linux 2.26.2 /dev/sdb6 contains a file system with errors check forced. /dev/sdb6: Unconnected directory inode 1076721 (/var/tmp/???) ...
1
vote
1answer
39 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 ...
3
votes
1answer
105 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
68 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
504 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 ...
0
votes
0answers
28 views

'Unbusy' terminals which will be logged out when TMOUT is reached

I would like auto-logout some terminal sessions with a TMOUT (timeout) configuration, but in that case the users leave a program opened for which the 'unbusy' sign is the ZERO I/O between server and ...
2
votes
1answer
107 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 ...
0
votes
1answer
113 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 ...
0
votes
1answer
94 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 ...