[Bug 280147] ~/.termcap ignored
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 280147] ~/.termcap ignored"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 05 Aug 2024 18:40:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280147 --- Comment #4 from ov2k@yahoo.com --- That commit seems promising. It removes /lib/ncurses/ncurses/termcap.c and I think uses /contrib/ncurses/ncurses/tinfo/read_termcap.c instead. If I understand correctly, read_termcap.c is the upstream file. If I'm reading things correctly, the problem is in _nc_tgetent(). When the environment variable TERMCAP is not set, it simply calls get_termpath(). That doesn't do anything with ~/.termcap. If the environment variable TERMPATH is not set, it simply falls back to the C macro TERMPATH defined in what is now /lib/ncurses/tinfo/ncurses_cfg.h. It looks like switching from the FreeBSD termcap.c to the upstream read_termcap.c has caused this change in behavior. Is this a code bug in FreeBSD? An upstream bug? A documentation bug in termcap(5)? -- You are receiving this mail because: You are the assignee for the bug.