hi i want to write a shell script to set environment variables . But i am not been able to set that for the current shell instead i have to spawn a new shell. Is there a way to set the env variable for the current shell using shell script in bash shell ?
Thnx (2 Replies)
Hey all,
I have been using Ksh and in that I am setting Environment variables.
To set Env. Variables I have created my own file "BuildScript.sh" in which i have written :
export CLASSPATH=/somedir/some other dir/file:.
export PATH=/some dir/file:.
But when i am calling this... (4 Replies)
Hi,
I am using the HP-UX machine of version B.11.23. My bashprofile looks like this :
# @(#)B11.23_LR
# Default user .profile file (/usr/bin/sh initialization).
#! /usr/bin/bash
# Set up the terminal:
if
then
eval ` tset -s -Q -m ':?hp' `
else
eval ` tset -s -Q `
fi
stty erase "^H"... (0 Replies)
Hi,
I want to get the value of the env varables using the ksh script. All the env variables are stored in a file.
Eg.
file1
$INPATH
$OUTPATH
myscirpt:
for name in `awk { print $1 } file1`
do
cd $name
done
i'm getting the error like $INPATH not found.
in the same script... (1 Reply)
Hi,
I have a script that sets some env variables.
I want to source the script in a new xterm and
after the script execution is over, the xterm has to be alive with the env variables set according to the script.
I tried
xterm -e "source ./myscript;tcsh" &
The variables are getting set... (3 Replies)
Hi,
I wrote two small scripts to set env variables in a shell.
java_env.csh
#!/bin/csh -fn
setenv JAVA_HOME '/scratch/software/jdk1.5.0_11'
setenv PATH $PATH':'$JAVA_HOME'/bin'
and run it using csh ./java_env.csh
But the env variables are not set. I tried running each line on the... (5 Replies)
I am newbie on Unix system and seek help for updating env variables. The condition is like this:
On Unix server, I log in as oracle user (this is the super for database on Unix), I type > env
all envirnment variables show up. I saw one variable DBA_LIST contains a few email addreses. I need... (2 Replies)
Hi All,
I have script and it's hardcoded the script ca invoke in user home dir and logs will be redirected to home dir of user.
how to make the same script will be invoke from /usr/bin with out chg the logs and other functions path from /user/homedir .
code is below: pls check how to... (1 Reply)
I have perl script and in the first line we are invoking .sh script to set ENV variables.
e..g
eval '. $envfile; exec $PERL -S $0 "$@"'
I want to change some of the env variables while the program is running and I am settging it like this ..
$ENV{ORACLE_HOME}=trim($oraclehome);... (1 Reply)
Discussion started by: talashil
1 Replies
LEARN ABOUT SUSE
gtk2::gdk::event::crossing
Gtk2::Gdk::Event::Crossing(3) User Contributed Perl Documentation Gtk2::Gdk::Event::Crossing(3)NAME
Gtk2::Gdk::Event::Crossing
HIERARCHY
Gtk2::Gdk::Event
+----Gtk2::Gdk::Event::Crossing
METHODS
notifytype = $eventcrossing->detail ($newvalue=0)
o $newvalue (Gtk2::Gdk::NotifyType)
boolean = $eventcrossing->focus ($newvalue=0)
o $newvalue (boolean)
crossingmode = $eventcrossing->mode ($newvalue=0)
o $newvalue (Gtk2::Gdk::CrossingMode)
window or undef = $event->subwindow ($newvalue=undef)
o $newvalue (Gtk2::Gdk::Window or undef)
double = $event->x ($newvalue=0.0)
o $newvalue (double)
double = $event->y ($newvalue=0.0)
o $newvalue (double)
ENUMS AND FLAGS
enum Gtk2::Gdk::CrossingMode
o 'normal' / 'GDK_CROSSING_NORMAL'
o 'grab' / 'GDK_CROSSING_GRAB'
o 'ungrab' / 'GDK_CROSSING_UNGRAB'
o 'gtk-grab' / 'GDK_CROSSING_GTK_GRAB'
o 'gtk-ungrab' / 'GDK_CROSSING_GTK_UNGRAB'
o 'state-changed' / 'GDK_CROSSING_STATE_CHANGED'
enum Gtk2::Gdk::NotifyType
o 'ancestor' / 'GDK_NOTIFY_ANCESTOR'
o 'virtual' / 'GDK_NOTIFY_VIRTUAL'
o 'inferior' / 'GDK_NOTIFY_INFERIOR'
o 'nonlinear' / 'GDK_NOTIFY_NONLINEAR'
o 'nonlinear-virtual' / 'GDK_NOTIFY_NONLINEAR_VIRTUAL'
o 'unknown' / 'GDK_NOTIFY_UNKNOWN'
SEE ALSO
Gtk2
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::Gdk::Event::Crossing(3)