From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]); by fantadrom.bsd.lv (OpenSMTPD) with ESMTP id fdac93f8; for ; Sat, 25 Apr 2015 09:40:08 -0500 (EST) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ym1FV-0007Kp-0p for tech@mdocml.bsd.lv; Sat, 25 Apr 2015 16:40:05 +0200 Received: from host164-163-dynamic.7-79-r.retail.telecomitalia.it ([79.7.163.164]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 25 Apr 2015 16:40:04 +0200 Received: from lory.fulgi by host164-163-dynamic.7-79-r.retail.telecomitalia.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 25 Apr 2015 16:40:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: tech@mdocml.bsd.lv From: Lorenzo Beretta Subject: Debian's more is /bin/more, not /usr/bin/more Date: Sat, 25 Apr 2015 16:16:08 +0200 Message-ID: X-Mailinglist: mdocml-tech Reply-To: tech@mdocml.bsd.lv Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: host164-163-dynamic.7-79-r.retail.telecomitalia.it User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.6.0 Just a minor annoyance, but anyway... # download & install mdocml... $ man ls man: exec: No such file or directory $ type man more man is /usr/local/bin/man more is /bin/more $ PAGER="more -s" man ls # manpage is shown correctly Until we solve /bin vs /usr/bin (cough gobolinux cough , how about defaulting to "more -s" instead of "/usr/bin/more -s"? Regardless, the error message wasn't really clear - could you replace fprintf(stderr, "%s: exec: %s\n", progname, strerror(errno)); with something like fprintf(stderr, "%s: exec %s: %s\n", progname, argv[0], strerror(errno)); ? Cheers -- To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv