11-30-2015
Moderator's Comments:
|
|
Duplicate thread closed.
|
|
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi, being very new to Korn Shell Scripting I am hoping that someone here can help me. I want to compare file name in scp/inbox directory to file name stored inside a file in pnt/compare directory.
Hi, being very new to Korn Shell Scripting I am hoping that someone here can help me. I want to... (1 Reply)
Discussion started by: hanie123
1 Replies
2. Shell Programming and Scripting
Hi All,
Have a file in solairs and want to send it as a Excel file...!
Yes i getting it as .csv file...!
but it's not looking gud.. how i can add colos into it..?
Generate report in Excel, with color and it should look good..! (1 Reply)
Discussion started by: bullz26
1 Replies
3. UNIX for Dummies Questions & Answers
Hi
I am using red hat linux, In my folder a strange folder is created i.e. " -a " , folder name is preceded with hyphen. Now if i try to remove with rm -rf -1 , i am unable to do it.
Can anyone please let me know how to do it, & what this kind of folder means
Thanks
Sarbjit (3 Replies)
Discussion started by: sarbjit
3 Replies
4. AIX
I need to delete some files which are not getting removed not even from root user
-rw-r----- 1 ptml tellin 0 Jul 26 19:23 temp.out1
-rw-r----- 1 ptml tellin 0 Jul 26 19:23 temp.out
-rw-r----- 1 ptml tellin 2 Jul 26 19:23 prev
-rw-r----- 1... (4 Replies)
Discussion started by: m_usmanayub
4 Replies
5. Solaris
Hi, have few meta devices which were cleared some year ago but still appear in /dev/md/rdsk.
If I create a same meta device again, it shows old timestamp of 2009yr
I tried devfsadm -C to clear unlinked links but of no use.
What am I missing ? (2 Replies)
Discussion started by: tuxian
2 Replies
6. AIX
Hello
I would like to remove the APARs
# instfix -ivk IY68989
IY68989 Abstract: write to mmapped space hangs
Fileset bos.mp:5.3.0.30 is applied on the system.
Fileset bos.mp64:5.3.0.30 is applied on the system.
All filesets for IY68989 were found.
# instfix -ivk IY73497
IY73497... (2 Replies)
Discussion started by: filosophizer
2 Replies
7. Solaris
I am installing a IBM package (ILMT) on Solaris-10 box, which is having few non global zones. It is not allowing me to remove old package and not allowing me to install new one.
root@pqdb_s50:/root# pkgrm ILMT-TAD4D-agent
## Waiting for up to <300> seconds for package administration commands to... (18 Replies)
Discussion started by: solaris_1977
18 Replies
8. AIX
Hello,
I am unable to remove the disk, whenever i remove the disk using
rmdev -dl hdisk2
or
rmdev -Rdl hdisk2
the disk appears back when i run
cfgmgr
but unable to create any volume group on it
# mkvg -y foovg hdisk2
0516-008 /usr/sbin/mkvg: LVM system call returned an unknown
... (20 Replies)
Discussion started by: filosophizer
20 Replies
LEARN ABOUT DEBIAN
sdl_keysym
SDL_keysym(3) SDL API Reference SDL_keysym(3)
NAME
SDL_keysym - Keysym structure
STRUCTURE DEFINITION
typedef struct{
Uint8 scancode;
SDLKey sym;
SDLMod mod;
Uint16 unicode;
} SDL_keysym;
STRUCTURE DATA
scancode Hardware specific scancode
sym SDL virtual keysym
mod Current key modifiers
unicode Translated character
DESCRIPTION
The SDL_keysym structure is used by reporting key presses and releases since it is a part of the SDL_KeyboardEvent.
The scancode field should generally be left alone, it is the hardware dependent scancode returned by the keyboard. The sym field is
extremely useful. It is the SDL-defined value of the key (see SDL Key Syms. This field is very useful when you are checking for certain key
presses, like so:
.
.
while(SDL_PollEvent(&event)){
switch(event.type){
case SDL_KEYDOWN:
if(event.key.keysym.sym==SDLK_LEFT)
move_left();
break;
.
.
.
}
}
.
.
mod stores the current state of the keyboard modifiers as explained in SDL_GetModState. The unicode is only used when UNICODE translation
is enabled with SDL_EnableUNICODE. If unicode is non-zero then this a the UNICODE character corresponding to the keypress. If the high 9
bits of the character are 0, then this maps to the equivalent ASCII character:
char ch;
if ( (keysym.unicode & 0xFF80) == 0 ) {
ch = keysym.unicode & 0x7F;
}
else {
printf("An International Character.
");
}
UNICODE translation does have a slight overhead so don't enable it unless its needed.
SEE ALSO
SDLKey
SDL
Tue 11 Sep 2001, 23:00 SDL_keysym(3)