05-26-2010
almost everyone here can help you with what you are trying to do.
bt can you please move this post into homework section. because as per the mods,this aint the correct section to put ur homework.
10 More Discussions You Might Find Interesting
1. News, Links, Events and Announcements
Numbers of users unsure what is a System Administrators work, tasks and his routine. Here is a good link on a System Administrators Work Schedule also summary of tasks or work queue that the person handle (a full checklists). Also there is some details on every tasks.
... (0 Replies)
Discussion started by: killerserv
0 Replies
2. UNIX for Dummies Questions & Answers
Could someone tell me how I can simplify the script that follows!!!
I know that there must be a way how to
grep Average from sar01..................
sar02 .......................
sar03.......................
sar04... (3 Replies)
Discussion started by: JairGuerra
3 Replies
3. UNIX for Dummies Questions & Answers
Hi guys! I have a dummy question for u :p
I cant find a solution for these tascks...tried everything (i know :cool: ).
1 Issue the following command sleep 1000
Note that sleep 1000 waits 1000 seconds!!! You cannot do anything now!!!
2 Open another terminal window and enter the tty... (1 Reply)
Discussion started by: RomeO
1 Replies
4. Shell Programming and Scripting
I know that this has a bad title, but I'm not sure how to sum it up well.
(And I'm new to Linux in general, so please excuse any incorrect terminology :o)
Anyway, I'm trying to create a script that gets whatever folder you're in, and then does a command with that directory as an argument. I... (2 Replies)
Discussion started by: droppedonjapan
2 Replies
5. AIX
I've been given more responsibility at work and was basically told to take junior system admin responsibilities over our aix box. The catch is, I need to learn on my own. I know basics, but what are some task that I could perform on a daily basis for starters? We have a support group, but not so... (2 Replies)
Discussion started by: NycUnxer
2 Replies
6. Shell Programming and Scripting
As far as I know
Crontab is the utulity to schedule tasks to run at specific times.Is there any utility to perform the same task (4 Replies)
Discussion started by: tjay83
4 Replies
7. Solaris
Hi there
Created some zones on my m5000, both going to be used for oracle. Been reading up about how solaris 10 has made tuning of the /etc/system file redundant and the use of rctladm / projects have taken over.
Been reading the manuals, but my head is about to explode. Thought I would... (2 Replies)
Discussion started by: sbk1972
2 Replies
8. Shell Programming and Scripting
Hi, I have a question.
I have a file that I need to do two things to.
The first thing I need to do is turn a file with lines before and after a line with the term "Acceptance" into only the "Acceptance" line and every line thereafter. I am using this:
grep -A1000000 "Acceptance" Brown_DL... (2 Replies)
Discussion started by: mikey11415
2 Replies
9. Shell Programming and Scripting
I am in the process of updating a folder of hundreds of recipe html files. I've already managed to modify a number of things in each file but I have run into something that's beyond my ability.
I have a text file that I need to insert the contents into the html at a specific point. It creates... (0 Replies)
Discussion started by: Trapper
0 Replies
10. Shell Programming and Scripting
I want to back up some of my system folders on a regular basis. Let's say some every day, but some other every week.
I kinda know how to get backup like this form:
tar cjf archive-$(date +%Y%m%d).tbz2 / -N ./archive-$(date -d yesterday +%Y%m%d)
But, I DONT KNOW how to add this files to... (2 Replies)
Discussion started by: dr_mabuse
2 Replies
LEARN ABOUT DEBIAN
xkbsaredirectsetvmods
XkbSARedirectSetVMods(3) XKB FUNCTIONS XkbSARedirectSetVMods(3)
NAME
XkbSARedirectSetVMods - Sets the vmods0 and vmods1 of act from v
SYNOPSIS
void XkbSARedirectSetVMods (XkbRedirectKeyAction act, unsigned int v);
ARGUMENTS
- act action in which to set vmods
- v new value for virtual modifiers
DESCRIPTION
Actions associated with the XkbRedirectKeyAction structure generate KeyPress and KeyRelease events containing a keycode different from the
key that was pressed or released.
The type field for the XkbRedirectKeyAction structure should always be XkbSA_RedirectKey. Key presses cause a KeyPress event for the key
specified by the new_key field instead of the actual key. The state reported in this event reports the current effective modifiers changed
as follows: any real modifiers selected by the mods_mask field are set to corresponding values from the mods field. Any real modifiers
bound to the virtual modifiers specified by the vmods_mask0 and vmods_mask1 fields are either set or cleared, depending on the correspond-
ing values in the vmods0 and vmods1 fields. If the real and virtual modifier definitions specify conflicting values for a single modifier,
the real modifier definition has priority.
Key releases cause a KeyRelease event for the key specified by the new_key field instead of the actual key. The state for this event con-
sists of the effective keyboard modifiers at the time of the release, changed as described previously.
The XkbSA_RedirectKey action normally redirects to another key on the same device as the key that caused the event, unless that device does
not belong to the input extension KeyClass, in which case this action causes an event on the core keyboard device. (The input extension
categorizes devices by breaking them into classes. Keyboards, and other input devices with keys, are classified as KeyClass devices by the
input extension.)
The vmods_mask0 and vmods_mask1 fields actually represent one vmods_mask value. Xkb provides macros to convert between the two formats.
XkbSARedirectSetVModsMask sets the vmods0 and vmods1 of act from v.
STRUCTURES
typedef struct_XkbRedirectKeyAction {
unsigned char type; /* XkbSA_RedirectKey */
unsigned char new_key; /* keycode to be put in event */
unsigned char mods_mask; /* mask of real mods to be reset */
unsigned char mods; /* mask of real mods to take values from */
unsigned char vmods_mask0; /* first half of mask of virtual mods to be reset */
unsigned char vmods_mask1; /* other half of mask of virtual mods to be reset */
unsigned char vmods0; /* first half of mask of virtual mods to take values from */
unsigned char vmods1; /* other half of mask of virtual mods to take values from */
} XkbRedirectKeyAction;
X Version 11 libX11 1.5.0 XkbSARedirectSetVMods(3)