Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jul 2010 22:51:55 +0200
From:      Polytropon <freebsd@edvax.de>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Text mode screen size max. compatibility
Message-ID:  <20100723225155.33668534.freebsd@edvax.de>
In-Reply-To: <20100723192454.GB7343@dan.emsphone.com>
References:  <20100723202450.ea80c86f.freebsd@edvax.de> <alpine.BSF.2.00.1007231535211.1633@qemg.org> <20100723210814.44ff8bd1.freebsd@edvax.de> <20100723192454.GB7343@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Chuck, Dan, Andrew,

this is exactly what I was looking for. The manpages of resozeterm
and the mentioning of KEY_RESIZE in getch()'s input queue gives a
good solution to call a specific function when in any input loop.
The needed information about the new screen dimensions can then
easily be obtained, and screen features can be rearranged and re-
painted. Ncurses really rocks. :-)

Thank you!


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100723225155.33668534.freebsd>