diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-12-14 18:10:59 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-12-14 18:10:59 +0000 |
| commit | afc8ed97a6e77517c615491c2ed6f76fe2efc869 (patch) | |
| tree | 69e8692597eb8eb138bd6a963d065dfbbf4bea55 /csi.c | |
| parent | csi: Send Device Attributes, Tertiary DA: require Ps == 0 (diff) | |
csi: describe format of reply to tertiary DA
Diffstat (limited to 'csi.c')
| -rw-r--r-- | csi.c | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -1258,11 +1258,17 @@ csi_dispatch(struct terminal *term, uint8_t final) 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); break; |
