bin/50300: Make the loader's use of terminal-control sequences optional.

Glenn Trewitt glenn at
Tue Mar 25 23:32:37 PST 2003

>Number:         50300
>Category:       bin
>Synopsis:       Make the loader's use of terminal-control sequences optional.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 25 15:20:10 PST 2003
>Originator:     Glenn Trewitt
>Release:        FreeBSD 4.7-RELEASE i386
Carnegie Mellon University
System: FreeBSD 4.6.2-RELEASE FreeBSD 4.6.2-RELEASE #0: Wed Aug 14 21:23:26 GMT 2002 murray at i386
	The loader(8) program sends cursor control commands to the console at
	boot time.  Systems that use serial consoles don't necessarily provide
	support for those (fixed) control sequences.  This can create really
	annoying problems, possibly locking up some terminals.

	The loader sources provide a compile-time #ifdef option (TERM_EMU)
	that enables this functionality, which is always enabled in the
Make the TERM_EMU option selectable in the Makefile.

This is a diff on /usr/src/sys/boot/i386/libi386/Makefile.

The same patch applies to /usr/src/sys/boot/pc98/libpc98/Makefile, but
I have no way to test that.

diff -u Makefile.orig Makefile
--- Makefile.orig       Tue Mar 25 14:58:31 2003
+++ Makefile    Tue Mar 25 14:58:58 2003
@@ -29,7 +29,9 @@
 # Include simple terminal emulation (cons25-compatible)
 # Make "machine" required for all objects
 # (based on the more complete case in sys/i386/boot/

More information about the freebsd-bugs mailing list