In article <[EMAIL PROTECTED]>, imm <[EMAIL PROTECTED]> wrote:
> However - it occurs to me this is really just a shell running in a > terminal. So... does anybody know how xterm (or equivalent) passes > resize info to the bash or sh or csh (or whatever) process that is > running within it? You are opening pandora's box. Child process of terminal programs are sent a SIGWINCH signal when the terminal has been resized/changed. The child process can then query the terminal about the new size using traditional termcap/terminfo escape sequences. I'm not sure implementing terminal line discipline for your program (both the terminal and the program) is really worth it. I consider the term* stuff ugly, and and headache to handle most of the times. OOB is much more clean. Of course, you can always implement just a minimal form of escape syntax just to query about the new window size (unless you're planning to re-implement the world afterwards). Bests _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

