$OpenBSD: patch-settatr_c,v 1.2 2009/03/26 18:25:28 naddy Exp $
--- settatr.c.orig	Thu Mar 26 12:17:56 2009
+++ settatr.c	Thu Mar 26 12:18:04 2009
@@ -15,7 +15,7 @@ set_terminal_attributes()
 	ioctl ( 0, TIOCGETP, &sg );
 	if (access(".stty", 0) == -1) {	/* not already set up */
 		sg.sg_erase = '';
-		sg.sg_kill  = '';
+		sg.sg_kill  = 21; /* ^U */
 		sg.sg_flags |= XTABS;
 	}
 	sg.sg_flags |= ECHO;
@@ -25,12 +25,12 @@ set_terminal_attributes()
 	ioctl ( 0, TIOCSETP, &sg );
 
 	ioctl ( 0, TIOCGETC, &tc );
-	tc.t_intrc  = '';
+	tc.t_intrc  = 3; /* ^C */
 	ioctl ( 0, TIOCSETC, &tc );
 
 	ioctl ( 0, TIOCGLTC, &lt );
-	lt.t_werasc = '';
-	lt.t_rprntc = '';
+	lt.t_werasc = 23; /* ^W */
+	lt.t_rprntc = 18; /* ^R */
 	ioctl ( 0, TIOCSLTC, &lt );
 #endif
 #ifdef SYSV
