02-26-2002
Do you just want to protect that particular window?
If so, check out the man page for "lock"...
/usr/bin/lock
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Working of a Aix 4.3 (using ksh)
Have started dtlogin daemon .
< root 26376 1 0 14:07:19 - 0:08 ./dtlogin -daemon >
Have set dtconfig -e
< The CDE environment is Already set as the default User Interface. >
Have executed " export DISPLAY=10.1.187.86:0.0
Once all this is... (4 Replies)
Discussion started by: buRst
4 Replies
2. Solaris
Hi all,
First time poster here. Great forum.
Im trying to spawn new shells and pass commands to the new shells in a solaris 8 environment utilizing dtterm and its option -e.
I can successfully spawn a window utilizing the following code:
/usr/dt/bin/dtterm -display <ip.address> &
... (4 Replies)
Discussion started by: Rocketman8541
4 Replies
3. UNIX for Advanced & Expert Users
We recently had an accidental delete from /. I hold the root password but others are allowed to sudo over to root to perform admin tasks. The only way I want to permit deletion from / is by physically being root (su -).
I'd like to add a line to the sudoers file which would permit all commands... (1 Reply)
Discussion started by: scottsl
1 Replies
4. UNIX for Advanced & Expert Users
On solaris and irix systems, I'm using csh in an existing xterm or dterm and would like to change the text colors. How do I accomplish this?
Thanks (1 Reply)
Discussion started by: fjc
1 Replies
5. Red Hat
Hello,
We are having a problem with running dtterm off a RHEL server. Logging into an HP-UX server from a RHEL 5.1 desktop, setting DISPLAY and running dtterm, the caps lock does not work. We have been playing with xmodmap & stty but to no avail.
Any help appreciated.
mgb (1 Reply)
Discussion started by: mgb
1 Replies
6. HP-UX
Hello,
We are having a problem with running dtterm off a RHEL server. Logging into an HP-UX server from a RHEL 5.1 desktop, setting DISPLAY and running dtterm, the caps lock does not work. We have been playing with xmodmap & stty but to no avail.
Any help appreciated.
mgb (7 Replies)
Discussion started by: mgb
7 Replies
7. Solaris
Hi ,
I have to write a shell script which would be invoked from a Java program. The job of this script would be to launch a telnet session i was using dtterm for the same and the expect command to automate that.
spawn dtterm -e telnet <server ip address>
expect "Username:"
send... (0 Replies)
Discussion started by: rajeev_solanki
0 Replies
8. UNIX for Advanced & Expert Users
how to protect my process from others to kill??
Double post, continued here, thread closed (0 Replies)
Discussion started by: samrintu
0 Replies
9. UNIX for Dummies Questions & Answers
Hi everyone,:cool:
thank you in advance for any help on this
I have a dtterm command to open a new small terminal window with a contents of log, and it works fine.
dtterm -title "my.log" -geometry =40x30+0+550 -fn 6x13 -e tail -n 40 -f /home/logs/user.log &
However what I want to do... (4 Replies)
Discussion started by: golfcents
4 Replies
LEARN ABOUT OSF1
lock_terminate
lock_terminate(9r) lock_terminate(9r)
NAME
lock_terminate - General: Terminates, using a complex lock
SYNOPSIS
#include <kern/lock.h>
void lock_terminate(
lock_t lock_structptr );
ARGUMENTS
Specifies a pointer to the complex lock structure, lock. The lock structure is an opaque data structure; that is, its associated members
are referenced and manipulated by the operating system and not by the user of the complex lock mechanism.
DESCRIPTION
The lock_terminate routine determines that the driver is done using the complex lock forever. The complex lock must be free (that is, the
driver does not hold the lock) before calling lock_terminate. The kernel module must not reference the specified complex lock after calling
lock_terminate.
NOTES
You must call lock_init (once only) prior to calling lock_terminate to initialize the lock structure pointer for the resource. A resource,
from the kernel module's standpoint, is data that more than one kernel thread can manipulate. You can store the resource in global vari-
ables and in data structure members.
RETURN VALUES
None
FILES
SEE ALSO
Kernel routines: lock_done(9r), lock_init(9r), lock_try_read(9r), lock_try_write(9r), lock_write(9r)
Data Structures: lock(9s)
lock_terminate(9r)