From owner-freebsd-questions Mon Dec 27 5:42:11 1999 Delivered-To: freebsd-questions@freebsd.org Received: from smtp1.cybersurf.net (smtp1.cybersurf.net [209.197.145.111]) by hub.freebsd.org (Postfix) with ESMTP id 623F014E09 for ; Mon, 27 Dec 1999 05:42:07 -0800 (PST) (envelope-from 01031149@3web.net) Received: from webserver ([209.197.154.193]) by smtp1.cybersurf.net (Netscape Messaging Server 4.05) with SMTP id FNEJG500.Q0A for ; Mon, 27 Dec 1999 06:43:17 -0700 Message-ID: <000401bf5078$d320c120$c19ac5d1@webserver> From: "Duke Normandin" <01031149@3web.net> To: Subject: Re: cons25 && (midc, /stand/sysinstall, etc) Date: Sun, 26 Dec 1999 23:39:26 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3612.1700 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -----Original Message----- From: Oliver Fromme To: freebsd-questions@FreeBSD.ORG Date: Sunday, December 26, 1999 1:18 PM Subject: Re: cons25 && (midc, /stand/sysinstall, etc) >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. > I'm not sure... I've changed it so often that I can't remember what the last one was ;) Anyhow, now that I know what to tinker with, I'll experiment with your suggestion. > > 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. :-) Yeh, but "real UNIX consoles" are for "real UNIX users"... I'm just a UNIX peasant ;) > > > 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. > Thanks for the script example! What does the "$@" do/mean? -duke To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message