News for hackers. Stuff that matters.
Re:ANSI escape codes (2019) by otabdeveloper4 on Wednesday February 03, 2021 @03:01PM (#26018409)
This.

There is no reason to use terminfo or libncurses in 2021.

Re:ANSI escape codes (2019) by chasil on Wednesday February 03, 2021 @04:14PM (#26019205)
The funny thing is that termcap and vi were not created for a DEC terminal.

They were created specifically for the Lear Siegler ADM-3A, which predates the VT100. The work was done entirely by Bill Joy, who later joined Sun Microsystems.

https://jbcrawford.us/history/computers/adm3a

Re:ANSI escape codes (2019) by blueflow on Wednesday February 03, 2021 @03:51PM (#26018934)
How would you check if a incoming escape sequence is the F1 key pressed by the user?
Re:ANSI escape codes (2019) by otabdeveloper4 on Thursday February 04, 2021 @12:27AM (#26022912)
Just assume your the terminal is a vt220, a.k.a. xterm.