linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* .ad l/.ad b
@ 2021-09-12 11:13 Alejandro Colomar (man-pages)
  2021-09-12 11:33 ` AW: " Oliver Corff
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Alejandro Colomar (man-pages) @ 2021-09-12 11:13 UTC (permalink / raw)
  To: Michael Kerrisk (man-pages), G. Branden Robinson; +Cc: linux-man, groff

Hi, Branden and Michael!

I've seen these in shmctl.2, and didn't know what they mean.
groff(7) wasn't very helpful.

[
.SH SYNOPSIS
.nf
.ad l
.B #include <sys/shm.h>
.PP
.BI "int shmctl(int " shmid ", int " cmd ", struct shmid_ds *" buf );
.ad b
.fi
]

What are those '.ad X' and do we really need them?

I found some other pages that use it:

[
.../linux/man-pages$ grep -rn '^\.ad b' man?
man1/localedef.1:60:.ad b
man2/setsid.2:40:.ad b
man2/acct.2:41:.ad b
man2/shmctl.2:55:.ad b
man2/shmget.2:50:.ad b
]

groff(7) related info:

[
        .ad       Begin line adjustment for output lines in current
                  adjust mode.
        .ad c     Start line adjustment in mode c (c=l,r,c,b,n).
]

But what does each mode mean?  I couldn't find anything about them in 
the manual page.


Thanks,

Alex


-- 
Alejandro Colomar
Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/
http://www.alejandro-colomar.es/

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

end of thread, other threads:[~2021-09-12 15:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-12 11:13 .ad l/.ad b Alejandro Colomar (man-pages)
2021-09-12 11:33 ` AW: " Oliver Corff
2021-09-12 13:06   ` Alejandro Colomar (man-pages)
2021-09-12 15:41   ` G. Branden Robinson
2021-09-12 14:03 ` Ingo Schwarze
2021-09-12 15:30 ` G. Branden Robinson

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