On Wed, Nov 27, 2019 at 12:43:26AM +0100, Klemens Nanni wrote:
> On Tue, Nov 26, 2019 at 11:09:39PM +0100, Klemens Nanni wrote:
> > My mdoc(7) wasn't strong enough, but perhaps someone can help me
> > displaying this as table instead?
> > 
> >     ALOM    reset -c
> >     ILOM    reset /SYS
> I sat down, here's proper markup that yields
> 
>      ...
>      Reset the hardware:
> 
>          ALOM  sc> reset -c
>          ILOM  -> reset /SYS
> 
>      The machine will now reset and boot into the new configuration.  The
>      ...
> 
> OK?
> 
> For the curious, here's an official comparison sheet for ALOM/ILOM
> commands.
> 
> https://docs.oracle.com/cd/E19839-01/E21875-01/z400018e1008787.html
> 
> 
> Index: ldomctl.8
> ===================================================================
> RCS file: /cvs/src/usr.sbin/ldomctl/ldomctl.8,v
> retrieving revision 1.14
> diff -u -p -r1.14 ldomctl.8
> --- ldomctl.8 10 Nov 2019 20:51:53 -0000      1.14
> +++ ldomctl.8 26 Nov 2019 23:42:26 -0000
> @@ -134,11 +134,16 @@ which sets
>  in
>  .Xr rc.conf.local 8 .
>  .Pp
> -Halt the primary domain and reset the machine from ALOM:
> +Halt the primary domain:
>  .Bd -literal -offset indent
>  # halt
> -sc> reset -c
>  .Ed
> +.Pp
> +Reset the hardware:
> +.Bl -column -offset indent SP command
> +.It ALOM Ta "sc> reset -c"
> +.It ILOM Ta "-> reset /SYS"
> +.El
>  .Pp
>  The machine will now reset and boot into the new configuration.
>  The primary domain should have less CPUs and memory, since they
> 

hi.

colum lists are pretty yucky. you can avoid much of the pain by using a
display (Bd/Ed instead). it will respect your spacing and do literal (or
not):

        .Bd -literal -offset indent
        ALOM    sc> reset -c
        ILOM    -> reset /SYS
        .Ed

also one liners are generally better as

        .Pp
        .Dl # halt
        .Pp

but hey:

        Halt the primary domain and reset the hardware:
        .Bd -literal -offset indent
        # halt
        sc> reset -c    # ALOM
        -> reset /SYS   # ILOM
        .Ed

jmc

Reply via email to