Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!dsac!dcscg1!drezac From: drezac@dcscg1.UUCP (Duane L. Rezac) Newsgroups: comp.lang.c Subject: Curses Problem Keywords: Curses Message-ID: <617@dcscg1.UUCP> Date: 9 Nov 89 15:24:57 GMT Distribution: usa Organization: Defense Construction Supply Center, Columbus Lines: 38 HELP!!! I am trying to use the curses package in a c program, and I can not determine what my problem is. When I compile the program and run it, nothing happens (i.e. no screen activity), but if I run it using dbx, the curses routines work!. Any Ideas on what's wrong? (We do not have any curses manuals, only a very weak man page. ) I am compiling with : cc -o test test.c -g -lcurses -ltermcap our system is runing UTX 2.0 (4.3 BSD) #include #include main() { WINDOW *win; initscr(); win=newwin(10,10,10,10); box(win,'+','+'); wprintw(win,"this is a test"); wrefresh(win); endwin(); exit(0); }; Thanks for any help -- +-----------------------+---------------------------------------------------+ | Duane L. Rezac |These views are my own, and NOT representitive of my place| | dsacg1!dcscg1!drezac drezac@dcscg1.dcsc.dla.mil of Employment. | +-----------------------+---------------------------------------------------+