Joe R.
Joe R.

Reputation: 2052

Can I define a ISQL or I4GL form wider than 80 columns?

The docos say "screen size 80 by 20" but I would like to go to 132 columns wide.

Upvotes: 1

Views: 168

Answers (1)

Jonathan Leffler
Jonathan Leffler

Reputation: 754400

You can if the termcap or terminfo entry supports it. You 'simply' specify the size on the SCREEN line in the form.

In principle, I4GL should detect the screen size automatically, and work happily. However, there's a chance that you might need to do more than you really should - setting COLUMNS and ROWS as environment variables, for example. And don't rely on I4GL detecting changes in window size reliably (SIGWINCH).

Upvotes: 1

Related Questions