- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm implementing a Nios II on a DE0-nano board. My C code is executed by Eclipse and a console is accessible to print things (with the printf instruction). I'd like to clear this console but I don't know how to do it. Does someone know? Thanks.Link Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try a right click to the terminal and select "Clear"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- Hi, I'm implementing a Nios II on a DE0-nano board. My C code is executed by Eclipse and a console is accessible to print things (with the printf instruction). I'd like to clear this console but I don't know how to do it. Does someone know? Thanks. --- Quote End --- if you use the console which is integrated into the IDE then click on the "x" icon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Clicking on the "x" is ok but I want it to be cleaned by the C code. More precisely I want to write a word then to clear the console to write something else at the same place.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I haven't checked lately to confirm this, but last time I looked (years ago) the console in Eclipse wasn't a full terminal emulator. In other words it didn't support operations like clearing the screen. If you want to do that you need a terminal emulator program like PuTTY, TeraTerm etc. These typically implement the ANSI standard terminal command set like the windows command shell does.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't think of a simple way to do that with a Nios II cpu so no matter, I'll do things otherwise.
Thanks.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page