switching console from com0 back to console

2009-10-25 Thread Abdullah Sendul
Hi,

I am trying to remove the boot messages printed during the boot phase.

as a workaround:

I added in
/etc/boot.conf

set tty com0


which brought the desired output, that when the server boots, it does
not print any information to the console.

now i would like to print some output to the console :)

so my question is:

1- is there another way to stop the system printing messages to the console
2- is it possible to revert the output back to console from com0

at the end on the boot message I would like to print that the system is ready.

thanks for your replies.

\sendul



Re: switching console from com0 back to console

2009-10-25 Thread Alexander Hall
Abdullah Sendul wrote:
 Hi,
 
 I am trying to remove the boot messages printed during the boot phase.

Why? Seriously. To not confuse your grandmother?

 as a workaround:
 
 I added in
 /etc/boot.conf
 
 set tty com0
 
 
 which brought the desired output, that when the server boots, it does
 not print any information to the console.

Yes it does.

 now i would like to print some output to the console :)

cat  /dev/console.

Note however that your console is the com port.

 so my question is:
 
 1- is there another way to stop the system printing messages to the console
 2- is it possible to revert the output back to console from com0
 
 at the end on the boot message I would like to print that the system is ready.

I suspect what you really mean is that you want to output stuff to the
_screen_. Try writing it to /dev/ttyC0, as in

# echo -- System is ready --\r  /dev/ttyC0

I bet it will do what you want.

/Alexander