10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
All,
I am trying to create a report on the duration of an ETL load from the file arrival to the final dump in to a database for SLA's.
Does anyone have any guidance or ideas on how metadata can be extracted; information of a file: like file name, created timestamp, count of records and load... (1 Reply)
Discussion started by: pradeepp
1 Replies
2. Shell Programming and Scripting
help me (2 Replies)
Discussion started by: sonu pandey
2 Replies
3. UNIX for Advanced & Expert Users
OS: RHEL 5.8
shell: bash 3.2.25
Directory /home/guest/ contains these files:
file a
file b
file c
fileD
fileE
fileF
testFile.txt
I'm trying to find the syntax to run ls -ltr against this list of files that is contained within a text file, testFile.txt.
The file testFile.txt has... (4 Replies)
Discussion started by: uschaafm
4 Replies
4. UNIX for Dummies Questions & Answers
Hi
When i do ls -ltr <file1> then it shows me the date and time of the file
if - for whatever reason file has future date/time stamp then ls -ltr is not showing the time, it just shows only date part ... even if time is ahead by 2 hr than current time.
suppose a file was copied from INDIA... (3 Replies)
Discussion started by: reldb
3 Replies
5. Solaris
Hi ,
Server details –
Machine hardware: sun4u
OS version: 5.9
Processor type: sparc
Hardware: SUNW,Sun-Fire-880
When I put ls –ltr command I get –
/users/testuser> ls -ltr
-rw-rw-r-- 1 testuser dba 76 Jan 13 2009 ftp.scr
-rwxr-xr-x 1... (6 Replies)
Discussion started by: rahulbahulekar
6 Replies
6. Shell Programming and Scripting
Hi,
When retrieving parameters of a file using ls command i need to print the year part . When i do ls -ltr the following output is displayed
-rwxrwxrwx 1 d_infd d_infd 1711 Jan 8 2004 wf1.class.
Here the year part is not displayed only Jan 8 is displayed.
Can any one... (9 Replies)
Discussion started by: ragugct
9 Replies
7. Shell Programming and Scripting
I am writing a script where in i have to log into a remote machine and check for necessary file by typing (ls -ltr *200505) (this gets all 05month of 2008 yr files) and if files are found get them to the local machine. If not found print a message saying no files on local machine.
When i was... (2 Replies)
Discussion started by: vasuarjula
2 Replies
8. Programming
Hi,
I have a file which stores the following array :-
1,2,3,4,5.........16,17,18,19,20
This file has few hundreds of inputs of these lines.
I would like to read this file one line at a time; and assign to an array which is separated by ",".
I tried to do fgets command however,... (10 Replies)
Discussion started by: ahjiefreak
10 Replies
9. Solaris
hi all,
in my server there are some specific application files which are spread through out the server... these are spread in folders..sub-folders..chid folders...
please help me, how can i find the total size of these specific files in the server... (3 Replies)
Discussion started by: abhinov
3 Replies
10. UNIX for Dummies Questions & Answers
Hi,
THe following is the output when i run the command ls -ltr
can anyone explain the meaning of the field in red
-rw-r----- 3 orca orca 20924 Sep 08 19:21 BTL027SASI.gnt
-rw-r----- 3 orca orca 20924 Sep 08 19:21 BTL027RITD.gnt
-rw-r----- 3 orca orca ... (2 Replies)
Discussion started by: ranjita.c
2 Replies
Gtk2::Gdk::Keymap(3pm) User Contributed Perl Documentation Gtk2::Gdk::Keymap(3pm)
NAME
Gtk2::Gdk::Keymap - wrapper for GdkKeymap
HIERARCHY
Glib::Object
+----Gtk2::Gdk::Keymap
METHODS
modifiertype = $keymap->add_virtual_modifiers ($state)
o $state (Gtk2::Gdk::ModifierType)
Since: gtk+ 2.20
boolean = $keymap->get_caps_lock_state
Since: gtk+ 2.16
keymap = Gtk2::Gdk::Keymap->get_default
direction = $keymap->get_direction
({ key1, keyval1 }, { ... }) = $keymap->get_entries_for_keycode (hardware_keycode)
o $hardware_keycode (integer)
Returns a list of hash references, each with two keys: "key" pointing to a GdkKeymapKey and "keyval" pointing to the corresponding key
value.
keys = $keymap->get_entries_for_keyval (keyval)
o $keyval (integer)
Returns a list of GdkKeymapKeys.
Obtains a list of keycode/group/level combinations that will generate $keyval. Groups and levels are two kinds of keyboard mode; in
general, the level determines whether the top or bottom symbol on a key is used, and the group determines whether the left or right symbol
is used. On US keyboards, the shift key changes the keyboard level, and there are no groups. A group switch key might convert a keyboard
between Hebrew to English modes, for example. Gtk2::Gdk::Event::Key contains a group field that indicates the active keyboard group. The
level is computed from the modifier mask.
keymap = Gtk2::Gdk::Keymap->get_for_display ($display)
o $display (Gtk2::Gdk::Display)
Since: gtk+ 2.2
boolean = $keymap->have_bidi_layouts
Since: gtk+ 2.12
integer = $keymap->lookup_key ($key)
o $key (scalar)
(bool, new_state) = $keymap->map_virtual_modifiers (keymap, state)
o $state (Gtk2::Gdk::ModifierType)
Since: gtk+ 2.20
(keyval, effective_group, level, consumed_modifiers) = $keymap->translate_keyboard_state (hardware_keycode, state, group)
o $hardware_keycode (integer)
o $state (Gtk2::Gdk::ModifierType)
o $group (integer)
SIGNALS
state-changed (Gtk2::Gdk::Keymap)
direction-changed (Gtk2::Gdk::Keymap)
keys-changed (Gtk2::Gdk::Keymap)
ENUMS AND FLAGS
flags Gtk2::Gdk::ModifierType
o 'shift-mask' / 'GDK_SHIFT_MASK'
o 'lock-mask' / 'GDK_LOCK_MASK'
o 'control-mask' / 'GDK_CONTROL_MASK'
o 'mod1-mask' / 'GDK_MOD1_MASK'
o 'mod2-mask' / 'GDK_MOD2_MASK'
o 'mod3-mask' / 'GDK_MOD3_MASK'
o 'mod4-mask' / 'GDK_MOD4_MASK'
o 'mod5-mask' / 'GDK_MOD5_MASK'
o 'button1-mask' / 'GDK_BUTTON1_MASK'
o 'button2-mask' / 'GDK_BUTTON2_MASK'
o 'button3-mask' / 'GDK_BUTTON3_MASK'
o 'button4-mask' / 'GDK_BUTTON4_MASK'
o 'button5-mask' / 'GDK_BUTTON5_MASK'
o 'super-mask' / 'GDK_SUPER_MASK'
o 'hyper-mask' / 'GDK_HYPER_MASK'
o 'meta-mask' / 'GDK_META_MASK'
o 'release-mask' / 'GDK_RELEASE_MASK'
o 'modifier-mask' / 'GDK_MODIFIER_MASK'
enum Pango::Direction
o 'ltr' / 'PANGO_DIRECTION_LTR'
o 'rtl' / 'PANGO_DIRECTION_RTL'
o 'ttb-ltr' / 'PANGO_DIRECTION_TTB_LTR'
o 'ttb-rtl' / 'PANGO_DIRECTION_TTB_RTL'
o 'weak-ltr' / 'PANGO_DIRECTION_WEAK_LTR'
o 'weak-rtl' / 'PANGO_DIRECTION_WEAK_RTL'
o 'neutral' / 'PANGO_DIRECTION_NEUTRAL'
SEE ALSO
Gtk2, Glib::Object
COPYRIGHT
Copyright (C) 2003-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.
perl v5.14.2 2012-05-27 Gtk2::Gdk::Keymap(3pm)