From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078701111688.tru64-unix-managers.marc@archive.invalid> From: Rick Beebe Date: Wed, 25 Mar 1998 22:23:26 +0000 To: tru64-unix-managers Subject: Curses! Problems with curses. Or Terminal. X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078701111688 I have a simple database front-end that I use on a DU4.0B box. It uses curses and I have a slightly bizarre problem with it. The current data entry field is highlighted by printing the field contents (spaces if it's empty) in reverse video and then placing the cursor back at the beginning of the field. When the cursor moves to the next field, this field is overprinted in normal video. The effect is that the current field is highlighted and the rest aren't. Here's the problem. If I run this as myself the cursor is not returning to the beginning of the field (done with a wmove if it matters). It stays at the end so I have a highlighted box that I'm now typing outside of. If I su to root it works fine. I've checked all the environment variables I can find as well as the definitions spit out by stty but I can't see that there's any difference between my terminal definition when I'm me vs when I'm root. I don't profess to be a terminal definition expert, nor do I fully understand whether things are using termcap or terminfo, so I may well be missing something obvious. Any ideas? _______________________________________________________________________ Rick Beebe (203) 785-4566 Network Engineering Manager FAX: (203) 737-4037 ITS-Med Technology Operations Richard.Beebe@yale.edu Yale University School of Medicine P.O. Box 208089, New Haven, CT 06520-8089 _______________________________________________________________________