monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] Please review nvm.man-page


From: Thomas Keller
Subject: Re: [Monotone-devel] Please review nvm.man-page
Date: Thu, 19 Aug 2010 15:04:06 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.1.11) Gecko/20100714 SUSE/3.0.6 Lightning/1.0b2pre Thunderbird/3.0.6

Am 19.08.2010 14:14, schrieb Stephen Leake:
> Stephen Leake <address@hidden> writes:
> 
>> For MinGW testing, I commented out the isatty check, so it always dumps
>> the troff source. The tests/manpage test passes.
>>
>> Reading the output with 'man mtn' in a Cygwin bash shell works, and with
>> 'M-x man mtn' in Emacs.
> 
> As another test, I commented out the 'isatty' check, but made it always
> run the interactive command. Running in a Cygwin shell with nroff and
> less in path, that gave:
> 
> bash-3.2$ ./mtn man
> 'nroff' is not recognized as an internal or external command,
> operable program or batch file.
> mtn: fatal: error: ../monotone.man-page/cmd.cc:927: I(fprintf(fp, 
> ss.str().c_str()) != -1)
> mtn: this is almost certainly a bug in monotone.

Interesting, I thought popen uses the same environment like the calling
process, apparently this is not true here. Could you try to change the
command for the hook "get_man_page_formatter_command" like this?

   PATH=... nroff -man -Tutf8 | less -R

and set ... to the needed path specification?

Thanks,
Thomas.

-- 
GPG-Key 0x160D1092 | address@hidden | http://thomaskeller.biz
Please note that according to the EU law on data retention, information
on every electronic information exchange might be retained for a period
of six months or longer: http://www.vorratsdatenspeicherung.de/?lang=en


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]