From owner-freebsd-questions@FreeBSD.ORG Tue Jul 11 13:09:39 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA71716A4DD for ; Tue, 11 Jul 2006 13:09:39 +0000 (UTC) (envelope-from petermatulis@yahoo.ca) Received: from web60014.mail.yahoo.com (web60014.mail.yahoo.com [209.73.178.77]) by mx1.FreeBSD.org (Postfix) with SMTP id 3EE8443D68 for ; Tue, 11 Jul 2006 13:09:39 +0000 (GMT) (envelope-from petermatulis@yahoo.ca) Received: (qmail 72505 invoked by uid 60001); 11 Jul 2006 13:09:38 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.ca; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=0QZjflv3Kouqb++M+eQPxtKGZY6Xh4u4B7OTWnk7v5iL+vWeYl2NnfJjlp3F5tnHVqx+kJhWP07zDPx5ScwXwI42rWFBSWseSkhmRPFRD/g6TOGBLiZikkbsirvefn8kGaKnzTHjoU8/e5BpoqYgCFz3UdP9jaByQypSMj+XUPo= ; Message-ID: <20060711130938.72503.qmail@web60014.mail.yahoo.com> Received: from [66.131.121.105] by web60014.mail.yahoo.com via HTTP; Tue, 11 Jul 2006 09:09:38 EDT Date: Tue, 11 Jul 2006 09:09:38 -0400 (EDT) From: Peter To: Giorgos Keramidas In-Reply-To: <20060711125448.GA77175@gothmog.pc> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-questions Subject: Re: been buggin' me for a while now (console resolution) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jul 2006 13:09:39 -0000 --- Giorgos Keramidas wrote: > On 2006-07-11 08:43, Peter wrote: > >--- Giorgos Keramidas wrote: > >>On 2006-07-10 23:32, Peter wrote: > >>>--- Stubborn wrote: > >>>> You need to recompile your kernel with below > >>>> options VESA > >>> > >>> Allright, did that. > >>> > >>>> You need to include these in your rc.conf > >>>> allscreens_flags="132x25" > >>> > >>> I'm trying manually first and it's a "no go". This is the output > of > >>> 'vidcontrol -i mode': > > > > [snip] > > > > 34 (0x022) 0x00000001 T 80x60 8x8 0xb8000 32k 32k > 0x00000000 32k > > > >> The 132x25 mode doesn't work for all video adapters, AFAIK. > >> > >> The best I have been able to use almost everywhere is 80x30. > > > > I can manually get 80x60 with 'vidcontrol 80x60' and this is good > > enough for me. How do I automate this at bootup? > > By setting your preferred mode in `/etc/rc.conf': > > allscreens_flags="80x30" > > Note that for non-default modes, you also have to set up a font in > your > `rc.conf' file, otherwise vidcontrol will refuse to change the > console > mode at bootup, so a more complete example would be: > > font8x8="iso-8x8.fnt" > allscreens_flags="80x60" > > After saving these in your `/etc/rc.conf' file you don't have to > reboot > for them to take effect, something like the following should work > too: > > hostname# /bin/sh > # vidcontrol -f 8x8 iso-8x8.fnt > # for dev in /dev/ttyv* ; do vidcontrol 80x60 < "$dev" ; done Thank you. I did it the old fashioned way (reboot). Bonus question: I have the following in my .xinitrc file: aterm -e screen & What is happening is that neither /etc/profile nor ~/.profile are being read. How can I get either of them to be sourced? Peter __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com