quilt-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Quilt-dev] [patch 25/26] Make file tree diagram portable.


From: Jean Delvare
Subject: Re: [Quilt-dev] [patch 25/26] Make file tree diagram portable.
Date: Tue, 26 Jun 2018 13:41:55 +0200

On Sat, 16 Jun 2018 12:22:57 -0400, address@hidden wrote:
> Use the groff extension .schar to provide an alternative output sequence
> for output devices missing the Unicode box-drawing characters.

I'm not sure how using a groff extension can make things more portable.
This change works for me on Linux, but what about OpenBSD or SunOS,
which as far as I know do not have groff? Do other roff implementations
know about the \\[uNNNN] construct at all?

One more question below.

> 
> Index: quilt/doc/quilt.1.in
> ===================================================================
> --- quilt.orig/doc/quilt.1.in
> +++ quilt/doc/quilt.1.in
> @@ -229,23 +229,30 @@ pager;
>  the default is \\[lq]\\-FRSX\\[rq].
>  .SH FILES
>  .SS "Example of working tree"
> +.\\" Many roff output devices do not have font support for Unicode's
> +.\\" box-drawing characters (U+2500 to U+257F).
> +.schar \\[u2500] \\-
> +.schar \\[u2502] |
> +.schar \\[u2514] +
> +.schar \\[u251C] +
>  .EX
>  project\\-1.2.3/
> -├── patches/
> -│    ├── series         (list of patches to apply)
> -│    ├── patch1.diff    (one particular patch)
> -│    ├── patch2.diff
> -│    └── ...
> -├── .pc/
> -│    ├── .quilt_patches (content of QUILT_PATCHES)
> -│    ├── .quilt_series  (content of QUILT_SERIES)
> -│    ├── patch1.diff/   (copy of patched files)
> -│    │    └── ...
> -│    ├── patch2.diff/
> -│    │    └── ...
> -│    └── ...
> -└── ...
> +\\[u251C]\\[u2500]\\[u2500] patches/
> +\\[u2502]    \\[u251C]\\[u2500]\\[u2500] series         (list of patches to 
> apply)
> +\\[u2502]    \\[u251C]\\[u2500]\\[u2500] patch1.diff    (one particular 
> patch)
> +\\[u2502]    \\[u251C]\\[u2500]\\[u2500] patch2.diff
> +\\[u2502]    \\[u2514]\\[u2500]\\[u2500] ...
> +\\[u251C]\\[u2500]\\[u2500] .pc/
> +\\[u2502]    \\[u251C]\\[u2500]\\[u2500] .quilt_patches (content of 
> QUILT_PATCHES)
> +\\[u2502]    \\[u251C]\\[u2500]\\[u2500] .quilt_series  (content of 
> QUILT_SERIES)
> +\\[u2502]    \\[u251C]\\[u2500]\\[u2500] patch1.diff/   (copy of patched 
> files)
> +\\[u2502]    \\[u2502]    \\[u2514]\\[u2500]\\[u2500] ...
> +\\[u2502]    \\[u251C]\\[u2500]\\[u2500] patch2.diff/
> +\\[u2502]    \\[u2502]    \\[u2514]\\[u2500]\\[u2500] ...
> +\\[u2502]    \\[u2514]\\[u2500]\\[u2500] ...
> +\\[u2514]\\[u2500]\\[u2500] ...
>  .EE
> +.fi

That "fi" doesn't seem a make a difference, can you explain the purpose?

>  .PP
>  The
>  .I patches
> 
> 
> _______________________________________________
> Quilt-dev mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/quilt-dev


-- 
Jean Delvare
SUSE L3 Support



reply via email to

[Prev in Thread] Current Thread [Next in Thread]