Deleted Added
full compact
db_input.c (55823) db_input.c (90528)
1/*
2 * Mach Operating System
3 * Copyright (c) 1991,1990 Carnegie Mellon University
4 * All Rights Reserved.
5 *
6 * Permission to use, copy, modify and distribute this software and its
7 * documentation is hereby granted, provided that both the copyright
8 * notice and this permission notice appear in all copies of the

--- 9 unchanged lines hidden (view full) ---

18 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
19 * School of Computer Science
20 * Carnegie Mellon University
21 * Pittsburgh PA 15213-3890
22 *
23 * any improvements or extensions that they make and grant Carnegie the
24 * rights to redistribute these changes.
25 *
1/*
2 * Mach Operating System
3 * Copyright (c) 1991,1990 Carnegie Mellon University
4 * All Rights Reserved.
5 *
6 * Permission to use, copy, modify and distribute this software and its
7 * documentation is hereby granted, provided that both the copyright
8 * notice and this permission notice appear in all copies of the

--- 9 unchanged lines hidden (view full) ---

18 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
19 * School of Computer Science
20 * Carnegie Mellon University
21 * Pittsburgh PA 15213-3890
22 *
23 * any improvements or extensions that they make and grant Carnegie the
24 * rights to redistribute these changes.
25 *
26 * $FreeBSD: head/sys/ddb/db_input.c 55823 2000-01-11 14:54:01Z yokota $
26 * $FreeBSD: head/sys/ddb/db_input.c 90528 2002-02-11 14:14:42Z yar $
27 */
28
29/*
30 * Author: David B. Golub, Carnegie Mellon University
31 * Date: 7/90
32 */
33
34#include <sys/param.h>

--- 149 unchanged lines hidden (view full) ---

184 }
185 break;
186 case CTRL('h'):
187 case 0177:
188 /* erase previous character */
189 if (db_lc > db_lbuf_start)
190 db_delete(1, DEL_BWD);
191 break;
27 */
28
29/*
30 * Author: David B. Golub, Carnegie Mellon University
31 * Date: 7/90
32 */
33
34#include <sys/param.h>

--- 149 unchanged lines hidden (view full) ---

184 }
185 break;
186 case CTRL('h'):
187 case 0177:
188 /* erase previous character */
189 if (db_lc > db_lbuf_start)
190 db_delete(1, DEL_BWD);
191 break;
192 case CTRL('u'):
193 /* delete to beginning of line */
194 if (db_lc > db_lbuf_start)
195 db_delete(db_lc - db_lbuf_start, DEL_BWD);
196 break;
192 case CTRL('d'):
193 /* erase next character */
194 if (db_lc < db_le)
195 db_delete(1, DEL_FWD);
196 break;
197 case CTRL('k'):
198 /* delete to end of line */
199 if (db_lc < db_le)

--- 164 unchanged lines hidden ---
197 case CTRL('d'):
198 /* erase next character */
199 if (db_lc < db_le)
200 db_delete(1, DEL_FWD);
201 break;
202 case CTRL('k'):
203 /* delete to end of line */
204 if (db_lc < db_le)

--- 164 unchanged lines hidden ---