deutsch@jplgodo.UUCP (Michael Deutsch ) (12/31/87)
I need help from a CURSES hacker preferably under XENIX. I am using the standard CURSES interface in my application and I've run into the following problems. 1. I am unable to locate "wattrset()" function, nor are the constant attributes A_STANDOUT, A_UNDERLINE, A_BLANK, etc. defined anywhere i've tried, such as: "curses.h" or "term.h". All I've found is "wstandout()" and "wstandend()"...... And I'd like to avoid using lower level variables such as: SO, SE, US, UE, etc. 2. For some strange reasons the "wcleartoel()" does not work in all cases, although it is clear that it is being executed, by the way I do "wrefresh(win)" after I try to clear to end of line. I found that "nl()", crbreak(), etc. can cause some strange results, but I was unable to solve the "wcleartoel()" problem yet. 3. The output on my WYSE-50 terminal looks like you know what, while when I use "vi()" and some other cursor addressing programs things seem to be normal. The problem I've noticed is that the column addressing seems to be brain damaged, while rows seem to make sense. The output on the XENIX monitor is O.K. 4. If you have solved these problems or know the solution please reply by E-mail or you may call collect Mike at: (619) 452 - 8711 Your TIME and help are greatly appreciated.
mike@ISIDAPS5.UUCP (Mike Maloney) (07/21/88)
I've been using curses to write a windowing system for a real-time data aquisition system. The system will primarily run on one of the console terminals (tty01 - tty12), and I'd like to take advantage of some of the nifty display features such as color and graphics characters. I have found that if I uses the termcap version of curses, I can use graphics characters (for boxes, lines, etc.), but I am limited to two color attributes: standout, and normal. By sending escape sequences to the console at initialization, I can define 'standout' and 'normal' to be any colors I want. However, I would like to use the terminfo version for compatibility with other System V Unixes. I am stymied in my attempts to display graphics characters with terminfo. This is presumably because <tinfo.h> defines the attribute A_STANDOUT as 000200, the high bit of the character ('graphics' characters in the extended ASCII set on the PC all have this bit set). I have tried or'ing in A_ALTCHARSET rather than the A_STANDOUT bit to no avail. Let's face it, boxes of hyphens, equal-signs, and pipe-characters look pretty grungy compared to other workstation windowing displays. Does anybody out there know how I can have my cake and eat it too? Also, when and how will curses support color? Is SCO going to phase out the termcap version when their merge product comes out in the fall? Thanks in advance for any helpful info. -- Mike Maloney "The nice thing about standards Integral Systems, Inc. is that there are so many to Lanham Maryland choose from" - Murphy