Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site ucf-cs.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!vax135!petsd!peora!ucf-cs!tim From: tim@ucf-cs.UUCP (Tim Curry) Newsgroups: net.unix-wizards Subject: "curses problems" Message-ID: <2146@ucf-cs.UUCP> Date: Sat, 19-Oct-85 06:06:29 EDT Article-I.D.: ucf-cs.2146 Posted: Sat Oct 19 06:06:29 1985 Date-Received: Sat, 26-Oct-85 04:13:56 EDT Organization: Univ. of Central Florida, Orlando Lines: 45 /* * This simple little curses program does not work on my Televideo 925 * * Configuration: 3b2/300 with System 5R2 * Compile command: cc file.c -lcurses * Problem: Line 4 is bad (missing w on word2) line 6 is correct. * The problem is evident by directing stdout to a file and od -c if * you don't have a tvi925. * * Configuration: VAX 11/780 with 4.2BSD * Compile command: cc -DBSD file.c -lcurses -ltermlib * Problem: Must stty -tabs and ug chars not taken into account by curses * * Anyone have any suggestions? I also note that the 4.2bsd curses does * not support attrset or keypad. How is the equivalent accomplished in * 4.2? Do you have to resort to termcap calls for underline and keypad * sequences and then handle them yourself somehow? Finally, where can I * find the public domain curses that I have heard of on the net and does * it support the sys5 calls or the bsd calls? All info is appreciated. * Thanks in advance. * uucp: decvax!ucf-cs!tim * csnet/arpanet: tim.ucf-cs@csnet-relay */ #includemain() { initscr(); #ifdef BSD standout(); #else attrset(A_UNDERLINE); #endif move(4,10); printw("word1"); move(4,17); printw("word2"); move(6,10); printw("word3"); move(6,18); printw("word4"); refresh(); endwin(); } -- Tim Curry USENET: decvax!ucf-cs!tim ARPANET: tim.ucf-cs@csnet-relay