From 710a45a3864573b18b35f38c5ea8c10bd9e4c63d Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 13 Jan 2014 20:13:16 +0100 Subject: terminal-unix: add termcap/terminfo documentation links Apparently, some people are not clever enough to google this information. Proper googling to find these links done by Kovensky. --- osdep/terminal-unix.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'osdep') diff --git a/osdep/terminal-unix.c b/osdep/terminal-unix.c index de7087b9b8..6edea37c74 100644 --- a/osdep/terminal-unix.c +++ b/osdep/terminal-unix.c @@ -272,6 +272,10 @@ static int load_termcap(char *termtype){ char *buf_ptr = &term_buf[0]; char *tmp; + // References for terminfo/termcap codes: + // http://linux.die.net/man/5/termcap + // http://unixhelp.ed.ac.uk/CGI/man-cgi?terminfo+5 + tmp = tgetstr("ce", &buf_ptr); if (tmp) terminal_erase_to_end_of_line = tmp; -- cgit v1.2.3