GMXRC seems to break the rest of man pages

GROMACS version: 2020.5
GROMACS modification: No

Hello,
In Ubuntu 18.04.5 LTS (Bionic Beaver) using the bash terminal when I source GMXRC the man-path seems to be altered and the man command stops working:

>> manpath
/home/sperez/data_partition/bin2/anaconda3/envs/lab_env/man:/home/sperez/data_partition/bin2/anaconda3/man:/usr/local/man:/usr/local/share/man:/usr/share/man:/opt/thinlinc/share/man
>> source GMXRC
>> manpath
manpath: warning: $MANPATH set, ignoring /etc/manpath.config
/home/sperez/data_partition/bin2/gromacs-2020.5/gmx_api_gpu/share/man
>> man ls
No manual entry for ls
See 'man 7 undocumented' for help when manual pages are not available.

Shouldn’t it append to MANPATH rather than substitute.

Thank you very much! And keep up the great work :)
Sergio

Hi Sergio,

This is already adressed in:

OK, so I guess this addressed in future versions. A quick work around:

man_path= $(manpath)
source GMXRC
export MANPATH=$man_path:$MANPATH

Thanks a lot Christian!

The most important thing is the colon at the start of MANPATH to trigger appending defaults. Usually it’s not set, so that even export MANPATH=:$MANPATH should work.