Actually the way Circle, and myself, do it is this way:
"\033[H\033[J"
just through that in a sprintf...or if you're using it for class selection
menus and such like I did through it in the SEND_TO_Q
your welcome...
--Ray
On Wed, 24 Sep 1997, David Klasinc wrote:
> On Wed, 24 Sep 1997, John Evans wrote:
>
> > ^[[H^[[J
> > clears the screen, but only if the '^[' are entered 'together'. How does
> > one get ^[ into the code so the clear screen code will work properly?
> >
> > My 'native' editor is, of course, pico, but am willing to learn another
> > to get this to work right.
>
> Hm, I'm using joe... the ^[ is exactly what it reads... :) Control+[
>
> ^ is in fact short for control :)
>
> David!
>
>
> +------------------------------------------------------------+
> | Ensure that you have read the CircleMUD Mailing List FAQ: |
> | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
> +------------------------------------------------------------+
>
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/08/00 PST