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

Bug#433455: /usr/bin/pdftex: $TEXEDIT default doesn't cope with spaces in filenames

Johannes Berg <johannes@sipsolutions.net> wrote:

> When interactively running tex over any document with an error it will stop
> and ask what to do, possibilities include "edit" (by pressing 'e'.) This has
> a slight bug: the default appears to be 'vi +%d %s' but no quoting of the %s
> filename argument is done, thus a document with a space leads to the command
> line
> |  vi +3 name with spaces.tex
> making vi open three new buffers. At minimum, the $TEXEDIT default should be
> 'vi +%d "%s"'.

That's correct.  However - I have no idea where the TEXEDIT default is

$ grep TEXEDIT src/Packages/texlive-new/texlive-bin-2007/build/source/texk/web2c/pdftexdir/*
$ grep TEXEDIT src/Packages/texlive-new/texlive-bin-2007/build/source/texk/web2c/*
$ grep TEXEDIT /etc/texmf/texmf.d/*

Can anyone help me out?  Maybe someone with the TeXBook at hand...

Regards, Frank
Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)

Reply to: