Author: Adeodato Simó <dato@net.com.org.es>	vim:ft=diff:
Description: send clear instead of reset (BTS #309866)

Index: rungetty-1.2/rungetty.c
===================================================================
--- rungetty-1.2.orig/rungetty.c
+++ rungetty-1.2/rungetty.c
@@ -484,7 +484,7 @@ open_tty (void)
   /* Write a reset string to the terminal. This is very linux-specific
      and should be checked for other systems. */
   if (!noclear)
-    write (0, "\033c", 2);
+    write (0, "\033[H\033[J", 6);
 
   sa.sa_handler = SIG_DFL;
   sa.sa_flags = 0;
