[ale] Ncurses question

Mark Hurley debian4tux at telocity.com
Sun Jan 27 11:06:20 EST 2002


On Sun, Jan 27, 2002 at 10:16:10AM -0500, Chris Fowler wrote:
> I'm looking to write a simople ncurses program.  I would like to open a file
> and allow the user to view that file using the arrow keys to scroll up or
> down through the file.  I will be using ncurses for this.  Is there a simple
> way to do the file scrolling?

How about taking a look at the source for 'less'?

BTW...it does everything you just described.  But I'm sure that what
you mentioned was just the beginning of something bigger.

- Mark Hurley

---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list