kern_cons.c (228631) | kern_cons.c (228632) |
---|---|
1/*- 2 * Copyright (c) 1988 University of Utah. 3 * Copyright (c) 1991 The Regents of the University of California. 4 * All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * the Systems Programming Group of the University of Utah Computer 8 * Science Department. --- 21 unchanged lines hidden (view full) --- 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 * 34 * from: @(#)cons.c 7.2 (Berkeley) 5/9/91 35 */ 36 37#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 1988 University of Utah. 3 * Copyright (c) 1991 The Regents of the University of California. 4 * All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * the Systems Programming Group of the University of Utah Computer 8 * Science Department. --- 21 unchanged lines hidden (view full) --- 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 * 34 * from: @(#)cons.c 7.2 (Berkeley) 5/9/91 35 */ 36 37#include <sys/cdefs.h> |
38__FBSDID("$FreeBSD: head/sys/kern/kern_cons.c 228631 2011-12-17 15:08:43Z avg $"); | 38__FBSDID("$FreeBSD: head/sys/kern/kern_cons.c 228632 2011-12-17 15:11:22Z avg $"); |
39 40#include "opt_ddb.h" 41 42#include <sys/param.h> 43#include <sys/systm.h> 44#include <sys/lock.h> 45#include <sys/mutex.h> 46#include <sys/conf.h> --- 375 unchanged lines hidden (view full) --- 422 if (c == '\n') 423 cn->cn_ops->cn_putc(cn, '\r'); 424 cn->cn_ops->cn_putc(cn, c); 425 } 426 } 427 if (console_pausing && c == '\n' && !kdb_active) { 428 for (cp = console_pausestr; *cp != '\0'; cp++) 429 cnputc(*cp); | 39 40#include "opt_ddb.h" 41 42#include <sys/param.h> 43#include <sys/systm.h> 44#include <sys/lock.h> 45#include <sys/mutex.h> 46#include <sys/conf.h> --- 375 unchanged lines hidden (view full) --- 422 if (c == '\n') 423 cn->cn_ops->cn_putc(cn, '\r'); 424 cn->cn_ops->cn_putc(cn, c); 425 } 426 } 427 if (console_pausing && c == '\n' && !kdb_active) { 428 for (cp = console_pausestr; *cp != '\0'; cp++) 429 cnputc(*cp); |
430 cngrab(); |
|
430 if (cngetc() == '.') 431 console_pausing = 0; | 431 if (cngetc() == '.') 432 console_pausing = 0; |
433 cnungrab(); |
|
432 cnputc('\r'); 433 for (cp = console_pausestr; *cp != '\0'; cp++) 434 cnputc(' '); 435 cnputc('\r'); 436 } 437} 438 439void --- 150 unchanged lines hidden --- | 434 cnputc('\r'); 435 for (cp = console_pausestr; *cp != '\0'; cp++) 436 cnputc(' '); 437 cnputc('\r'); 438 } 439} 440 441void --- 150 unchanged lines hidden --- |