After installing postgresql on my gfbsd system i could not use the "psql" terminal correctly. The default pager for this termin is "more" but this does not come with gfbsd. One solution would be to make postgresql depend on sys-apps/more. And another solution would be to "export PAGER=less" for the whole system. On my setup PAGER is not set to any default pager which may be a problem for other applications too. So this bug might not only affect postgresql. Reproducible: Always Steps to Reproduce: 1."emerge -C more" or "export PAGER=this_is_not_a_pager" 2.psql 3.inside psql > \h Actual Results: error: "more: not found" or "this_is_not_a_pager: not found" Expected Results: would expect psql help the simplest solution seems to be to add PAGER="/usr/bin/less" to /etc/env.d/00basic
baselayout 2 installs /etc/profile which contains: export PAGER=${PAGER:-/usr/bin/less} See for example: http://www.gentoo.org/doc/en/openrc-migration.xml#doc_chap2_sect8 So I consider this fixed eventually ;)