As described in an issue on the util-linux upstream repository here , it is important to be able to toggle the secure mode of pagers through an environment variable.
This becomes more evident due to the fact that +s can not be set for applications that internally invoke most directly or through /usr/bin/pager provided by Debian/Ubuntu's alternatives system. Since it is significantly easier to simply set a process' environment, the idea is to add the following environment variables:
When these are set to 1, the Most_Secure_Mode variable in most.c will be set to 1 as well, and effectively secure most's state.
As described in an issue on the
util-linuxupstream repository here , it is important to be able to toggle the secure mode of pagers through an environment variable.This becomes more evident due to the fact that
+scan not be set for applications that internally invokemostdirectly or through/usr/bin/pagerprovided by Debian/Ubuntu's alternatives system. Since it is significantly easier to simply set a process' environment, the idea is to add the following environment variables:When these are set to
1, theMost_Secure_Modevariable inmost.cwill be set to 1 as well, and effectively securemost's state.