| Summary: | [PATCH] there is no termcap(3) manpage per se | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Base System | Reporter: | Peter Pentchev <roam> | ||||
| Component: | bin | Assignee: | Maxim Sobolev <sobomax> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | 4.2-STABLE | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
|
Description
Peter Pentchev
2000-12-21 10:40:01 UTC
[CC:ing this to freebsd-gnats-submit@FreeBSD.org, so it enters the audit trail; I guess others might raise this question too.] On Thu, Dec 21, 2000 at 12:04:55PM -0500, dickey@Radix.Net wrote: > termcap(3) belongs to another package (it's not part of ncurses) I know; however, in FreeBSD there doesn't seem to be a standalone termcap/libtermcap implementation; /usr/lib/libtermcap.* are just symlinks to /usr/lib/libncurses.*, and there is an addon termcap.c in the src/lib/libncurses/ directory - which is where ncurses are *built*, as opposed to the src/contrib/ncurses/ directory, where the ncurses source is imported and maintained. The tgetent, tgetflat, tgetnum and tgetstr section 3 manpages already are linked to the curs_termcap(3) manpage. My proposed patch simply documents this fact a bit further :) I'm suggesting a FreeBSD-specific change to an already FreeBSD-specific treatment of termcap/ncurses - I am not suggesting a change to the ncurses package itself. G'luck, Peter -- "yields falsehood, when appended to its quotation." yields falsehood, when appended to its quotation. After private discussion with Bruce Evans, the following patch was born. It has exactly the same functionality, but keeps MLINKS sorted. G'luck, Peter -- .siht ekil ti gnidaer eb d'uoy ,werbeH ni erew ecnetnes siht fI Index: Makefile =================================================================== RCS file: /home/ncvs/src/lib/libncurses/Makefile,v retrieving revision 1.45 diff -u -r1.45 Makefile --- Makefile 2000/12/05 12:40:14 1.45 +++ Makefile 2000/12/25 02:19:15 @@ -519,7 +519,8 @@ curs_termattrs.3 has_ic.3 curs_termattrs.3 has_il.3 \ curs_termattrs.3 killchar.3 curs_termattrs.3 longname.3 \ curs_termattrs.3 termattrs.3 curs_termattrs.3 termname.3 -MLINKS+=curs_termcap.3 tgetent.3 curs_termcap.3 tgetflag.3 \ +MLINKS+=curs_termcap.3 termcap.3 \ + curs_termcap.3 tgetent.3 curs_termcap.3 tgetflag.3 \ curs_termcap.3 tgetnum.3 curs_termcap.3 tgetstr.3 \ curs_termcap.3 tgoto.3 curs_termcap.3 tputs.3 MLINKS+=curs_terminfo.3 del_curterm.3 curs_terminfo.3 mvcur.3 \ Responsible Changed From-To: freebsd-bugs->sobomax Maxim just made the requested MLINK, so he can decide what to do with this. State Changed From-To: open->closed Similar patch has been committed, thank you for reporting! |