Hello,
I just installed "today" and I get an error when I try to bring up the manual:
[:~/git/today] [my-venv] master ± make
make: 'doc/today.1' is up to date.
[:~/git/today] [my-venv] master ± sudo make install
mkdir -p /usr/local/bin /usr/local/share/man/man1
cp -f today /usr/local/bin
cp -f doc/today.1 /usr/local/share/man/man1
chmod +x /usr/local/bin/today
[:~/git/today] [my-venv] master ± man today
grotty:<standard input>:(<standard input>):8: fatal error: 'V'
command invalid before first 'p' command
man: command exited with status 1: (cd /usr/local/man &&
/usr/lib/man-db/zsoelim) | (cd /usr/local/man &&
/usr/lib/man-db/manconv -f UTF-8:ISO-8859-1 -t UTF-8//IGNORE) | (cd
/usr/local/man && preconv -e UTF-8) | (cd /usr/local/man && tbl) | (cd
/usr/local/man && nroff -mandoc -rLL=152n -rLT=152n -Tutf8)
[:~/git/today] [my-venv] master ±
I found https://git.sr.ht/~sotirisp/today/tree/master/item/doc/today.1.scd
but it would be nice to be able to ready the manual locally.
I am running Q4OS which is based on Debian:
[:~/git/today] [my-venv] master ± lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye
[:~/git/today] [my-venv] master ±
Since the error is from grotty, let's see what grotty I have:
[:~/git/today] [my-venv] master ± type grotty
grotty is /home/linuxbrew/.linuxbrew/bin/grotty
[:~/git/today] [my-venv] master ± grotty --version
GNU grotty (groff) version 1.23.0
[:~/git/today] [my-venv] master ± whereis grotty
grotty: /usr/bin/grotty /home/linuxbrew/.linuxbrew/bin/grotty
/usr/share/man/man1/grotty.1.gz
[:~/git/today] [my-venv] master ± /usr/bin/grotty --version
GNU grotty (groff) version 1.22.4
[:~/git/today] [my-venv] master ± PATH=/usr/bin:$PATH
[:~/git/today] [my-venv] master ± man today
[:~/git/today] [my-venv] master ±
I tried using /usr/bin/grotty instead of Homebrew grotty, but it
didn't work either. No error, but no man page either. Just nothing.
Thanks,
Aleksey
I use the man command to view manual pages and that has always worked
fine with scdoc-generated pages.
For me grotty fails instead with:
grotty:doc/today.1:1: fatal error: the first command must be 'x T'
It also fails to open a minimal manual page generated by scdoc so I
don't think this issue has anything to do with today. It seems like a
bug in grotty or scdoc (and considering man works fine grotty is more
likely).
Best regards,
Sotiris