Questions tagged [tty]

For questions related to terminal drivers and the behaviour of terminals for Unix and related systems.

The tag should be used for questions related to terminal drivers and the behaviour of terminals for Unix and related systems (Linux, BSD, Solaris, AIX, HP-UX, MacOS X, etc). Sometimes, this is related to or or .

Example questions:

972 questions
-1
votes
1 answer

Serial port read/open error in C, Linux

I am having trouble selecting correct settings for the serial port to be opened. Information I have is the following: Synchronization: Asynchronous method Communication method: Full duplex transmission Communication speed: 9600 bps (bits per…
kometonja
  • 437
  • 4
  • 15
-1
votes
2 answers

Access to the remote machine via terminal

How can I read the files and folders of a remote machine which I can ping? PING 172.17.0.4 (172.17.0.4) 56(84) bytes of data. 64 bytes from 172.17.0.4: icmp_seq=1 ttl=64 time=0.114 ms 64 bytes from 172.17.0.4: icmp_seq=2 ttl=64 time=0.122 ms 64…
VPaskar
  • 667
  • 1
  • 6
  • 13
-1
votes
1 answer

Delete cannot erase chars under the cursor on my terminal

Instead, I get a ~ character. But I have set the delete key as follows: speed 38400 baud; rows 47; columns 91; line = 0; intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = ; eol2 = ; swtch = ^Z; start = ^Q; stop = ^S; susp =…
Pan Ruochen
  • 1,990
  • 6
  • 23
  • 34
-1
votes
2 answers

Reduce verbosity of remote commands when using fabric

When using fabric I sometimes get output like this from programs like apt, git, and others: [tfb@192.168.59.103:49369] out: Receiving objects: 6% (3318/55289) [tfb@192.168.59.103:49369] out: Receiving objects: 7% (3871/55289) …
Hamy
  • 20,662
  • 15
  • 74
  • 102
-1
votes
1 answer

'ruby-dbus' in TTY terminal

i have the next code: #! /usr/bin/env ruby require 'dbus' bus = DBus::SessionBus.instance If i execute this code from desktop, it's fine. But if i execute the code in a TTY1-6 terminal i get this…
Madh
  • 131
  • 1
  • 12
-1
votes
1 answer

SSH connection issue on EC2

I have a really annoying problem with my server, even I couldn't find any search term to google it. Let me explain it. on my server I can connect to ssh using with ip address it is ok. ex : ssh -p2222 ubuntu@xx.xxx.xxx.xx It is working. but I…
FZE
  • 1,587
  • 12
  • 35
-1
votes
1 answer

Why doesn't `ssh -t hostname_B.local -- zsh --interactive -c echo "this works"` work?

Why doesn't this work?: hostname_A ~ % ssh -t hostname_B.local -- zsh --interactive -c echo "this works" Connection to hostname_B.local closed. hostname_A ~ % Blarrrrrrfrustration.
Owen_AR
  • 2,867
  • 5
  • 20
  • 23
-1
votes
1 answer

ttyACM* ports on TS-7500 board running Debian

When I connect my Arduino Mini to my TS-7500 board running Debian (Linux ts7500 2.6.24.4), it doesn't show up as a ACM port. dmesg gives the following output [14090.3000] usb 2-1: new full speed USB device using str8100-ohci and address…
Bhanu Kiran
  • 645
  • 1
  • 8
  • 14
-2
votes
2 answers

linux terminal freezes script output when it is run as systemd script after some time

I'm just writing a program which should run on linux main terminal TTY1 as a "more interactive" replacement for plymouth. Everthing is ok. After one hour or two, the display freezed until any keystroke is pressed, lets for example assume that I run…
mpp
  • 11
  • 4
-2
votes
2 answers

ssh inside ssh with multiples commands

When I try more than one command to remotely execute commands through ssh inside other ssh, I get weird result. From man ssh: -t Force pseudo-terminal allocation. This can be used to execute arbitrary screen-based programs on a remote machine,…
-2
votes
1 answer

Changing the keybindings for virtual terminals in Raspbian Lite

When using a virtual terminal (TTY) on Linux, there are certain keybindings that are redundant on modern keyboards. For example, Ctrl+J and Enter do the same thing (Linefeed). I would like keys like Enter to retain their current mapping, freeing up…
Carl Smith
  • 3,025
  • 24
  • 36
-3
votes
1 answer

How to write read() with poll() functionality in kernel for tty driver?

In my driver module data is coming in callback function. I want to add data to read callback but not able to find read callback in tty structure
Pintu Patel
  • 143
  • 1
  • 5
1 2 3
64
65