Package: socat
Version: 1.7.3.3-2
Severity: normal

I use a wrapper script around `socat` to neaten the process of
connecting the terminal to a USB serial port:

  $ socat-serial /dev/ttyUSB0
  > socat -,cfmakeraw,escape=0x0f,icrnl 
/dev/ttyUSB0,cfmakeraw,b19200,cs8,parenb=0,cstopb=0

In a previous version this worked fine.

`cfmakeraw` is supposed to set the terminal into char-at-a-time mode,
sending every keypress as it happens. This does not happen any more;
instead it sends only an entire line after I press ENTER.


As a workaround I can apply

  (stty raw; socat ...)

which puts the terminal into raw mode beforehand.

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 
'testing-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.2.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages socat depends on:
ii  libc6      2.29-3
ii  libssl1.1  1.1.1d-2
ii  libwrap0   7.6.q-28

socat recommends no packages.

socat suggests no packages.

-- no debconf information


-- 
Paul "LeoNerd" Evans

[email protected]      |  https://metacpan.org/author/PEVANS
http://www.leonerd.org.uk/  |  https://www.tindie.com/stores/leonerd/

Reply via email to