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
DtWsmAddWorkspaceModifiedCallback(library call) DtWsmAddWorkspaceModifiedCallback(library call)
NAME
DtWsmAddWorkspaceModifiedCallback -- add a callback to be called when any workspace is changed
SYNOPSIS
#include <Dt/Wsm.h>
DtWsmCBContext DtWsmAddWorkspaceModifiedCallback(
Widget widget,
DtWsmWsModifiedProc ws_change,
Pointer client_data);
DESCRIPTION
The DtWsmAddWorkspaceModifiedCallback function works with the CDE workspace manager, dtwm(1), and registers a function to be called when a
workspace is added, deleted or modified.
The widget argument is a realized widget.
The ws_change argument is the procedure to be called when a workspace is modified.
The client_data argument points to arbitrary client data to be passed back to ws_change.
The header defines the DtWsmWsModifiedProc callback prototype as follows:
typedef void (*DtWsmWsModifiedProc)(Widget widget,
Atom aWorkspace,
DtWsmWsReason reason,
Pointer client_data);
The widget argument is the ID of the widget to be registered with the callback.
The aWorkspace argument is the name of the new current workspace (converted to an X atom).
The reason argument is a type of modification:
DtWSM_REASON_ADD
A new workspace was added.
DtWSM_REASON_BACKDROP
The backdrop for the workspace changed.
DtWSM_REASON_CURRENT
A different workspace was made the current workspace.
DtWSM_REASON_DELETE
A workspace was deleted.
DtWSM_REASON_TITLE
The workspace title changed.
The client_data argument points to the client data to be registered with the callback.
RETURN VALUE
Upon successful completion, the DtWsmAddWorkspaceModifiedCallback function returns a workspace callback registration context.
APPLICATION USAGE
The DtWsmAddWorkspaceModifiedCallback function returns a registration context that the application must save in order to remove this call-
back later.
DtWsmAddWorkspaceModifiedCallback requires a window; thus, a gadget is not acceptable for the widget argument.
The DtWsmRemoveWorkspaceCallback(3) function needs a registration context to remove the callback.
SEE ALSO
Dt/Wsm.h - DtWsm(5), dtwm(1), DtWsmGetWorkspaceInfo(3), DtWsmGetWorkspaceList(3), DtWsmRemoveWorkspaceCallback(3).
DtWsmAddWorkspaceModifiedCallback(library call)