Tom <
tdenh...@gmail.com> wrote:
> I am running Ubuntu and trying to make a script to automate a way to
> send commands to a serial device.
> I need to toggle the device with ^S004AUX0 (off) and ^S004AUX1 (on).
> I'm able to connect like so:
> #!/usr/bin/kermit +
> set modem type Serial ; There is no modem
> set line /dev/ttyUSB0 ; Specify device name
> set carrier-watch off ; If DTR and CD are not cross-
> connected
> set speed 9600 ; Or other desired speed
> set flow xon/xoff ; If you can't use RTS/CTS
> set parity none ; (or "mark" or "space", if
> necessary)
> set stop-bits 1 ; (rarely necessary)
> connect ; this is where I get lost on the
> automation and have to enter manual.