diff --git a/docs/sequences.md b/docs/sequences.md new file mode 100644 index 000000000..1600ceafd --- /dev/null +++ b/docs/sequences.md @@ -0,0 +1,10 @@ +# Control and Escape Sequences + +This is the list of control and escape sequences known in the ecosystem +of terminal emulators and their implementation status in ghostty. Note that +some control sequences may never be implemented in ghostty. In these scenarios, +it is noted why. + +| Seq | ASCII | Name | Status | +|:---:|:-----:|:-----|:------:| +| `ENQ` | `0x05` | [Enquiry](sequences/enq.md) | ✅ | diff --git a/docs/sequences/enq.md b/docs/sequences/enq.md new file mode 100644 index 000000000..cd4c0eed0 --- /dev/null +++ b/docs/sequences/enq.md @@ -0,0 +1,19 @@ +# Enquiry (Answerback) + +| Text | | +| Hex | `0x05` | + +Sends an answerback string. In the VT100, this was configurable by the +operator. + +## Implementation Details + + * ghostty always sends `""` + +## TODO + + * Make the answerback configurable + +## References + + * https://vt100.net/docs/vt100-ug/chapter3.html