Solved

How to disable input on CDE console?

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
AIX print queues constantly going down 11 520
sort command HPUX 11 76
FTP on FreeBSD server 2 127
Best way to split and output to csv in bash 2 64
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
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.

776 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