Commit Graph

25 Commits

Author SHA1 Message Date
joerg fc67b0cd11 Switch terminfo(3) to cdb(5). 2012-06-03 23:19:09 +00:00
joerg 68a65e1a02 Fix a number of memory leaks. Keep final loop of the cleanup in tic(1)
under #ifdef __VALGRIND__ though.
2012-06-01 12:08:40 +00:00
joerg 7b1c18b0f7 Maintain nalias and nterm on the fly. 2012-05-31 21:01:06 +00:00
joerg 18604821d3 One more strdup -> estrdup. 2012-05-31 20:40:05 +00:00
joerg cff379a94b Use e* from util.h. 2012-05-31 20:38:19 +00:00
joerg 2b5ab40700 Replace linear lookup with hash table, reducing runtime by 60%. 2012-05-31 20:10:06 +00:00
joerg 974fdf3721 Use queue(3) 2012-05-31 19:56:32 +00:00
joerg 968a666e92 Prefer __printflike. 2012-05-31 19:00:41 +00:00
roy 6a222e7196 Replace fgetln(3) with the more standard getline(3) 2011-11-09 07:40:27 +00:00
roy ff10397929 Use memmove as we are effectively moving memory from left to right so
that the use=foo capability is removed when merging foo.
2011-11-03 10:12:57 +00:00
pgoyette eb11ed074e Fix a couple of mis-spellings of "descriptions" 2011-11-02 19:21:49 +00:00
roy fde317d2b1 libterminfo can now compile a single terminfo description which allows
$TERMINFO to be a terminfo description as well as a file reference.

This enables the user to modify the terminfo description on read-only
media.
2010-02-22 23:05:39 +00:00
pgoyette 3360c946f9 One more time - do this correctly.
Thanks, joerg.
2010-02-20 06:20:46 +00:00
pgoyette 4b2f1808e2 Wrap the include of sys/endian.h in #ifdef HAVE_SYS_ENDIAN_H to avoid
build issues on systems that don't have a sys/endian.h

Pointed out by joerg@
2010-02-20 06:15:06 +00:00
pgoyette 237e56a5c8 Since tic is a host tool, we need to include host system header to get
definitions of le16dec() and le16enc().

Solves PR bin/42747 from Henning Petersen
2010-02-20 06:08:01 +00:00
wiz a2542d1a41 Oxford serial comma. 2010-02-11 13:44:14 +00:00
roy b164f98a45 Change -S to output C structures to make life easier. 2010-02-11 13:09:57 +00:00
wiz 66fbc76fcb Sort options (standard order is 0-9AaBbCc...). 2010-02-11 07:00:46 +00:00
roy 55a396b95f tic -S now outputs the specified terminal names and compiled descriptions
as C strings so we can embed them into libterminfo.
2010-02-11 00:24:46 +00:00
roy 2bb24c0bfc Fix year. 2010-02-05 16:54:11 +00:00
roy 71dfbe1cc5 Note that -a no longer sets -x. 2010-02-05 16:36:09 +00:00
he 29cb6e1f41 More adaptation for ports where char is unsigned char. 2010-02-05 14:40:07 +00:00
roy ae351fab5b Store the aliases against the entry, so that infocmp can reproduce them.
Handy for creating smaller terminfo databases.
2010-02-05 12:31:56 +00:00
wiz fcf135c013 Use Ex for EXIT STATUS section. Put Ns on same line as previous,
to make clearer what happens.
2010-02-03 15:51:09 +00:00
roy 4ca00e00d8 Import my terminfo implementation.
This uses the ncurses terminal definitions.

OK: core@, jdc@
2010-02-03 15:16:32 +00:00