Rhino wrote:

----- Original Message ----- From: "untz" <[EMAIL PROTECTED]>
To: <mysql@lists.mysql.com>
Sent: Friday, December 02, 2005 10:47 PM
Subject: Clear Screen in MySQL?


Hello there,

Is there a way to clear the screen in MySQL's command line prompt (mysql>)?

I am using OS X Tiger with MySQL 5....


I don't have a Mac and I'm not running MySQL 5 but when I was at the MySQL prompt in Linux running MySQL Version 4.0.15 just now, the following worked fine:

\! clear

Since 'clear' is a Linux operating system command and Linux and Mac OS X are both forms of Unix, this command might very well work fine for you too.

Please note that the '\! ' in front of the clear command is used to tell MySQL to pass the command back to the OS to handle.


Rhino

That does work in OS X, but it's simpler to just press ctrl-L.

Michael


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to