tech-userlevel archive

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

Re: tn3270, mset and map3270



On 1 March 2010 10:26, Roy Marples <roy%netbsd.org@localhost> wrote:
> On 28/02/2010 23:17, ITOH Yasufumi wrote:
>>
>> 3. implement termcap as an emulation on terminfo
>>
>> Â Âterminfo programs:
>> Â Â Â Âterminfo database ------------------+
>> Â Â Â Âtermcap database Â-> Â(cap to info) -+-> Âprogram
>> Â Âtermcap programs:
>> Â Â Â Âterminfo database ------------------+
>> Â Â Â Âtermcap database Â-> Â(cap to info) -+-> Â(info to cap) -> Âprogram
>>
>> Why you are going to most complex implementation (3)?
>
> It's not as complex as you make out.
> Both termcap(3) and terminfo(3) calls return data from the terminfo
> database. As every program pass this to tgoto(3) for termcap, or tputs(3)
> for terminfo the diagram goes like this
>
> terminfo programs:
> terminfo database ----> program
>
> termcap programs:
> terminfo database ----> program
>

And how does the TERMCAP environment variable fit into the scheme

terminfo database ----> program

I'm all for progress but to me it still seems the time has not come
yet to ditch this feature which is portable and widely used by
programs that implement non-standard terminals like screen or
rxvt-unicode.

Thanks

Michal


Home | Main Index | Thread Index | Old Index