Re: running texconfig on a console

2002-10-29 Thread Christopher Pinon
Thanks to George, Reinhard, and Adrian for their helpful points.  Since
the Debian system is an i386, dialog is no doubt what texconfig is
missing. I'll add dialog this evening to verify this!

Regards,
Christopher Pinon



Re: running texconfig on a console

2002-10-29 Thread George White
On Tue, 29 Oct 2002, Reinhard Kotucha wrote:

> > "George" == George N White <[EMAIL PROTECTED]> writes:
> 
> > The "nice" menu display is done using the "dialog" utility, so
> > you should check that dialog is installed and works with your
> 
> teTeX provides its own dialog, called tcdialog, which uses its own
> termcap library.  Can you invoke tcdialog from the commandline?

This seems to be system dependent.  From TeXlive's texconfig:

# Some systems have their own dialog. Use it then and do not use
# faked TERM and TERMINFO variables when calling that dialog.

"Some systems" appears to be defined as BSD and linux.  My SGI does
indeed use tcdialog.

--
George White <[EMAIL PROTECTED]> 
Head of St. Margarets Bay, Nova Scotia




Re: running texconfig on a console

2002-10-29 Thread Adrian Bunk
On Mon, 28 Oct 2002, Christopher Pinon wrote:

> Hi again,

Hi Christopher,

> I have a question about running texconfig on a console.  On one machine
> that I sometimes use (Slackware), running texconfig results in a nice
> menu of options that you can choose from.  On another machine (Debian
> Potato), running texconfig simply results in a list of options (no nice
> menu).  I was wondering what exactly is required for texconfig to
> present a menu.  I thought at first that ncurses was the requirement,
> but the Debian system has ncurses (both 4 and 5) installed, so something
> else must (also) be needed.

Look at the dependencies of the Debian package of tetex-bin (the package
that includes texconfig):

<--  snip  -->

$ apt-cache show tetex-bin
Package: tetex-bin
Priority: standard
Section: tex
Installed-Size: 5898
Maintainer: teTeX maintainers <[EMAIL PROTECTED]>
Architecture: i386
Version: 1.0.6-7
...
Depends: libc6 (>= 2.1.2), libpng2, libstdc++2.10, libz1, tetex-lib (>=
1.0.6-6), xlib6g (>= 3.3.6), tetex-lib (>= 1.0.6), tetex-base (>= 1.0-5),
ed, debianutils (>= 1.13.1)
Pre-Depends: dpkg-perl
Recommends: dialog
Suggests: lpr, gs, tetex-extra, texinfo
...

<--  snip  -->


You need the dialog package.


> Thanks,
> Ch. Pinon

cu
Adrian

-- 

   "Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
   "Only a promise," Lao Er said.
   Pearl S. Buck - Dragon Seed





Re: running texconfig on a console

2002-10-28 Thread Reinhard Kotucha
> "George" == George N White <[EMAIL PROTECTED]> writes:

> The "nice" menu display is done using the "dialog" utility, so
> you should check that dialog is installed and works with your

teTeX provides its own dialog, called tcdialog, which uses its own
termcap library.  Can you invoke tcdialog from the commandline?

Regards,
  Reinhard

-- 

Reinhard Kotucha Phone: +49-511-27060390
Marschnerstr. 25
D-30167 Hannover  mailto:reinhard@;kammer.uni-hannover.de

Microsoft isn't the answer. Microsoft is the question, and the answer is NO.






Re: running texconfig on a console

2002-10-28 Thread George N. White III
On Mon, 28 Oct 2002, Christopher Pinon wrote:

> Hi again,
>
> I have a question about running texconfig on a console.  On one machine
> that I sometimes use (Slackware), running texconfig results in a nice
> menu of options that you can choose from.  On another machine (Debian
> Potato), running texconfig simply results in a list of options (no nice
> menu).  I was wondering what exactly is required for texconfig to
> present a menu.  I thought at first that ncurses was the requirement,
> but the Debian system has ncurses (both 4 and 5) installed, so something
> else must (also) be needed.

The "nice" menu display is done using the "dialog" utility, so you
should check that dialog is installed and works with your console.
For example, the TERM environment variable set incorrectly:

$ TERM=unknown dialog --yesno '\n' 4 20 ; echo $?
Error opening terminal: unknown.
1

Texconfig trys to ensure that TERM has a sensible value
before running dialog (see the "check_terminal" function).

-- 
George N. White III <[EMAIL PROTECTED]> tel: 902.426.8509
Bedford Institute of Oceanography, Nova Scotia, Canada (TZ=AST4ADT)




running texconfig on a console

2002-10-28 Thread Christopher Pinon
Hi again,

I have a question about running texconfig on a console.  On one machine
that I sometimes use (Slackware), running texconfig results in a nice
menu of options that you can choose from.  On another machine (Debian
Potato), running texconfig simply results in a list of options (no nice
menu).  I was wondering what exactly is required for texconfig to
present a menu.  I thought at first that ncurses was the requirement,
but the Debian system has ncurses (both 4 and 5) installed, so something
else must (also) be needed. 

Thanks,
Ch. Pinon