| Summary: | Send terminfo description over the wire on login | ||
|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Christian Höltje <docwhat> |
| Component: | sshd | Assignee: | Assigned to nobody <unassigned-bugs> |
| Status: | CLOSED WONTFIX | ||
| Severity: | enhancement | CC: | djm, docwhat |
| Priority: | P5 | ||
| Version: | 7.6p1 | ||
| Hardware: | All | ||
| OS: | All | ||
|
Description
Christian Höltje
2018-03-02 13:26:37 AEDT
I don't know whether terminal definitions are guaranteed to be exportable/importable between systems. In practice they work between systems that use ncurses, but that's not a sure thing. > I don't know whether terminal definitions are guaranteed to be exportable/importable between systems. terminfo is by design compatible between any system (that uses terminfo). > In practice they work between systems that use ncurses, but that's not a sure thing. During compilation if you detect terminfo, then turn on sending or receiving terminfo capabilities. During connection negotiation, the client can ask the remote server if they support terminfo; if true, then send the terminfo capabilities. Assuming a TTY is allocated, the server can write the capabilities to a file and set the TERMINFO environment variable pointing at that file. Also, just to be clear, terminfo is used by ncurses, but (in theory) it is separate. In practice it usually isn't. Sorry, but I think that this would be significantly complex and relatively fragile. Too much so for the small benefit it IMO provides. closing resolved bugs as of 8.6p1 release |