next up previous
Next: A.8 vc-comport.setl Up: A. WEBeye Source Code Previous: A.6 vc-clear.setl

  
A.7 vc-comdev.setl

Called by parent programs:
vc-autoinit.setl     (Section A.3 [vc-autoinit.setl])
vc-clear.setl     (Section A.6 [vc-clear.setl])
vc-init.setl     (Section A.21 [vc-init.setl])
vc-input.setl     (Section A.22 [vc-input.setl])
vc-send.setl     (Section A.38 [vc-send.setl])

Source code: *

-- Echo either the contents of the file containing the configured
-- serial device name, or a default name.
 
const conf_file = `vc-comdev.conf';
[com_dev] := split (getfile conf_file ? `/dev/ttyS0');
putchar (com_dev);


next up previous
Next: A.8 vc-comport.setl Up: A. WEBeye Source Code Previous: A.6 vc-clear.setl
David Bacon
1999-12-10