From: Dave Abrahams <dave@boost-consulting.com>
Subject: Re: [NT] Problem with `man' function
Date: Wed, 10 May 2006 20:54:16 +0000 (UTC) [thread overview]
Message-ID: <loom.20060510T225057-470@post.gmane.org> (raw)
In-Reply-To: uhdaqgasw.fsf@gnu.org
Eli Zaretskii <eliz <at> gnu.org> writes:
> I tried to debug this, but I'm sorry to say that I cannot reproduce
> exactly the behavior you describe.
Interesting. Still happens for me with the latest CVS of emacs and recently
updated Cygwin. And it's clearly the awk command that's causing it. If I
delete the awk command, all is well.
> "M-x man" indeed fails for me in
> the Windows port, but the error message displayed by Emacs is
> different:
>
> sed: -e expression #1, char 1: unknown command: `''
> awk: '
> awk: ^ invalid char ''' in expression
>
> process exited abnormally with code 1
>
> The messages from Sed and Awk say quite unequivocally that the problem
> is with the quoting style: Windows shells and programs don't support
> the '..' quoting that man.el uses.
Using the other quoting made no difference whatsoever for me.
> I tried to replace '..' quoting with ".." quoting, but then bumped
> into other bugs, this time in Sed. It sounds like the GnuWin32 port
> of Sed is hopelessly broken. Or it could be a bug with cmdproxy.exe,
> I really don't have time to dig into that.
>
> Perhaps with the Cygwin ports you have man.el will work if you replace
> '..' quoting with ".." quoting in the Sed and Awk scripts used by
> man.el. Could you perhaps try that?
Tried it, to no avail.
> Failing that, I suggest to use woman.el.
Aww, this is discouraging. Can't you suggest a place to breakpoint so we can
look at what's coming out of awk?
--
David Abrahams
Boost Consulting
http://www.boost-consulting.com
next prev parent reply other threads:[~2006-05-10 20:54 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-23 12:02 [NT] Problem with `man' function David Abrahams
2005-10-23 16:25 ` Eli Zaretskii
2005-10-24 1:00 ` Richard M. Stallman
2005-10-25 22:06 ` David Abrahams
2005-10-27 1:29 ` Richard M. Stallman
2005-10-27 5:06 ` Eli Zaretskii
2005-10-27 11:00 ` David Abrahams
2005-11-05 19:21 ` Eli Zaretskii
2006-05-10 20:54 ` Dave Abrahams [this message]
2006-05-11 3:49 ` Eli Zaretskii
2006-05-11 4:26 ` David Abrahams
2006-05-11 11:44 ` David Abrahams
2006-05-11 18:36 ` Eli Zaretskii
2006-05-11 20:23 ` David Abrahams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20060510T225057-470@post.gmane.org \
--to=dave@boost-consulting.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).