mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-26 01:40:12 -05:00
csi: describe format of reply to tertiary DA
This commit is contained in:
parent
7d8327369b
commit
afc8ed97a6
1 changed files with 10 additions and 4 deletions
14
csi.c
14
csi.c
|
|
@ -1258,11 +1258,17 @@ csi_dispatch(struct terminal *term, uint8_t final)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Send Device Attributes (Tertiary DA) */
|
/*
|
||||||
|
* Send Device Attributes (Tertiary DA)
|
||||||
|
*
|
||||||
|
* Reply format is "DCS ! | DDDDDDDD ST"
|
||||||
|
*
|
||||||
|
* D..D is the unit ID of the terminal, consisting of four
|
||||||
|
* hexadecimal pairs. The first pair represents the
|
||||||
|
* manufacturing site code. This code can be any
|
||||||
|
* hexadecimal value from 00 through FF.
|
||||||
|
*/
|
||||||
|
|
||||||
/* Note: this is supposed to be the "unit ID". But it is
|
|
||||||
* unclear what the format *is*. Here I've simply copied
|
|
||||||
* the reply from xterm */
|
|
||||||
term_to_slave(term, "\033P!|00000000\033\\", 14);
|
term_to_slave(term, "\033P!|00000000\033\\", 14);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue