discuss@mandoc.bsd.lv
 help / color / mirror / Atom feed
* .Sm issue in (openbsd) ftp.1
@ 2010-07-26 21:25 Jason McIntyre
  2010-07-26 21:33 ` Jason McIntyre
  0 siblings, 1 reply; 5+ messages in thread
From: Jason McIntyre @ 2010-07-26 21:25 UTC (permalink / raw)
  To: discuss

hi. apologies for the macro abuse... here's some source in ftp.1:

	.Nm ftp
	.Op Fl C
	.Op Fl o Ar output
	.Sm off
	.No ftp:// Oo Ar user : password No @
	.Oc Ar host Oo : Ar port
	.Oc No / Ar file Oo /
	.Oc
	.Sm on
	.Ar ...

groff does this:

	ftp [-C] [-o output] ftp://[user:password@]host[:port]/file[/] ...

and mandoc:

	ftp [-C] [-o output] ftp:// [user:password@]host[:port]/file[/] ...

so, somehow mandoc seems to be ignoring the spacing off call between //
and [user.

jmc
--
 To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: .Sm issue in (openbsd) ftp.1
  2010-07-26 21:25 .Sm issue in (openbsd) ftp.1 Jason McIntyre
@ 2010-07-26 21:33 ` Jason McIntyre
  2010-07-26 21:56   ` Kristaps Dzonsons
  0 siblings, 1 reply; 5+ messages in thread
From: Jason McIntyre @ 2010-07-26 21:33 UTC (permalink / raw)
  To: discuss

On Mon, Jul 26, 2010 at 10:24:42PM +0059, Jason McIntyre wrote:
> hi. apologies for the macro abuse... here's some source in ftp.1:
> 
> 	.Nm ftp
> 	.Op Fl C
> 	.Op Fl o Ar output
> 	.Sm off
> 	.No ftp:// Oo Ar user : password No @
> 	.Oc Ar host Oo : Ar port
> 	.Oc No / Ar file Oo /
> 	.Oc
> 	.Sm on
> 	.Ar ...
> 

and, more trivially:

	.Nm ftp
	.Op Fl C
	.Op Fl o Ar output
	.Sm off
	.No file: Ar file
	.Sm on
	.Ar ...

groff:
	ftp [-C] [-o output] file:file ...

mandoc:
	ftp [-C] [-o output] file: file ...

jmc
--
 To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: .Sm issue in (openbsd) ftp.1
  2010-07-26 21:33 ` Jason McIntyre
@ 2010-07-26 21:56   ` Kristaps Dzonsons
  2010-07-26 22:09     ` Kristaps Dzonsons
  0 siblings, 1 reply; 5+ messages in thread
From: Kristaps Dzonsons @ 2010-07-26 21:56 UTC (permalink / raw)
  To: discuss

Jason,

Can you send me a list of files with the craziest `Sm' invocations you 
konw of?  I have a fix for this and want to make sure it doesn't puke in 
other cases.

Thanks,

Kristaps
--
 To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: .Sm issue in (openbsd) ftp.1
  2010-07-26 21:56   ` Kristaps Dzonsons
@ 2010-07-26 22:09     ` Kristaps Dzonsons
  2010-07-26 22:28       ` Kristaps Dzonsons
  0 siblings, 1 reply; 5+ messages in thread
From: Kristaps Dzonsons @ 2010-07-26 22:09 UTC (permalink / raw)
  To: discuss

Kristaps Dzonsons wrote:
> Jason,
> 
> Can you send me a list of files with the craziest `Sm' invocations you 
> konw of?  I have a fix for this and want to make sure it doesn't puke in 
> other cases.

...nevermind.  I'm running through all `Sm' manuals by hand and 
comparing the output (there aren't that many).  Looks good so far. 
Every `Sm' seems to be rendered properly.
--
 To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: .Sm issue in (openbsd) ftp.1
  2010-07-26 22:09     ` Kristaps Dzonsons
@ 2010-07-26 22:28       ` Kristaps Dzonsons
  0 siblings, 0 replies; 5+ messages in thread
From: Kristaps Dzonsons @ 2010-07-26 22:28 UTC (permalink / raw)
  To: discuss

Kristaps Dzonsons wrote:
> Kristaps Dzonsons wrote:
>> Jason,
>>
>> Can you send me a list of files with the craziest `Sm' invocations you 
>> konw of?  I have a fix for this and want to make sure it doesn't puke 
>> in other cases.
> 
> ...nevermind.  I'm running through all `Sm' manuals by hand and 
> comparing the output (there aren't that many).  Looks good so far. Every 
> `Sm' seems to be rendered properly.

Jason et al.,

I've committed a fix for this.

Please test this on your complex `Sm' cases.  I looked over a few dozen 
manuals with this macro (including the biggies, grep, sh, ed, etc.) and 
didn't see any issues.

Thanks,

Kristaps
--
 To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-07-26 22:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-26 21:25 .Sm issue in (openbsd) ftp.1 Jason McIntyre
2010-07-26 21:33 ` Jason McIntyre
2010-07-26 21:56   ` Kristaps Dzonsons
2010-07-26 22:09     ` Kristaps Dzonsons
2010-07-26 22:28       ` Kristaps Dzonsons

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 NNTP newsgroup(s).