Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2003-02

nCrt Window resize problem

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Andrea Weikert

Hi,

I'm porting an old DOS program to Linux as a console app. So far I'm using the nCrt replacement, because it allows me to determine the terminal size at startup and so I can adjust the output correspondingly, which works fine. What I'd like to do is somehow disallow the resize of that terminal window. Is that possible at all? The only possibility I could think of so far is to handle the SIGWINCH signal and 'redraw' the window, but that would require a major rewrite, so I want to consider other possibilities first. I'd appreciate any help as to how this can be done.

-- Andrea

Reply by email