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

Bug#111885: tetex-bin: texconfig depends on vi



On Mon, Sep 10, 2001 at 10:43:26PM +0200, Adrian Bunk wrote:
> On Mon, 10 Sep 2001, Julian Gilbey wrote:
> > unfortunately this option is not displayed.  Here's a patch:
> >
> > --- texconfig.orig	Mon Sep 10 20:25:49 2001
> > +++ texconfig	Mon Sep 10 20:27:30 2001
> > @@ -1773,6 +1773,7 @@
> >  " 23 80 12 \
> >      "EXIT"	'exit' \
> >      "CONF"	'show configuration' \
> > +    "PREF"	'select preferred editor and pager' \
> >      "REHASH"	'rebuild ls-R database' \
> >      "FORMATS"	'formats' \
> >      "HYPHEN"	'hyphenation' \
> 
> 
> sensible-pager and sensible-editor are intended to tae care of the PAGER
> and EDITOR environment variables, so we should use them. The patch is
> simple:

Absolutely agreed; yours is the correct Debian-specific patch.
However, the patch above should also be applied and sent upstream;
it's clearly an oversight.  (I can contact Thomas if necessary.)

> --- texconfig.old       Mon Sep 10 22:36:12 2001
> +++ texconfig   Mon Sep 10 22:38:17 2001
> @@ -37,9 +37,9 @@
>  tmpdir=${TMPDIR-/tmp}/texconf$$
>  tmpmenu="$tmpdir"/menu.out
>  tmpans="$tmpdir"/answer.out
> -std_pager=more
> +std_pager=sensible-pager
>  xdvi_shrink_scale=75
> -std_editor=vi
> +std_editor=sensible-editor

   Julian

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

         Julian Gilbey, Dept of Maths, Queen Mary, Univ. of London
       Debian GNU/Linux Developer,  see http://people.debian.org/~jdg
          NEW: Visit http://www.helpthehungry.org/ to do just that



Reply to: