Operating System - HP-UX
1832764 Members
3418 Online
110045 Solutions
New Discussion

Re: Do not want Console Output

 
Hunki
Super Advisor

Do not want Console Output

I am getting console output while I am editing a file through vi , how to avoid getting the output in the first place.

thanks
4 REPLIES 4
Patrick Wallek
Honored Contributor

Re: Do not want Console Output

You would have to find whatever is writing to the console and get it to stop.

There is no way I know of to stop messages to the console otherwise.
Dennis Handly
Acclaimed Contributor

Re: Do not want Console Output

I assume you know you can use control-L to redraw the screen?
Bill Hassell
Honored Contributor

Re: Do not want Console Output

The console for a server is not intended for general usage. Most console messages can be controlled in /etc/syslog.conf but long term editing should be done on a network connection such as ssh or telnet.

In vi, any text sent to the screen from console messages has NO effect on the file you are editing. You simply refresh the screen with the vi command CTRL-L. It is probably worthwhile to fix the source of the console messages as these should seldom occur on a stable system.


Bill Hassell, sysadmin
Raj D.
Honored Contributor

Re: Do not want Console Output

Hunki,

As said above , you can use any other session like other than console session any telnet/ssh session for general use,
Although you can clear the console messages when you are inside vi , with "Ctrl" + "l" key ,

cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "