From owner-freebsd-questions Sun Dec 26 13:19:49 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dorifer.heim3.tu-clausthal.de (dorifer.heim3.tu-clausthal.de [139.174.243.252]) by hub.freebsd.org (Postfix) with ESMTP id 1B6C214BE4 for ; Sun, 26 Dec 1999 13:19:47 -0800 (PST) (envelope-from olli@dorifer.heim3.tu-clausthal.de) Received: (from olli@localhost) by dorifer.heim3.tu-clausthal.de (8.8.8/8.8.8) id WAA13056 for freebsd-questions@FreeBSD.ORG; Sun, 26 Dec 1999 22:19:46 +0100 (CET) (envelope-from olli) Date: Sun, 26 Dec 1999 22:19:46 +0100 (CET) From: Oliver Fromme Message-Id: <199912262119.WAA13056@dorifer.heim3.tu-clausthal.de> To: freebsd-questions@FreeBSD.ORG Subject: Re: cons25 && (midc, /stand/sysinstall, etc) Organization: Administration TU Clausthal Reply-To: freebsd-questions@FreeBSD.ORG MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: TIN [version 1.2 RZTUC(3) PL2] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Duke Normandin wrote in list.freebsd-questions: > TERM=cons25 > vidcontrol -b lightblue -c destructive -m on 80x25 white blue > > 2 problems: > a. midc & /stand/sysinstall come up in color, except the borders around > every "window" are only "chars", i.e. "garbage" What font are you using? If it's a Latin1 font (ISO 8859-1), then you should use TERM=cons25l1, not cons25. The easiest way to accomplish this is to replace "cons25" by "cons25l1" in your /etc/ttys file (type "kill -HUP 1" to let the change take effect without having to reboot). The log out and log in, and your TERM should be set correctly. > b. when I exit midc & /stand/sysinstall my screen is back to the default > white on black. Sorry, can't help you about this one. I'm not using colors at all. In my opinion, a real UNIX console is not supposed to have colors. :-) > Mail archives indicated that these (and others, I suppose) apps. reset > the console but did not offer much of a solution. Would a simple shell > script that ran midc (for example) and did the vidcontrol thing as above > work? Probably. #!/bin/sh - midc "$@" vidcontrol ... [whatever] Save the above as /usr/local/bin/mc, chmod 755 it, and you should be done. Regards Oliver -- Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany (Info: finger userinfo:olli@dorifer.heim3.tu-clausthal.de) "In jedem Stück Kohle wartet ein Diamant auf seine Geburt" (Terry Pratchett) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message