Re: ASCII, ASCII, ASCII, ASCII
Posted in 1996
sinyem@pc.jaring.my wrote: :Hi all, :Does anyone have an ASCII conversion table to list all the ASCII characters ? :I'm interested in displaying the ASCII (such as the graphical lines) character :on the screen and for reporting purpose. I need more than the 'fgl_drawbox' :capability and the problem is that I'm not sure what ASCII code to use. :Example on the Informix' Reference Manual is too brief (such as ASCII 7 will :produce bell/beep sound and that it). :Supplementary Info :------------------ :Informix 4gl: 6.x RDS :Terminals: Wyse50, Wyse60, HP, Qume :Emulation: vt100 First I wouldn't do this. It will depend on the terminal used what get's displayed. The fgl_drawbox uses the curses library and thereby the termcap/terminfo definitions for the terminal. That's the way to do things so it works on all terminals. If you do want to do something else you need to look in your terminal manual for the appropriate codes to send to display graphical lines or whatever else you want. The basic stuff the terminal can display you can easily test out by simply desplaying all possible characters. Additionally most terminals have modes set by commands (often ESC-sequenses) that make them display other characters. All this is too much for me. Again, don't do it other than by functions like fgl_drawbox. There may be some other functions in the library at www.iiug.org. If you realy need graphics you better start looking into GUI interfaces. Nils.Myklebust@idg.no NM Data AS, P.O.Box 9090 Gronland, N-0133 Oslo, Norway My opinions are those of my company