Re: 4GL forms with non-informix graphics - also 4gl DISPLAY statement using ASCII graphics
Mike Aubury <[email protected]>
| Newsgroups | gmane.comp.lang.4gl.aubit.general |
|---|---|
| Message-ID | <CAGAq4WFkEmsRbVnw7sbXZ4uxhA8_G7FM9g6k1+ZwWeHjaoPqMg@mail.gmail.com> |
I'm not really sure - but I think the "right" way to do this is probably to hack a special terminfo definition that uses the characters for double lines instead of single ones ? On 24 March 2015 at 16:01, Malcolm Perrior <[email protected]> wrote: > 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 > > > > ********************************************************************** > The information contained in this email is intended only for the > individual or entity to whom it is addressed. It may contain privileged and > confidential information and if you are not an intended recipient you must > not copy, distribute or take any action in reliance on it. If you have > received this email in error, please notify us immediately by telephone on > (020) 8628 3456. Please also destroy and delete the message from your > computer. > > Any opinions expressed in this message are those of the sender only and do > not necessarily represent the views of Foresters. The sender may not be > authorised to give financial advice and nothing in this message should be > construed as offering such advice or entering into any contract on behalf > of any Foresters Company. > > Forester Life Limited is authorised by the Prudential Regulation Authority > and regulated by the Financial Conduct Authority and Prudential Regulation > Authority. > > Forester Fund Management Limited is authorised and regulated by the > Financial Conduct Authority. The Children’s Mutual is a trading name of > Forester Fund Management Ltd. > > Companies within the Foresters UK Group are registered in England as > follows: > Forester Life Limited 2997655, Forester Fund Management Limited 4315370 > and Forester Holdings (Europe) Limited 3013082. > > Registered Offices for all companies within the Foresters UK Group: > Foresters House, 2 Cromwell Avenue, Bromley, BR2 9BF. T 020 8628 3400. F > 020 8628 3500. E [email protected] 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 > > ------------------------------------------------------------------------------ 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