Subject: Re: A solution for termcap lossage?
To: None <>
From: Wolfgang Solfrank <>
List: tech-userlevel
Date: 04/26/1999 14:06:32

just one thought:

>  Something that comes to mind is to store a
>pointer to a larger buffer (if needed) in the last sizeof(ptr) bytes
>(maybe preceded by a magic number of some sort) at the very end of
>the user-supplied 1kB buffer.  User supplied code scan still manually
>look at the first 1kb-sizeof(ptr)-sizeof(magic)-NUL characters of the
>buffer - I'm sure I've seen some game source do this instead of using
>tgetstr(), tgetnum(), etc.

Probably coded just like some capability, maybe (but not neccessarily)
even in ascii, like zz#12345678.

ws@TooLs.DE     (Wolfgang Solfrank, TooLs GmbH) 	+49-228-985800