[Mono-list] Howto clear the console

Jonathan Stowe jns@gellyfish.com
Tue, 31 Aug 2004 16:45:34 +0100


On Mon, 2004-08-30 at 04:06, Ian MacLean wrote:

> 
> >Anyway how can I do this on linux, or better yet, platform independant.
> > 
> >  
> >
> I think you'll probably need to P/Invoke to ncurses to do this on *nix
> 

Portable.NET has a curses binding already, though I've not tried to use
this with mono, however it shouldn't be too difficult to use the same
approach as used in, say, the Perl module Term::Cap and just read the
appropriate terminal description and output the appropriate strings for
the different capabilities.  If I get bored I'll have a look at this.

/J\