tech-userlevel archive

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

Re: tn3270, mset and map3270



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
Why don't you go and readup on what I've implemented, as you're making assumptions about how it must work and how complex it must be which is definitely not the case.
Thanks
Roy


Home | Main Index | Thread Index | Old Index

AltStyle によって変換されたページ (->オリジナル) /