4GL forms with non-informix graphics - also 4gl DISPLAY statement using ASCII graphics
Malcolm Perrior <[email protected]>
| Newsgroups | gmane.comp.lang.4gl.aubit.general |
|---|---|
| Message-ID | <A338ECC4DD46BC4B8B313F6AACEEC1E30208E1A3@ukhqexchange2.Foresters.co.uk> |
Hi all The Informix 4GL project I'm converting has been around since SCO termcap days (around 1995). As I recall, the system designers wanted double-line borders rather than single-line, amongst various other things such as the color scheme and menus, so as to emulate the look and feel of Novell Netware... I'm converting this stuff to run on Ubuntu and users will be running it in TUI mode using PuTTY from their windows machines. Anyway; some of the forms were written using 'vi' with ASCII graphics characters for double-line borders (\311, \310, \273, \274, \315, \272) inserted, plus there's quite a few bits of 4gl which builds drop-down menus using code along the lines of "LET lc_char[ln_loop] = ASCII 205" to build a string [n] characters long consisting of the "=" ASCII graphics character, followed by "DISPLAY lc_char AT x,y" to draw a graphics line. We use TERMCAP with a scoansi definition containing a ":gb=" string to describe this. I can't get the code or forms to display the required graphics at all, I just get odd characters with umlauts or cedillas. I've tried setting PuTTY to use CP437, UTF-8, ISO-8859-1:1998 and several others and I've tried compiling our old termcap to a terminfo entry (it compiled fine and created a /usr/share/terminfo/s/scoansi entry for us), but nothing as yet seems to give us what we want. I have tried altering the forms to use the old-style Informix \g method, and that works just fine, giving single-line graphics boxes (but they still want the old look and feel if possible, otherwise I'd just alter the forms and code; although there are hundreds of places I'd have to do this). Any clues, O wise ones? I've had a look around the forums and tried some suggestions but can't make it work... Malcolm Perrior Database Administrator T 020 8628 3618 Foresters Foresters House, 2 Cromwell Avenue Bromley BR2 9BF foresters.com ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Aubit4gl-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss