[comp.databases] Borders in Informix 4gl Programs

rick@crash.cts.com (Rick Stout) (10/11/89)

I am developing an application in Informix 4gl and having trouble 
changing the borders of windows from the default characters (-|+)
to solid single or double lines.

According to the manual it is based on entries in the termcap file
for whatever terminal your using.  I'm using a Compaq 386 with a
VGA color monitor and SCO Xenix.  Also I log in remotely with a Compaq 
portable also running SCO Xenix with a monochrome monitor.  I always
accept the 'ansi' test at login.


The manual gives an example for a Wyse 50 terminal where it shows the
three entries to the termcap file.

The first sets graphics mode on.  The second turns it off and the last one
defines the border characters.  The entry to define the borders looks
something like this:

	:gb=2135z6:\

I just used the examples they provided for setting graqhics mode on
and off (maybe thats my problem).

	:gs=\EH^B:\	(sets it on)
	:ge=\EH^C:\	(turns it off)

By the way, should ^B be entered into the termcap as a ^B or as a carat and
then a "B"?


Anyway, my ascii tables say that a horizontal double line should be
an ascii 205, a vertical line an ascii 186, and so on, giving be an
entry that would look like this:

	:gb=201200187188205186:\

To make a long story short, it doesnt work.  I know it reads the termcap
but still is defaulting to the '+'s and '-'s.

Does anyone have any insight for me?

Thanks

Rick