Bug 224741 - "cu" does not honour "-h" flag for local echo i.e. half-duplex
Summary: "cu" does not honour "-h" flag for local echo i.e. half-duplex
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 10.4-RELEASE
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-bugs (Nobody)
Depends on:
Reported: 2017-12-31 01:56 UTC by dave
Modified: 2017-12-31 01:57 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description dave 2017-12-31 01:56:10 UTC
(Likely affects everyone who tries to use it)

Yes, Virginia, some devices still have a serial port...

aneurin% cu -h -l cuau0
can't open log file /var/log/aculog.
(Tap tap tappity-tap) => nothing echoed, but a response is received e.g. when typing "MDL<CR>":

MDL,UBCD396XT<CR>  (It's a Uniden UBCD396XT trunking radio scanner)

Type "POF" (for power off): no echo, but responds with "POF,OK" and *click* :-)

The serial port works because I can control something plugged into it, but not having anything echoed back, despite the "-h" flag, makes life a bit difficult.

Hardly a show-stopper I know, but it would be nice if something worked as documented.  No, I don't have source code, as the disk is too small, otherwise I'd fix it myself and submit a patch.