summaryrefslogtreecommitdiffstats
path: root/lava-slave/scripts/cu-loop
blob: fbe5777bcce3effd4bb3f359a430788d72963715 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
DEV=$1
BAUD=${2:-115200}

while true; do
  # NOTE: needs cu >= 1.07-24
  # c.f. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=336996
  test -e $DEV && cu -l $DEV -s $BAUD --parity=none --nostop --nortscts dir
  sleep 0.2
done
: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */ }
[fmPresets]
1\frequency=76100000
1\title=Inter FM
2\frequency=77100000
2\title=The Open University of Japan
3\frequency=80000000
3\title=TOKYO FM
4\frequency=81300000
4\title=J-WAVE
5\frequency=82500000
5\title=NHK FM Tokyo
size=5