On 18/10/2021 14:42, Bill Somerville via wsjt-devel wrote:
Hi Bill,
It seems we are all as confused as each other although your suggestion
would work.
Mike just suggested:
[baz@localhost ~]# rigctld -v -Z -vvvvv -m 2003 -s 4800 -r /dev/ttyUSB0
-t 4532 --set-conf=serial_handshake=None --write_delay=5
rigctld: unrecognised option '--write_delay=5'
... and he writes this stuff ;) Sorry Mike :)
What does work is:
rigctld -v -Z -vvvvv -m 2003 -s 4800 -r /dev/ttyUSB0 -t 4532
--set-conf=serial_handshake=None,write_delay=5
OR
rigctld -v -Z -vvvvv -m 2003 -s 4800 -r /dev/ttyUSB0 -t 4532
--set-conf=serial_handshake=None write_delay=5
OR
rigctld -v -Z -vvvvv -m 2003 -s 4800 -r /dev/ttyUSB0 -t 4532 -C
serial_handshake=None,write_delay=5
So it seems that white space and ',' are both acceptable delimiters.
(Not mentioned in the --help)
I am trying to write a systemd unit file that will take parameters from
a config file. It does work for 'me' but not adequately for a
distributable package.
I can pass $OPTIONS like "serial_handshake=None, , , etc." and this
works fine, as long as the "-C" is in the StartExec command in the unit
file.
The problem is when there are no options, as -C throws an error:
rigctld: option requires an argument -- 'C'
Adding the '-C' into the OPTIONS string variable also fails in a unit
file. (but not in a bash shell)
I will get there, but if anything springs to mind please let me know.
Ah... hang on. I just tested with --set-conf= and rigctld does not
complain with no parameters!
That's not in the docs either! One step closer :)
Oh and yes, you are correct, I don't need the delay.
/OT
All is working fine now with wsjtx and klog, however I am puzzled as to
why automatic logging is "(contest only)"?
It would be excellent (with klog) if that worked without the reminder
dialogue, as klog can be used to tweak qso records later if needed.
Or is that just one step too much automation for you. If so I understand
completely ;)
Cheers,
Barry
G4MKT
_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel