7 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi all,
I have to test some user priviliges. The goal is to be sure that an unauthorized user can't restart some modules (ssh, mysql etc...).
I'm trying to automate it with a shell script but in same cases I got the syslog broadcast message.
Is there any way to simply get a return code... (3 Replies)
Discussion started by: Dedalus
3 Replies
2. What is on Your Mind?
Ok, I have to ask... :o
At the risk of starting a huge controversy (yet another), I must ask the question: why would one want to use vi/emacs* to edit bash, awk, perl, python, scripts or java, c/c++, programs
It all started because I'm looking for a good IDE to edit my bash scripts and... (6 Replies)
Discussion started by: anthalamus
6 Replies
3. Red Hat
Hello all,
If anyone has time, I have a few questions:
How do I do the following in Linux. We are using Red Hat and Oracle Enterprise Linux, which is based on Red Hat too.
1. How to lock the account after a few (like 3) invalid password attempts?
2. How do you lock a screen after 30... (1 Reply)
Discussion started by: nstarz
1 Replies
4. Filesystems, Disks and Memory
Wellcomes All,
some times ago I 've installed a Debian ditribution on an Hard Disk who was set as Primary Master. Few days ago, I 've decided to install another Hard Disk with a different Operating System. When I did that, I turned off the old hard disk, and I mouted the new one on the Primary IDE... (1 Reply)
Discussion started by: thekarsillo
1 Replies
5. UNIX for Dummies Questions & Answers
Hello, I have been searching for a way to spawn new processes in a different workspace with no luck. Does anyone know how to do this at the command prompt. I wish to do something like this.
>vi a.txt & | workspace 2
is there any way to do this? (3 Replies)
Discussion started by: ineedhelp#1
3 Replies
6. HP-UX
Experts,
How to configure to add the printer icon in the workspace. I compared with C3700 and C8000 machine the C3700 have it but in C8000 didnt appeared. they are both running hpux 11.11.
apprciate your inputs.
Thanks (0 Replies)
Discussion started by: eykyn17
0 Replies
7. UNIX for Dummies Questions & Answers
how can I lock my keyboard while I'm away from the computer without using lock command. What other commands gives me the option to lock keyboard device?
thanks (7 Replies)
Discussion started by: dianayun
7 Replies
DtWsmGetWorkspacesOccupied(library call) DtWsmGetWorkspacesOccupied(library call)
NAME
DtWsmGetWorkspacesOccupied -- get the workspaces in which a window resides
SYNOPSIS
#include <Dt/Wsm.h>
Status DtWsmGetWorkspacesOccupied(
Display *display,
Window window,
Atom **ppaWorkspaces,
int *pNumWs);
DESCRIPTION
The DtWsmGetWorkspacesOccupied function works with the CDE workspace manager, dtwm(1), and returns the list of workspaces in which this
window resides. Each element of the list is the name of a workspace (converted to an X atom).
The display argument is the X display.
The window argument is the window of interest.
The *ppaWorkspaces argument is the address of a pointer to receive the pointer to a list of workspace names (converted to X atoms).
The pNumWs argument is the address of an integer to receive the number of elements in the list of workspaces returned in *ppaWorkspaces.
RETURN VALUE
Upon successful completion, the DtWsmGetWorkspacesOccupied function returns Success and the workspace manager returns in *ppaWorkspaces a
list of atoms identifying the occupied workspaces, and returns in pNumWs the number of occupied workspaces; otherwise, it returns a value
not equal to Success.
APPLICATION USAGE
If the DtWsmGetWorkspacesOccupied function is not successful, failure may be due to a memory allocation error or failure to find the cor-
rect workspace information (that is, the CDE workspace manager, dtwm(1), is not running). The application must use XtFree(3) to free data
returned in *ppaWorkspaces.
SEE ALSO
Dt/Wsm.h - DtWsm(5), XtFree(3), dtwm(1).
DtWsmGetWorkspacesOccupied(library call)