Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jul 2006 09:09:38 -0400 (EDT)
From:      Peter <petermatulis@yahoo.ca>
To:        Giorgos Keramidas <keramida@ceid.upatras.gr>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: been buggin' me for a while now (console resolution)
Message-ID:  <20060711130938.72503.qmail@web60014.mail.yahoo.com>
In-Reply-To: <20060711125448.GA77175@gothmog.pc>

next in thread | previous in thread | raw e-mail | index | archive | help

--- Giorgos Keramidas <keramida@ceid.upatras.gr> wrote:

> On 2006-07-11 08:43, Peter <petermatulis@yahoo.ca> wrote:
> >--- Giorgos Keramidas <keramida@ceid.upatras.gr> wrote:
> >>On 2006-07-10 23:32, Peter <petermatulis@yahoo.ca> wrote:
> >>>--- Stubborn <coldlostsick@yahoo.com.sg> 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 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060711130938.72503.qmail>