-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VT100 control codes for the console - std library for controlling the terminal #52
Comments
What would be a good, easy to implement set of control codes? Should at least include:
|
http://www.6502.org/users/andre/petindex/keyboards.html#ctrl |
The currently supported control codes are defined here: https://github.com/fachat/GeckOS-V2/blob/master/include/tcdefs.i65 From the above list those are missing in the current implementation:
|
The most reasonable one is getting feedback on the window size, which is basically necessary for editors if they don't want to rely on env variables or other kludges. Scroll up/down whole screen, clear whole line, clear to end of screen look reasonably simple to implement with the given capabilities. Relative cursor positioning would also be an option (move cursor multiple positions at once). |
As I want to keep the actual device code simple and short, I'd actually prefer a user space lib (to be assembled into the actual program, or at some later point integrated with dynamic linking) that would convert VT52 (or other) codes to GeckOS control codes (and potentially vice versa) |
Or at least some other recognized console codes (vt52?) so that it can be easily used when telnetting to other computers.
The text was updated successfully, but these errors were encountered: