[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Curses/xterm/cursor location oddness



  I'd file this as a bug report, but I don't know whether it's a problem with
curses, xterm, the terminfo files, bash (??), or my own code..

  A dsecription of the problem is fairly simple, though.  After running
some curses-based programs in a Debian xterm, the cursor position appears to
not be properly restored upon returning to the prompt.  Usually this means that
the prompt moves several, or even many, lines up, causing all the text on the
terminal to become confused and hard to read (I usually end up Ctrl-Ling or
running 'reset' to clear the screen)  Non-xterms appear to be fine.

  The other odd bit, now..I see this most often with my programs.  So I suppose
I could be making an error in my Curses programming, not shutting down the
right way.  All I do is to call endwin(); however, the documentation seems to
say that this is correct.  Is it wrong?  Should I be doing something more
sophisticated?

  If it turns out to be a problem in a Debian package I'll file a bug report
ASAP :)

   Thanks for any suggestions,
  Daniel

-- 
Who is General Failure, and why is he reading my hard drive?


Reply to: