Searching \ for 'Clearing Screen' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/index.htm?key=clearing+screen
Search entire site for: 'Clearing Screen'.

Truncated match.
PICList Thread
'Clearing Screen'
2003\02\27@084846 by Sid Weaver

picon face
Does anyone know of a command that will clear the display screen, something
like the "debug cls" command in Stamp?

Thanks

Sid

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics

2003\02\27@100827 by Ian McLean

flavicon
face
On an LCD you mean?  Send an 01h instruction to the LCD.  This works on most
LCD's based on or similar to the Hatachi HD44780.

Rgs
Ian

{Original Message removed}

2003\02\27@102139 by Sid Weaver

picon face
In a message dated 02/27/2003 10:09:00 Eastern Standard Time,
spam_OUTianmcleanTakeThisOuTspamOPTUSHOME.COM.AU writes:


> On an LCD you mean?  Send an 01h instruction to the LCD.  This works on most
> LCD's based on or similar to the Hatachi HD44780.
>

No, I am referring to the monitor screen.
Sid

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics

2003\02\27@110106 by Ned Konz

flavicon
face
On Thursday 27 February 2003 05:48 am, Sid Weaver wrote:
> Does anyone know of a command that will clear the display screen,
> something like the "debug cls" command in Stamp?

It depends on what terminal emulation you're using.
On the VT-100, its

<ESC>[2J

where <ESC> of course is the ASCII ESC character (decimal 27).

So you just have to figure out how to output that sequence in your
language.

--
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics

2003\02\27@111534 by Sid Weaver

picon face
In a message dated 02/27/2003 11:01:53 Eastern Standard Time,
.....nedKILLspamspam@spam@BIKE-NOMAD.COM writes:


{Quote hidden}

I'm using PBasic and displaying either with Hyperterminal or the debug window
in the Stamp Editor.  Chip is a 16F876.  Any suggestions?

Sid

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics

2003\02\27@113158 by Ian McLean

flavicon
face
This may start a war, but what the heck ...

Do yourself a big favour and drop Hyperterminal ;)  What a piece of rubbish.
Get your hands on a real terminal emulator, such as Teraterm, available free
off the Internet at hp.vector.co.jp/authors/VA002416/teraterm.html.
This allows you to save your settings in a .INI file, and doesn't annoyingly
ask you every time you start it to enter a name for the connection.

If you use VT100, the command sequence stated will work but does not reset
the cursor to start of page.  Add a carriage return at the end, i.e.
<ESC>[2J<CR>

Rgs
Ian

{Original Message removed}

2003\02\27@120453 by William Chops Westfield

face picon face
the usual sequence to clear the screen and home the cursor on a VT100-style
terminal (which is almost anything you're likely to find these days) is
actually <esc>[H<esc>[J (which is actually HOME, Clear to end-of-page.)
The esc-[2J does something like clear entire page without changing the
cursor position, which is pretty uncommon.

BillW

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics

More... (looser matching)
- Last day of these posts
- In 2003 , 2004 only
- Today
- New search...