4 Mar
2004
4 Mar
'04
2:21 p.m.
Doan Ngoc San wrote:
Please, help me, how to detect when terminal window resizes ? My OS is REDHAT.
Your program will get a SINGWINCH signal which you can trap using: InstallSignalHandler (SigWinCh, ...) (unit GPC required). If you're using CRT, you don't have to do this yourself, and ReadKey/ReadKeyWord will return ksScreenSizeChanged/kbScreenSizeChanged when it happens. (But don't use CRT just for this if you wouldn't need it otherwise.) Frank -- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/, 7977168E GPC To-Do list, latest features, fixed bugs: http://www.gnu-pascal.de/todo.html GPC download signing key: 51FF C1F0 1A77 C6C2 4482 4DDC 117A 9773 7F88 1707