Navigation: Macro > Instructions > Entrée/sortie sur une ligne série (RS232) > SET SERIAL OUTPUT |
![]() ![]() ![]() ![]() |
SET SERIAL OUTPUT @Dev,Code$ |
Cette instruction permet de définir les caractéristiques de sortie d'une ligne série RS232C. Le device @Dev doit être ouvert par une instruction OPEN DEVICE au préalable.
Se référer au manuel UNIX stty(1) et termio(7) pour une description plus détaillée en fonction du système.
Code$ |
Description |
"OPOST" |
Postprocess output |
"OLCUC" |
Map lowercase to uppercase on output |
"ONLCR" |
Map NL to CR-NL on output |
"OCRNL" |
Map CR to NL on output |
"ONOCR" |
No CR output at column 0 |
"ONLRET" |
NL perform CR function |
"OFILL" |
Use fill characters for delay |
"OFDEL" |
Fill is DEL, else NUL |
"NL0" |
No delay on NL |
"NL1" |
NL delay type 1 |
"CR0" |
No delay on CR |
"CR1" |
CR delay type 1 |
"CR2" |
CR delay type 2 |
"CR3" |
CR delay type 3 |
"TAB0" |
No delay on Horizontal TAB |
"TAB1" |
HTAB delay type 1 |
"TAB2" |
HTAB delay type 2 |
"TAB3" |
HTAB delay type 3 |
"BS0" |
No delay on BS |
"BS1" |
BS delay type 1 |
"VT0" |
No delay on vertical TAB |
"VT1" |
VTAB delay type 1 |
"FF0" |
No delay on form-feed |
"FF1" |
FF delay type 1 |
Exemple SET SERIAL OUTPUT @Rs232,"ONLCR|OLCUC" |