[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
tic sometimes silently ignores the -o option
From: |
Sven Joachim |
Subject: |
tic sometimes silently ignores the -o option |
Date: |
Sat, 01 Jul 2023 21:01:38 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
There are situations where tic silently ignores the -o option and writes
to the default output directory (/etc/terminfo or ${HOME}/.terminfo)
instead.
- If the output directory is not writable or cannot be created, e.g.
"tic -o /somedir myfile" or "tic -o /etc/terminfo myfile" as a normal
user.
Should tic fail or warn in such situations?
- If the output directory and its parent do not exist, e.g.
"tic -o /some/dir myfile" as root or as a normal user.
Should tic create missing parent directories?
For background, please see https://bugs.debian.org/1040048. To the
naive user it is certainly surprising that tic was asked to write to
debian/di-utils-terminfo/lib/terminfo and complained about the totally
different directory /sbuild-nonexistent/.terminfo.
Cheers,
Sven
- tic sometimes silently ignores the -o option,
Sven Joachim <=