[comp.unix.aux] infocmp

d88-jwa@dront.nada.kth.se (Jon W{tte) (02/01/91)

Re infocmp:

It seems that A/UX 2.0 misses this essential tool for decompiling
terminfo databases. Nor does "untic" exist. I hope this failing is
remedied in 2.0.1, and wonder where I can get the tool meanwhile.
(I don't look forward to transferring the compiled entry to another
machine and try to get anything reasonable out of it...)

							h+
::::::::       Jon W{tte, Stockholm, Sweden, h+@nada.kth.se       ::::::::
"The IM-IV file manager chapter documents zillions of calls, all of which
seem to do almost the same thing and none of which seem to do what I want
them to do."  --  Juri Munkki (jmunkki@hut.fi) in comp.sys.mac.programmer

shwake@raysnec.UUCP (Ray Shwake) (02/03/91)

d88-jwa@dront.nada.kth.se (Jon W{tte) writes:

>It seems that A/UX 2.0 misses this essential tool for decompiling
>terminfo databases. Nor does "untic" exist. I hope this failing is
>remedied in 2.0.1, and wonder where I can get the tool meanwhile.
>(I don't look forward to transferring the compiled entry to another
>machine and try to get anything reasonable out of it...)

	Since the "compiled" terminfo is not architecture-dependent, you
could certainly move the entry to a system which includes infocmp. The
source *is* available on the UNIX System Toolchest, but it'll cost a few bucks.

-----------  
uunet!media!ka3ovk!raysnec!shwake				shwake@rsxtech

domo@tsa.co.uk (Dominic Dunlop) (02/05/91)

In article <1991Jan31.173912.21579@nada.kth.se>
d88-jwa@dront.nada.kth.se (Jon W{tte) writes:
> 
> Re infocmp:
> 
> It seems that A/UX 2.0 misses this essential tool for decompiling
> terminfo databases. Nor does "untic" exist. 

This is a result of A/UX 2.0 still being based on a very old (highly
stable, in marketing terms) AT&T release of UNIX: System V, release 2.
Release 3.0 brought infocmp and untic as complements to tic, along with
other Good Stuff, such as Honey Danber UUCP.  While A/UX has about the
lowest rough edge count of any 5.2 implementation I've met, a) by now
it's mot unreasonable to expect that the rough edges have been rubbed
off AT&T's five-year old source code; and b) I want my 5.3 (at least).

> [I] wonder where I can get the tool meanwhile.

Way back in volume 5 of comp.std.unix (early 1986), there is an untic.
You should be able to get the source off some archive somewhere.  I did
so in a previous life, and although the source didn't follow me into
this one, I recall that it worked as billed.

> (I don't look forward to transferring the compiled entry to another
> machine and try to get anything reasonable out of it...)

Well, it should work.  To quote term(4)

	  The [compiled terminfo] format has been chosen so that it
	  will be the same on all hardware.  An 8 or more bit byte is
	  assumed, but no assumptions about byte ordering or sign
	  extension are made.

You also need to look at this man page if you want to write untic
yourself...
-- 
Dominic Dunlop

liam@cs.qmw.ac.uk (William Roberts;) (02/06/91)

In <1991Feb4.165347.8462@tsa.co.uk> domo@tsa.co.uk (Dominic Dunlop) writes:

>> (I don't look forward to transferring the compiled entry to another
>> machine and try to get anything reasonable out of it...)

>Well, it should work.  To quote term(4)

>	  The [compiled terminfo] format has been chosen so that it
>	  will be the same on all hardware.  An 8 or more bit byte is
>	  assumed, but no assumptions about byte ordering or sign
>	  extension are made.

It really does work: the A/UX 2.0 terminfo files work unmodified on SUn3 and 
Sun4 machines.
--

William Roberts                 ARPA: liam@cs.qmw.ac.uk
Queen Mary & Westfield College  UUCP: liam@qmw-cs.UUCP
Mile End Road                   AppleLink: UK0087
LONDON, E1 4NS, UK              Tel:  071-975 5250 (Fax: 081-980 6533)