dot/mykermrc.in: Add a macro for talking to an Arduino-ish USB monitor port.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 24 Jan 2018 11:22:53 +0000 (11:22 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 24 Jan 2018 11:24:25 +0000 (11:24 +0000)
Such things have rather transient serial devices which need to be
reopened every time.

dot/mykermrc.in

index fab7427..029dd3a 100644 (file)
@@ -123,6 +123,17 @@ def FENDERCON {
        set control prefixed 30
        connect
 }
+def ARDUINO {
+       set terminal lf-display crlf
+       set line \%1
+       set speed 9600
+       set serial 8n1
+       set modem type none
+       set carrier-watch off
+       set clear-channel on
+       connect
+       set line
+}
 
 ;; Local configuration.
 if exist \m(_dot)config take \m(_dot)config