Solved

How to disable input on CDE console?

Posted on 1997-06-12
4
276 Views
Last Modified: 2013-12-16
How I can disable the the input of characters within of the
CDE console of Solaris 2.5.1?
I tried chmod, chown and chgroup of /dev/console, but it
does not solve the problem.
0
Comment
Question by:rolandti
  • 2
  • 2
4 Comments
 
LVL 2

Accepted Solution

by:
pxh earned 100 total points
ID: 1812404
Are you shure you really need to do this? The console window is just a normal input window, with the additional feature that it receives and displays the console messages. Otherwise it has no particular function.

You might argue that you don't want the console messages being mixed up with other input and output. But then you just could look into the file /var/adm/messages where the console messages are logged into.

Hope this helps,

Peter (pxh@mpe-garching.mpg.de)

0
 

Author Comment

by:rolandti
ID: 1812405
Hi Peter,

I need a solution to show system messages in a separate window
without possibility to enter shell commands in this window.
Maybe the console is not the right way to do this!
Do you know onother way to do this?

Roland
0
 
LVL 2

Expert Comment

by:pxh
ID: 1812406
If you are ready to do some programming it's possible: you write a small X11 application which opens a window and displays the contents of /var/adm/messages, in a mode like "tail -f /var/adm/messages" would do it. The problem could be who and when to start this application...

Could you give me some more background on your motivation?

Peter

0
 

Author Comment

by:rolandti
ID: 1812407
Thanks for your tip. A possible solution for me is to start

xterm -C -e tail -f /var/adm/messages &

in /etc/inittab or in a script located in /etc/rc2.d.

Roland
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question