From: Mark Wooding Date: Wed, 24 Jan 2018 11:22:53 +0000 (+0000) Subject: dot/mykermrc.in: Add a macro for talking to an Arduino-ish USB monitor port. X-Git-Url: https://git.distorted.org.uk/~mdw/profile/commitdiff_plain/4ab0883418dd3e94ce8782cef21219a89d74d867 dot/mykermrc.in: Add a macro for talking to an Arduino-ish USB monitor port. Such things have rather transient serial devices which need to be reopened every time. --- diff --git a/dot/mykermrc.in b/dot/mykermrc.in index fab7427..029dd3a 100644 --- a/dot/mykermrc.in +++ b/dot/mykermrc.in @@ -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