Re: Changing Console Video Modes

2008-04-22 Thread Edward Ruggeri
On Mon, Apr 21, 2008 at 2:55 PM, Joshua Isom <[EMAIL PROTECTED]> wrote:
>
> On Apr 20, 2008, at 9:28 PM, Edward Ruggeri wrote:
>
>
> > I'm just reading through the manual for FreeBSD, and I am at section
> > 3.2.6 "Changing Console Video Modes."  This discusses how to change
> > the default console resolution.  I would try this out, but as I can
> > only access my FreeBSD box remotely at the moment, I am hesitant to
> > recompile the kernel with the necessary options (I currently get an
> > error when running "#vidcontrol -i mode": "getting active vty:
> > Inappropriate ioctl for device".  I assume this is because the current
> > kernel is insufficient?).  I'm afraid my computer might need to be
> > booted by hand, which I wouldn't be able to do.
> >
> > In any case, lacking the ability to experiment, I am curious about
> > different video modes.  Will greater resolutions allow me to fit more
> > text on the screen in the console?  Of course I know (maybe less than
> > I think) about resolution in terms of graphical environments (e.g.,
> > can see more of a high-resolution image w/ a greater resolution), but
> > is it the same for text?
> >
> > Thanks!
> >
> > Sincerely,
> >
> > -- Ned Ruggeri
> >
>
>  Don't forget to use i386 instead of amd64, since those higher resolutions
> are vesa modes(I also don't think you can get any widescreen resolutions)
> and amd64 can't access the vesa instructions.  You might be able to try
> hacking the loader and change resolutions there but I don't know if it would
> stay that way through boot or what effect X windows would have.
>
>  You could just try a fullscreen xterm.  Using evilwm it can give you the
> look of a console with a higher resolution.

On Mon, Apr 21, 2008 at 2:55 PM, Joshua Isom <[EMAIL PROTECTED]> wrote:
>
> On Apr 20, 2008, at 9:28 PM, Edward Ruggeri wrote:
>
>
> > I'm just reading through the manual for FreeBSD, and I am at section
> > 3.2.6 "Changing Console Video Modes."  This discusses how to change
> > the default console resolution.  I would try this out, but as I can
> > only access my FreeBSD box remotely at the moment, I am hesitant to
> > recompile the kernel with the necessary options (I currently get an
> > error when running "#vidcontrol -i mode": "getting active vty:
> > Inappropriate ioctl for device".  I assume this is because the current
> > kernel is insufficient?).  I'm afraid my computer might need to be
> > booted by hand, which I wouldn't be able to do.
> >
> > In any case, lacking the ability to experiment, I am curious about
> > different video modes.  Will greater resolutions allow me to fit more
> > text on the screen in the console?  Of course I know (maybe less than
> > I think) about resolution in terms of graphical environments (e.g.,
> > can see more of a high-resolution image w/ a greater resolution), but
> > is it the same for text?
> >
> > Thanks!
> >
> > Sincerely,
> >
> > -- Ned Ruggeri
> >
>
>  Don't forget to use i386 instead of amd64, since those higher resolutions
> are vesa modes(I also don't think you can get any widescreen resolutions)
> and amd64 can't access the vesa instructions.  You might be able to try
> hacking the loader and change resolutions there but I don't know if it would
> stay that way through boot or what effect X windows would have.
>
>  You could just try a fullscreen xterm.  Using evilwm it can give you the
> look of a console with a higher resolution.

Interesting; I'll have to try that.

Thank you everyone for the information!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Changing Console Video Modes

2008-04-21 Thread Joshua Isom

On Apr 20, 2008, at 9:28 PM, Edward Ruggeri wrote:


I'm just reading through the manual for FreeBSD, and I am at section
3.2.6 "Changing Console Video Modes."  This discusses how to change
the default console resolution.  I would try this out, but as I can
only access my FreeBSD box remotely at the moment, I am hesitant to
recompile the kernel with the necessary options (I currently get an
error when running "#vidcontrol -i mode": "getting active vty:
Inappropriate ioctl for device".  I assume this is because the current
kernel is insufficient?).  I'm afraid my computer might need to be
booted by hand, which I wouldn't be able to do.

In any case, lacking the ability to experiment, I am curious about
different video modes.  Will greater resolutions allow me to fit more
text on the screen in the console?  Of course I know (maybe less than
I think) about resolution in terms of graphical environments (e.g.,
can see more of a high-resolution image w/ a greater resolution), but
is it the same for text?

Thanks!

Sincerely,

-- Ned Ruggeri


Don't forget to use i386 instead of amd64, since those higher 
resolutions are vesa modes(I also don't think you can get any 
widescreen resolutions) and amd64 can't access the vesa instructions.  
You might be able to try hacking the loader and change resolutions 
there but I don't know if it would stay that way through boot or what 
effect X windows would have.


You could just try a fullscreen xterm.  Using evilwm it can give you 
the look of a console with a higher resolution.



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Changing Console Video Modes

2008-04-21 Thread Erik Trulsson
On Sun, Apr 20, 2008 at 10:28:46PM -0400, Edward Ruggeri wrote:
> I'm just reading through the manual for FreeBSD, and I am at section
> 3.2.6 "Changing Console Video Modes."  This discusses how to change
> the default console resolution.  I would try this out, but as I can
> only access my FreeBSD box remotely at the moment, I am hesitant to
> recompile the kernel with the necessary options (I currently get an
> error when running "#vidcontrol -i mode": "getting active vty:
> Inappropriate ioctl for device".  I assume this is because the current
> kernel is insufficient?).  I'm afraid my computer might need to be
> booted by hand, which I wouldn't be able to do.

You will not need to recompile the kernel.  You do however need
to run vidcontrol(1) from the terminal you want to get information about.

You can try running 'vidcontrol -i mode < /dev/ttyv0' to have vidcontrol
return information about the first virtual console.
(vidcontrol tries to get the information from whatever device is attached to
its stdin.  If this device is not a video console it will return an error.)


> 
> In any case, lacking the ability to experiment, I am curious about
> different video modes.  Will greater resolutions allow me to fit more
> text on the screen in the console?  Of course I know (maybe less than
> I think) about resolution in terms of graphical environments (e.g.,
> can see more of a high-resolution image w/ a greater resolution), but
> is it the same for text?

Depending on which mode you choose, yes, you can get more text on the screen.

Read the vidcontrol(1) manpage for more information on what video modes
might be available.






-- 

Erik Trulsson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Changing Console Video Modes

2008-04-20 Thread Gonzalo Nemmi
Im not sure if this is exactly what you are looking for, but anyways, it is a 
pointer .. so I'm throwing it for you to decide whether it is usefull for 
your case or not:

http://www.linuxquestions.org/questions/bsd-17/1024x768-console-higher-available-366057/#post1867124

I tried it but it didn't work in here .. 
vidcontrol complains before showing giving my a promt and all it get is a:

vidcontrol: cannot activate raster display. Inapropriate ioctl for device
vidcontrol [-CdLHPpx] [-b color] [-c appearance] [-f [size] file]
[-g geometry] [-h size] [-i adapter | mode] [-l screen_map]
[-M char] [-m on | off] [-r foreground background]
[-S on | off] [-s number] [-t N | off] [mode]
[foreground [background]] [show]

and a prompt after that =(

Anyways ... I'm still too new to FreBSD so chances are, I did something wrong.

Still .. I think that getting higher console resolutions is a topic worth 
investigating in order to get a nice res on a 1600x1200 res capable monitor
I really dont care about 1600 at all .. but iḋ like to possiblity to workn on 
a 1024x768 frame buffered console.
 
=)

Blessings

---
Gonzalo Nemmi


On Sunday 20 April 2008 23:28:46 Edward Ruggeri wrote:
> I'm just reading through the manual for FreeBSD, and I am at section
> 3.2.6 "Changing Console Video Modes."  This discusses how to change
> the default console resolution.  I would try this out, but as I can
> only access my FreeBSD box remotely at the moment, I am hesitant to
> recompile the kernel with the necessary options (I currently get an
> error when running "#vidcontrol -i mode": "getting active vty:
> Inappropriate ioctl for device".  I assume this is because the current
> kernel is insufficient?).  I'm afraid my computer might need to be
> booted by hand, which I wouldn't be able to do.
>
> In any case, lacking the ability to experiment, I am curious about
> different video modes.  Will greater resolutions allow me to fit more
> text on the screen in the console?  Of course I know (maybe less than
> I think) about resolution in terms of graphical environments (e.g.,
> can see more of a high-resolution image w/ a greater resolution), but
> is it the same for text?
>
> Thanks!
>
> Sincerely,
>
> -- Ned Ruggeri
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Changing Console Video Modes

2008-04-20 Thread darren kirby
quoth the Edward Ruggeri:
> I'm just reading through the manual for FreeBSD, and I am at section
> 3.2.6 "Changing Console Video Modes."  This discusses how to change
> the default console resolution.  I would try this out, but as I can
> only access my FreeBSD box remotely at the moment, I am hesitant to
> recompile the kernel with the necessary options (I currently get an
> error when running "#vidcontrol -i mode": "getting active vty:
> Inappropriate ioctl for device".  I assume this is because the current
> kernel is insufficient?).  

I got this error too, over a ssh connection. vidcontrol worked fine when I 
tried it from the physical console. This was after rebuilding the kernel 
however.

> I'm afraid my computer might need to be 
> booted by hand, which I wouldn't be able to do.

I guess I would say hold off until you have physical access, because it makes 
no difference unless you are sitting in front. Perhaps it works over serial? 
I am not sure.

> In any case, lacking the ability to experiment, I am curious about
> different video modes.  Will greater resolutions allow me to fit more
> text on the screen in the console?  

Yes. Plus it just looks nicer, for lack of a better term.

> Of course I know (maybe less than 
> I think) about resolution in terms of graphical environments (e.g.,
> can see more of a high-resolution image w/ a greater resolution), but
> is it the same for text?

Can't speak to this issue technically, but it essentially allows you to use 
much smaller, yet readable fonts in the console. 

> Thanks!
>
> Sincerely,
>
> -- Ned Ruggeri

-d
-- 
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
"...the number of UNIX installations has grown to 10, with more expected..."
- Dennis Ritchie and Ken Thompson, June 1972
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Changing Console Video Modes

2005-09-19 Thread Gunter Wambaugh
I haven't kept up with the responses, so I apologize if this is  
duplicate info.  I don't think 1024x768 is possible for FreeBSD < 6.

My /etc/rc.conf has:
font8x16="m.fnt"
allscreens_flags="132x25"
And that yields a decent screen (Not as good as what we get in GNU/ 
Linux mind you).  The m.fnt is from slackware (I think).  And I think  
your kernel needs

options VESA
options SC_PIXEL_MODE
for this to work.

I don't recall where I found this script--maybe it would be of some  
use to you.

http://www.six-two.net/~gunter/vc.sh

I use bash as my shell and put an alias to ls for colors.
~/.bashrc:
alias ls='ls -FG'

On Sep 18, 2005, at 1:06 PM, Harout S. Hedeshian wrote:


Users,

This is my first time on this list so I hope I am  
posting in the
right place. I have been a Linux user for some time and I am trying  
out

FreeBSD as some people recommended it. In my previous Mandrake (now
Mandriva) Linux system, I could pass a kernel parameter in the LILO
configuration file to set the console video mode (like "vga=xxx").  
I ran it
at 1024x768 and sometimes 1280x1024 (depending on the computer) to  
allow
more text on the console. I am trying to do the same for my FreeBSD  
system.

A quick Google search brought up this tutorial:
http://www.mostgraveconcern.com/freebsd/. But, I'm not sure it does  
what I
want. It takes parameters in terms of character-cell dimensions and  
not
pixel dimensions. My question is, how do you tell the kernel to use  
1024x768
as the video mode without having to deal with fonts? Is there an  
easy way to

do it, or am I crazy to even ask?



Oh, and one more thing, in Linux, the console is colorful. For  
example, if
you type "ls", directories are blue, executables are green,  
symlinks are
teal etc. Is there a way to make the console (or at least ls)  
colorful in

FreeBSD?



Thanks,

Harout Hedeshian






___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Changing Console Video Modes

2005-09-19 Thread Lowell Gilbert
"Harout S. Hedeshian" <[EMAIL PROTECTED]> writes:

>Does anyone know about the video resolution? 

Start with "man vidcontrol" and see if you're happy enough with what
that can do by default.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Changing Console Video Modes

2005-09-18 Thread Harout S. Hedeshian
>> Users,
>> 
>> This is my first time on this list so I hope I am posting in
the
>> right place. I have been a Linux user for some time and I am trying out
>> FreeBSD as some people recommended it. In my previous Mandrake (now
>> Mandriva) Linux system, I could pass a kernel parameter in the LILO
>> configuration file to set the console video mode (like "vga=xxx"). I ran
it
>> at 1024x768 and sometimes 1280x1024 (depending on the computer) to allow
>> more text on the console. I am trying to do the same for my FreeBSD
system.
>> A quick Google search brought up this tutorial:
>> http://www.mostgraveconcern.com/freebsd/. But, I'm not sure it does what
I
>> want. It takes parameters in terms of character-cell dimensions and not
>> pixel dimensions. My question is, how do you tell the kernel to use
1024x768
>> as the video mode without having to deal with fonts? Is there an easy way
to
>> do it, or am I crazy to even ask?
>> 
>>  
>> 
>> Oh, and one more thing, in Linux, the console is colorful. For example,
if
>> you type "ls", directories are blue, executables are green, symlinks are
>> teal etc. Is there a way to make the console (or at least ls) colorful in
>> FreeBSD?
>> 
>>  
>> 
>> Thanks,
>> 
>> Harout Hedeshian

>Not sure about video modes (I usually use a Konsole or xterm), but for 
>color make sure "setenv  CLICOLOR1" is in your .cshrc.  I don't know 
>if this works in other shells, but you could try an equivalent line in 
>an equivalent file for your particular shell.

[Harout S. Hedeshian] 
Thanks, I added "setenv  CLICOLOR1" to /etc/csh.cshrc file and it works
perfectly. Does anyone know about the video resolution? 



smime.p7s
Description: S/MIME cryptographic signature


Re: Changing Console Video Modes

2005-09-18 Thread Micah



Harout S. Hedeshian wrote:

Users,

This is my first time on this list so I hope I am posting in the
right place. I have been a Linux user for some time and I am trying out
FreeBSD as some people recommended it. In my previous Mandrake (now
Mandriva) Linux system, I could pass a kernel parameter in the LILO
configuration file to set the console video mode (like "vga=xxx"). I ran it
at 1024x768 and sometimes 1280x1024 (depending on the computer) to allow
more text on the console. I am trying to do the same for my FreeBSD system.
A quick Google search brought up this tutorial:
http://www.mostgraveconcern.com/freebsd/. But, I'm not sure it does what I
want. It takes parameters in terms of character-cell dimensions and not
pixel dimensions. My question is, how do you tell the kernel to use 1024x768
as the video mode without having to deal with fonts? Is there an easy way to
do it, or am I crazy to even ask?

 


Oh, and one more thing, in Linux, the console is colorful. For example, if
you type "ls", directories are blue, executables are green, symlinks are
teal etc. Is there a way to make the console (or at least ls) colorful in
FreeBSD?

 


Thanks,

Harout Hedeshian


Not sure about video modes (I usually use a Konsole or xterm), but for 
color make sure "setenv  CLICOLOR1" is in your .cshrc.  I don't know 
if this works in other shells, but you could try an equivalent line in 
an equivalent file for your particular shell.


Later,
Micah

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"