On Tue, Feb 21, 2012 at 10:56:39AM -0500, Richard Jasmin wrote: > Package: ncurses-bin > Version: 5.7+20100313-5 > Severity: normal > > Stair stepping is caused by lack of inititive on programmer's part to double > verify code writes to screen correctly.
The problem as reported would be a bug in the application using ncurses, which is not identified in this report. When (n)curses is initialized, it sets the terminal modes to allow (among other things) using carriage return and line feed for cursor movement. An application which starts ncurses and then prints to the screen text ending with newlines will do exactly what you're describing. A newline is a line-feed. In raw mode, that will cause the cursor to move down by one row. In cooked mode, the terminal driver precedes the line-feed with a carriage return. -- Thomas E. Dickey <dic...@invisible-island.net> http://invisible-island.net ftp://invisible-island.net
signature.asc
Description: Digital signature