9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] ctype(2)
@ 2003-01-22 14:15 Sam
  2003-01-22 16:09 ` Fco.J.Ballesteros
  0 siblings, 1 reply; 7+ messages in thread
From: Sam @ 2003-01-22 14:15 UTC (permalink / raw)
  To: 9fans

My ctype(2) man page has formatting errors in the function list.

Can anyone else verify this or do I have a (system) personal
problem?

Cheers,

Sam




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

* Re: [9fans] ctype(2)
  2003-01-22 14:15 [9fans] ctype(2) Sam
@ 2003-01-22 16:09 ` Fco.J.Ballesteros
  2003-01-22 17:21   ` rob pike, esq.
  0 siblings, 1 reply; 7+ messages in thread
From: Fco.J.Ballesteros @ 2003-01-22 16:09 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 11 bytes --]

Mine too.

[-- Attachment #2: Type: message/rfc822, Size: 1447 bytes --]

From: Sam <sah@softcardsystems.com>
To: <9fans@cse.psu.edu>
Subject: [9fans] ctype(2)
Date: Wed, 22 Jan 2003 09:15:59 -0500 (EST)
Message-ID: <Pine.LNX.4.30.0301220913390.3037-100000@athena>

My ctype(2) man page has formatting errors in the function list.

Can anyone else verify this or do I have a (system) personal
problem?

Cheers,

Sam


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

* Re: [9fans] ctype(2)
  2003-01-22 16:09 ` Fco.J.Ballesteros
@ 2003-01-22 17:21   ` rob pike, esq.
  2003-01-23 11:41     ` Aharon Robbins
  0 siblings, 1 reply; 7+ messages in thread
From: rob pike, esq. @ 2003-01-22 17:21 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 63 bytes --]

That's nroff thinking it's writing to a model 37 TTY.

-rob

[-- Attachment #2: Type: message/rfc822, Size: 3336 bytes --]

[-- Attachment #2.1.1: Type: text/plain, Size: 11 bytes --]

Mine too.

[-- Attachment #2.1.2: Type: message/rfc822, Size: 1447 bytes --]

From: Sam <sah@softcardsystems.com>
To: <9fans@cse.psu.edu>
Subject: [9fans] ctype(2)
Date: Wed, 22 Jan 2003 09:15:59 -0500 (EST)
Message-ID: <Pine.LNX.4.30.0301220913390.3037-100000@athena>

My ctype(2) man page has formatting errors in the function list.

Can anyone else verify this or do I have a (system) personal
problem?

Cheers,

Sam


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

* Re: [9fans] ctype(2)
  2003-01-22 17:21   ` rob pike, esq.
@ 2003-01-23 11:41     ` Aharon Robbins
  0 siblings, 0 replies; 7+ messages in thread
From: Aharon Robbins @ 2003-01-23 11:41 UTC (permalink / raw)
  To: 9fans

Does this mean that Plan 9 finally supports /dev/tty ?
(:-)

In article <7f35ee877eca40ab435eeeb4326d0703@mightycheese.com>,
rob pike, esq. <9fans@cse.psu.edu> wrote:
>-=-=-=-=-=-
>
>That's nroff thinking it's writing to a model 37 TTY.
>
>-rob
>
>-=-=-=-=-=-
>-=-=-=-=-=-
>
>Mine too.
>
>-=-=-=-=-=-
>
>My ctype(2) man page has formatting errors in the function list.
>
>Can anyone else verify this or do I have a (system) personal
>problem?
>
>Cheers,
>
>Sam
-- 
Aharon (Arnold) Robbins --- Pioneer Consulting Ltd.	arnold@skeeve.com
P.O. Box 354		Home Phone: +972  8 979-0381	Fax: +1 928 569 9018
Nof Ayalon		Cell Phone: +972 51  297-545
D.N. Shimshon 99785	ISRAEL


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

* Re: [9fans] ctype(2)
  2003-01-23 16:25 ` Douglas A. Gwyn
@ 2003-01-24  1:08   ` Dennis Ritchie
  0 siblings, 0 replies; 7+ messages in thread
From: Dennis Ritchie @ 2003-01-24  1:08 UTC (permalink / raw)
  To: 9fans

I played with this a bit. There was a command 'col'
in earlier Unix distributions and probably even in
earlier Plan 9 that did interpret these the
reverse line-feeds.  The 10th edition version
of col.c compiles and works in Plan 9 (with ape),
but the result isn't perfect: the last line of
the 2-col list of functions overlays the
DESCRIPTION header.

Probably there is some bug in troff -n,
the tmac.an macros, or col, given that
the rendering is fine in the troff version.
It also turns out that adding a .PP to the
ctype man page source, just after the
.C1 and just before .SH DESCRIPTION, fixes the
col rendition.

I'll be happy to supply col.c publicly or
privately if there is interest.

	Dennis


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

* Re: [9fans] ctype(2)
  2003-01-22 16:19 C H Forsyth
@ 2003-01-23 16:25 ` Douglas A. Gwyn
  2003-01-24  1:08   ` Dennis Ritchie
  0 siblings, 1 reply; 7+ messages in thread
From: Douglas A. Gwyn @ 2003-01-23 16:25 UTC (permalink / raw)
  To: 9fans

C H Forsyth wrote:
> man -t 2 ctype | page -w
> should look all right
> if you're using plain man, nroff relies on reverse line feed
> to implement .2C/.1C (something like that)

My $0.02 worth:  Either the terminal emulation should support this
or else the "man" command should in default mode post-filter the
nroff output.  The user shouldn't be expected to type more than
"man whatever" for a reasonably formatted help page.


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

* Re: [9fans] ctype(2)
@ 2003-01-22 16:19 C H Forsyth
  2003-01-23 16:25 ` Douglas A. Gwyn
  0 siblings, 1 reply; 7+ messages in thread
From: C H Forsyth @ 2003-01-22 16:19 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 157 bytes --]

man -t 2 ctype | page -w
should look all right

if you're using plain man, nroff relies on reverse line feed
to implement .2C/.1C (something like that)

[-- Attachment #2: Type: message/rfc822, Size: 3191 bytes --]

[-- Attachment #2.1.1: Type: text/plain, Size: 11 bytes --]

Mine too.

[-- Attachment #2.1.2: Type: message/rfc822, Size: 1447 bytes --]

From: Sam <sah@softcardsystems.com>
To: <9fans@cse.psu.edu>
Subject: [9fans] ctype(2)
Date: Wed, 22 Jan 2003 09:15:59 -0500 (EST)
Message-ID: <Pine.LNX.4.30.0301220913390.3037-100000@athena>

My ctype(2) man page has formatting errors in the function list.

Can anyone else verify this or do I have a (system) personal
problem?

Cheers,

Sam


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

end of thread, other threads:[~2003-01-24  1:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-22 14:15 [9fans] ctype(2) Sam
2003-01-22 16:09 ` Fco.J.Ballesteros
2003-01-22 17:21   ` rob pike, esq.
2003-01-23 11:41     ` Aharon Robbins
2003-01-22 16:19 C H Forsyth
2003-01-23 16:25 ` Douglas A. Gwyn
2003-01-24  1:08   ` Dennis Ritchie

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).