Vladimir N. Oleynik writes:
[oweals/busybox.git] / console-tools / reset.c
index 861bd435bc6052eaffe2e9b47dca77c6af53acdd..69b1e846a204116f9b4151f0b8850cde11b12458 100644 (file)
@@ -2,10 +2,8 @@
 /*
  * Mini reset implementation for busybox
  *
- *
- * Copyright (C) 1999,2000 by Lineo, inc.
- * Written by Erik Andersen <andersen@lineo.com>, <andersee@debian.org>
- *        and Kent Robotti <robotti@metconnect.com>
+ * Copyright (C) 1999-2003 by Erik Andersen <andersen@codepoet.org>
+ * Written by Erik Andersen and Kent Robotti <robotti@metconnect.com>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  *
  */
 
-#include "busybox.h"
 #include <stdio.h>
 #include <stdlib.h>
+#include "busybox.h"
 
 extern int reset_main(int argc, char **argv)
 {
-       printf("\033c");
+          printf("\033[?25h\033c\033[J");
        return EXIT_SUCCESS;
 }