12-12-2012
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi there,
I need help on setting the path variable. How can I set the path variable with Bourne Shell. My scripts goes like this, but did not work.
#!/bin/sh
PATH=/usr/bin:/usr/ucb:/etc:/export/home/zchen/home
export PATH
Thanks,
Z (4 Replies)
Discussion started by: randomcz
4 Replies
2. Shell Programming and Scripting
Hi all,
I have a java command in a shell script.
When i m executing the command from the prompt its working fine. But when i paste the same command in a shell script and execute the shell script it says path not found. Please help. (5 Replies)
Discussion started by: radhika03
5 Replies
3. Shell Programming and Scripting
Hi,
I am new to shell scripting.I tried adding an entry to the path variable like below
export PATH=$PATH:/opt/xxx/bin
But am getting an error invalid identifier /opt/xxx/bin
Can someone tell me the error above and correct me .
Thanks and Regards,
Padmini (2 Replies)
Discussion started by: padmisri
2 Replies
4. Shell Programming and Scripting
Hi,
Could anyone help me in writing a single line code by either using (sed, awk, perl or whatever) to extract a specific path from the PATH environment variable?
for eg: suppose the PATH is being set as follows
PATH=/usr/bin/:/usr/local/bin:/bin:/usr/sbin:/usr/bin/java:/usr/bin/perl3.4
... (2 Replies)
Discussion started by: royalibrahim
2 Replies
5. Shell Programming and Scripting
Hello Folks,
I want to append a path in user's PATH variable which should be available in current session.
Background
Numerous persons will run a utility.
Aim is to add the absolute path of the utility the first time it runs so that next runs have the PATH in env & users can directly run... (6 Replies)
Discussion started by: vibhor_agarwali
6 Replies
6. Shell Programming and Scripting
Hi I am using MKS Toolkit c shell.
I am trying to set a path variable something like c:/Program Files/blah/blah
so
set path=(c:/Program Files/blah/blah)
this, however, does not work as it splits this thing up into 'c:/Program' and
'Files/blah/blah'.
Does anyone have any ideas on... (9 Replies)
Discussion started by: vas28r13
9 Replies
7. UNIX for Dummies Questions & Answers
Hi
I need to set up a dns server for Oracle 11g rac setup. I got some files (copied from friend) named.conf and related files in /var/named , i was told that this would work fine. But i am getting some issues. I am attaching the files here.
The problem is
dig... (1 Reply)
Discussion started by: ankurk
1 Replies
8. Shell Programming and Scripting
Dear all,
I have a script which triggers a C program in it after initialising parameters.
Below is the sample
#! /bin/sh
. /my_data/environment
HOME=/home/execs/testing/
cd $HOME
compare $1 $2 X
exit $? (10 Replies)
Discussion started by: PikK45
10 Replies
9. UNIX for Beginners Questions & Answers
Hello all,
I am EXTREMELY new to using bash and I have a bit of a problem: I'm trying to set up a shell script that can
1.) take one of several giant files off of an external hard drive
2.) use it as input for scripts on my laptop's hard drive
... (3 Replies)
Discussion started by: machine_spirit
3 Replies
LEARN ABOUT SUSE
gtk2::object
Gtk2::Object(3) User Contributed Perl Documentation Gtk2::Object(3)
NAME
Gtk2::Object
HIERARCHY
Glib::Object
+----Glib::InitiallyUnowned
+----Gtk2::Object
METHODS
object = Gtk2::Object->new ($object_class, ...)
o $object_class (string) package name of object to create
o ... (list) of property-name => value pairs
Create a new object of type $object_class, with some optional initial property values. You may see this used in some code as
Gtk2::Widget->new, e.g.
$window = Gtk2::Widget->new ('Gtk2::Window',
title => 'something cool',
allow_grow => TRUE);
This is really just a convenience function that wraps Glib::Object->new.
boolean = $object->bindings_activate ($keyval, $modifiers)
o $keyval (integer)
o $modifiers (Gtk2::Gdk::ModifierType)
Although "activate" and "activate_event" are "Gtk2::Object" methods, as of Gtk 2.12 they will only actually invoke signals on a
"Gtk2::Widget". On a "Gtk2::Object" the return is always false (no binding activated).
boolean = $object->bindings_activate_event ($event)
o $event (Gtk2::Gdk::Event)
$object->destroy
This is an explicit destroy --- NOT the auto destroy; Gtk2::Object inherits that from Glib::Object!
PROPERTIES
'user-data' (gpointer : readable / writable / private)
Anonymous User Data Pointer
SIGNALS
destroy (Gtk2::Object)
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'
SEE ALSO
Gtk2, Glib::Object, Glib::InitiallyUnowned
COPYRIGHT
Copyright (C) 2003-2008 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.
perl v5.12.1 2010-07-05 Gtk2::Object(3)