Solved

How to disable input on CDE console?

Posted on 1997-06-12
4
267 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.

705 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now