TIMEOUT variable in Bourne shell

Does Solaris implementation of bourne shell support the envronmental variable TIMEOUT?
It seems not. Added this variable to /etc/profile but idle bourne sessions are not timing out.
Korn shell environmental variable TMOUT is working fine.

Yes.
I added both variables, TIMEOUT and TMOUT, in /etc/profile.
As expected, TMOUT works fine with korn shell session.
None worked with bourne shell session (/sbin/sh).
I need to time out Bourne shell session and not Bash session.

Similar Messages

  • Timeout variable in DDE

    Hi,
    I'm debugging some scripts and need information on DDE
    Request. I'm not sure how to interpret the default timeout
    value correctly. Does the value of -1 mean that labview
    does not wait for the application to return, or does it
    mean that labview waits indefinitelly? The description of
    this variable is:
    U32: timeout
    timeout specifies how many milliseconds to wait for the
    function to complete. The default value of ÿffffc3ÿffffa2ÿffffe2ÿffff82ÿffffacÿffffe2ÿffff80ÿ​ffff9c1 specifies no
    timeout. If the specified amount of time expires before
    completion, the VI returns an error.
    thanks,
    dan
    * Sent from AltaVista http://www.altavista.com Where you can also find related Web Pages, Images, Audios, Videos, News, and Shopping.
    Smart is Beautiful

    Yes.
    I added both variables, TIMEOUT and TMOUT, in /etc/profile.
    As expected, TMOUT works fine with korn shell session.
    None worked with bourne shell session (/sbin/sh).
    I need to time out Bourne shell session and not Bash session.

  • What is bourne shell(sh.exe)??

    what is bourne shell(sh.exe)??why it is required and
    where to set envirnoment variable NS_server_home in iplanet webserver sp6.2

    The bourne shell is a UNIX command shell very similar to windows CMD.exe shell. In a Unix environment you can develop CGIs using the scripting language of this shell. That language is very much like DOS batch files with a UNIX twist.
    If you are not ona UNIX machine then this should have little to no meaning to you. If you are ona UNIX machine every time you login to the box you have some sort of shell. If you wish to write CGI scripts using shell scripting you can do something like the following
    #!/bin/sh
    `/usr/bin/date`
    The above shell script will print the date out. Keep in mind CGI programming is much more complicated than the above example.
    It should not be required to use the server most especially on Windows. If you are reading documentation saying how to set environment variables and they give a bourne shell example you can simply ignore it. In windows/DOS you set environment variables like the following:
    set VAR_NAME=value
    However, if you are on a UNIX machine and need to set them in the bourne shell you can do the following.
    VAR_NAME=value;export VAR_NAME
    If you need it to be permenent you can add the above to the startup scripts such as IWS_HOME_DIR/start
    Hope this helps

  • Is it possible to pass a variable from a shell script back to an Automator action?

    Is it possible to pass a variable from a shell script back to an Automator action?
    For instance, if I assign a value of foo to $var1 in my shell script how would I retrieve/pass that value in the next Automator action. I see that there is a variable called "Shell Script" but I can't any information on how to use it. 

    red_menace,
    Thanks but I still don't understand how to pass a single value that was set in the UNIX scipt back to Automator has a variable. Take the example below, I write 4 varables to STDOUT and all 4 are stored in a variable named "storage".  How do I assign 1 of these values to the Automator "storage" variable? For instance if I wanted to assign the value of $var2 to "storage" , how would I do that?

  • Bourne Shell (sh) - How To Interpret Characters Literally

    I know that character enclosed in single quotes are interpreted literally by the Bourne-Again SHell (bash). After all, the man page states:
    {quote}
    "Enclosing characters in single quotes preserves the literal value of each character within the quotes. A single quote may not occur between single quotes, even when preceded by a backslash."
    {quote}
    Here's some proof:
    bash-3.2$ echo 'hello world'
    hello world
    bash-3.2$ echo 'hello
    world'
    hello
    world
    bash-3.2$ echo 'hello\world'
    hello\world
    Now I thought that the Bourne shell (sh) worked the same way, but obviously not:
    sh-3.2$ echo 'hello world'
    hello world
    sh-3.2$ echo 'hello
    world'
    hello
    world
    sh-3.2$ echo 'hello\world'
    helloworld
    How do I go about having the Bourne shell (sh) interpret my characters literally?

    What the reason you can't/don't want to use bash?
    On MacOSX and Linux, /bin/bash and /bin/sh are both GNU bash; the latter is just running in the sh-compatible mode. In this case, the following will work, but it won't work on BSD's and other Unixes, where /bin/sh is not GNU bash:
    sh$ shopt -u xpg_echo
    sh$ echo 'foo
    bar'
    foo
    bar
    The following also works; I don't know which is better (from the portability point of view):
    sh$ /bin/echo 'foo
    bar'
    foo
    bar

  • Bourne shell, blank characters and quotations

    Hello.
    I can't figure out how to use single and double quotations in Bourne shell.
    Here's a part of a script I'm writing to create a matroska video with several different subtitles :
    title=`echo "$1" | sed 's/\.[^.]*$//'`
    subs=''
    for srt in "$title".*.srt; do
    slang=`echo "$srt" | sed 's/.*\.\(...\)\.srt/\1/'`
    subs="${subs} --language 0:$slang '$srt'"
    done
    mkvmerge -o "$title.mkv" $subs -S "$1"
    When I type ./myscript 'Gadjo Dilo.avi', it should execute this command :
    mkvmerge -o 'Gadjo Dilo.mkv' --language 0:eng 'Gadjo Dilo.eng.srt' --language 0:fre 'Gadjo Dilo.fre.srt' -S 'Gadjo Dilo.avi'
    But, using set -x, I discovered it actually execute this :
    mkvmerge -o 'Gadjo Dilo.mkv' --language 0:eng ''\''Gadjo' 'Dilo.eng.srt'\''' --language 0:fre ''\''Gadjo' 'Dilo.fre.srt'\''' -S 'Gadjo Dilo.avi'
    How should I fix this ? I tried without success many different combinations of single and double quotes.
    Thanks.
    Last edited by pokraka (2010-08-22 20:29:35)

    pokraka wrote:Yes of course I know of this trick but I can't rename all my files.
    Any other suggestion ?
    Why can't you rename your files?
    Instead of
    mkvmerge -o "$title.mkv" $subs -S "$1"
    try
    mkvmerge -o "$title.mkv" "$subs" -S "$1"
    (quotes around $subs added)
    It helps a bit, but I honestly can't read your code - are all these filename mangling transformations really necessary?
    Edit: I'm not using bourne shell, but neither bash nor dash wanted to cooperate fully.
    subs="${subs} --language 0:$slang $srt"
    (quotes around $srt removed)
    Last edited by karol (2010-08-23 17:59:29)

  • Reading variables from a shell script

    i was wondering if it is possible to enter variables from a shell script that an sql file can use:
    ex:
    shell script file
    #!/bin/ksh
    stty -echo
    read pwd?"Enter password for user: "
    echo
    stty echo
    read var?"Please enter value for variable: "
    echo
    $ORACLE_HOME/bin/sqlplus user/$pwd @TEST.sql
    sql file TEST.sql
    set serveroutput on
    set verify off
    spool out.log
    update table set parameter_value = '$var' where parameter_name = 'X';
    commit;
    exit;
    spool off;
    i tried that and it seems its updating my table with "var" and not what the user entered that is the bind variable $var
    am i missing something?

    if user hits enter (which means null) can the program
    not end and ask the user to enter another value?Try this way :
    while :
    do
            echo -n "Please enter value for variable: "
            read VAR
            if [ "$VAR" ]; then
                    break
            else
                    continue
            fi
    done

  • Passing variables to a shell script

    Hello all,
    I have an applescript that is passing two variables to a shell script. Both variables are being passed, but the script isn't running as I would expect and I can't figure out what it's doing and why.
    Here is the applescript:
    delay 5
    tell me to activate
    display dialog "Please enter the following information."
    property RoomNumber : ""
    display dialog "Enter the room number and building (ie 1312CAC):" default answer RoomNumber
    set the RoomNumber to text returned of the result
    property StationNumber : ""
    display dialog "Enter the Station Number:" default answer StationNumber
    set the StationNumber to text returned of the result
    do shell script ("echo " & RoomNumber & StationNumber & " | /Users/labadmin/Desktop/labbuild.sh")
    and here is the shell script
    #!/bin/sh
    RoomNumber="$1"
    StationNumber="$2"
    compname=($RoomNumber$StationNumber)
    scutil --set ComputerName $compname
    scutil --set LocalHostName $compname
    scutil --set HostName $compname
    echo "Done setting the computer name"
    The only name it sets is the ComputerName. LocalHost is blank and hostname is set to Localhost
    Can someone see what I'm doing wrong here?
    Thank you in advanced.

    The line
    do shell script ("echo " & RoomNumber & StationNumber & " | /Users/labadmin/Desktop/labbuild.sh")
    should be
    do shell script ("/Users/labadmin/Desktop/labbuild.sh " & quoted form of RoomNumber & " " & quoted form of StationNumber)
    In your original code, you are using echo to pass the variables to stdin of the script instead of as command-line parameters. You also don't handle the case where a value is left blank.

  • CSCur03368 for IOS-XE: GNU Bourne Shell "Shellshock" lists affected product as 2800 series ISR

    The content of CSCur03368 has a title of IOS-XE: GNU Bourne Shell "Shellshock" Vuln CVE-2014-6271/CVE-2014-7169.  The only affected product listed is "Cisco 2800 Series Integrated Services Routers" with a known affected release of 15.2(3.2.39)E, and link to download software for the 2800.
    Since 2800 series routers run IOS, not IOS-XE, someone needs to review and correct this info.

    Cisco has updated the description since you posted this.

  • Pass multiple Automator variables to Run Shell Script?

    I have two Automator variables I'd like to pass to Run Shell Script. I'm missing something obvious, but how is this done?
    Thanks in advance

    i don't know a nice way to do it but in general any input passed to a shell script will be stored in $@ if input is passed as arguments.
    in particular, if you stack two "get value of variable actions" one after another and follow it by "run shell script" both variables will be stored in $@ as a list. just try it out with the default
    for f in "$@"
    do
    echo "$f"
    done
    You'll see that both variables will be echoed.

  • How to pass a variable to the shell script and crontab?

    Friends,
    here is my script.....
    exp userid=username/password@realdb file=/u02/logical_backup/abc_+$date+.dmp log=/u02/logical_backup/abc_+$date+.log owner=oraadmin statistics=none
    i want the exported file name as abc_2101.dmp and abc_2101.log (2101 is a date and month)
    I want to execute this script daily at 02:00 AM.
    so that i edited the crontab -e as....
    00 02 * * * ./u02/script/dailybkp.sh
    Now what i want is....
    1. is the steps are correct for crontab -e?
    2. Is the script of the crontab will execute daily at 02:00 AM?
    3. how can i rename the .log filename and .dmp file name daily according to the date. for example abc_2001 is today's date and month.how can i replace with the variable.
    thanks
    sathyguy

    sorry....i tested with cp command it was working fine...
    so, i thought it should work for exp command also.
    but its not working....also its not throwing any error....
    the crontab -e is having...
    00 02 * * * exp userid=system/password@realdb file=/u02/test/n22.dmp log=/u02/test/n22.log owner=scott statistics=none
    also i have tested by calling the script.
    #!/bin/bash
    00 02 * * * /u03/script/testbkp.sh
    its not working
    but the below one is working....
    00 02 * * * cp /u02/test.txt /u02/test/test.txt
    also this one is working....
    #!/bin/bash
    00 02 * * * /u03/script/testbkp.sh
    i listed the chkconfig --list crond
    crond 0,1,6 = off
    2,3,4,5 are on
    what might be the reason?
    thanks
    sathyguy

  • Environment Variable (Linus bash shell)

    I have searched every documentation and I have asked this question several times in several forums and java mail lists, and not one person has been able to give me the definitive answer.
    If I have the following packages:
    /usr/java/j2sdk1.4.0
    /root/j2sdkee1.3.1
    What is the exact syntax command to have these in my environment?
    Regards

        set path="$path /usr/java/j2sdk1.4.0/bin /root/j2sdkee1.3.1/bin"There. Note the quotes and the space separators between each path (as opposed to :'s in the setenv PATH). Also note that the current path variable is preceded by a $ sign, whereas in setenv it was surrounded by $ signs.
    I can't tell you the difference between set and setenv because I'm not very familiar with Linux... but that's how you use them and I'm assuming that setting the 'path' variables should do the trick. So, try that first.
    If you don't want to type those in every time you turn on your machine, you can put those commands in one of the scripts that run when you start up. I don't know what the name of those script files are though, because, like I said, I'm not that familiar with that OS.
    Hope that helps,
    Jason

  • Scripting in solaris bourne shell

    I was wondering how would it be possible to match a string in a text file and then to choose a value present there.
    For exapmle; there is a line in a text file that reads
    ACT=ajbg110;PCN=55768;IUYT_ghTTY=88999yt;.......
    I need to make a script that is to pick ACT value and PCN value. These values are ajbg110 and 88999yt respectively. Fields are termintaed by ';'
    Limitations are :
    1) file contains thousands of such lines.
    2) each line contains many such fields, not three only. Even there is no fixed number.
    3) The position of these fields keeps changing. i.e; ACT is coming first, but it may come in the middle of
    the line.
    4) value length may change too.
    Is threre a possible strategy to get these values seperated.

    using perl:
    my @lineholder; #declare an array
    my @splitholder; #another array
    # Supposing you're reading this from the file /tmp/infile
    my $infile = "/tmp/infile";
    open(INFILE, "< $infile") or die "Unable to open $infile: $!"; #Open a File handle while reading from file
    while(<INFILE>) {
    push( @lineholder, split( ';', $_ ) ); #Split STDOUT at delim ";" and push into lineholder
    for (@lineholder) {
    next if ( $_ =~ m/ACT|PCN/ );
    # print $_; #Print line if it matches regex above
    @splitarray = split( '=', $_ );
    print "ACT and PCN pair: @splitarray \n";
    I haven't tested it, and since it's perl, I'm sure there's a better way of doing it than this.
    HTH

  • Environment Variables (linux bash shell)

    I have searched every documentation and I have asked this question several times in several forums and java mail lists, and not one person has been able to give me the definitive answer.
    If I have the following packages:
    /usr/java/j2sdk1.4.0
    /root/j2sdkee1.3.1
    What is the exact syntax command to have these in my environment?
    Regards

    No that did not work. I issued a basic j2ee command and it failed as follows:
    [root@localhost root]# j2ee -version
    /root/j2sdkee1.3.1/bin/j2ee: /java/re/jdk/1.3.1_02/latest/binaries/linux-i386/bin/java: No such file or directory

  • Need to get .ENV and reports.sh set up correctly for 9i/WebUtil

    We have been editing default.env, a app-specific version of default.env called duris.env, and reports. sh, trying to fix the conflict between Forms WebUtil and Reports in 9.0.2.0.1. Now, it's to the point that I can't even run Reports from Forms without core dumping(direct URL calls to Reports work fine) .
    I am pasting the contents of these 3 files into this note, in hopes someone can look at them and tell me why Reports won't even run from Forms any more. Any suggestions are welcome. My email is [email protected].
    Here is the content of our default.env:
    # $Header: default.env@@/main/25 \
    # Checked in on Wed Apr 3 15:45:42 PST 2002 by vobadm \
    # Copyright (c) 2002 by Oracle Corporation. All Rights Reserved. \
    # $
    # $Id: default.env /main/25 3-apr-2.15:45:42 vobadm $
    # default.env - default Forms environment file, Solaris version
    # This file is used to set the Forms runtime environment parameters.
    # If a parameter is not defined here, the value used will be that defined
    # in the environment in which the servlet engine (OC4J or JServ) was started.
    # NOTES
    # 1/ The Forms installation process should replace all occurrences of
    # <percent>FORMS_ORACLE_HOME<percent> with the correct ORACLE_HOME
    # setting, and all occurrences of <percent>O_JDK_HOME<percent> with
    # the location of the JDK (usually $ORACLE_HOME/jdk).
    # Please make these changes manually if not.
    # 2/ Some of the variables below may need to be changed to suite your needs.
    # Please refer to the Forms documentation for details.
    ORACLE_HOME=/usr/oracle/product/9iasr2/mtier
    # Search path for Forms applications (.fmx files, PL/SQL libraries)
    FORMS90_PATH=/usr/oracle/product/9iasr2/mtier/forms90:/usr/oracle/product/webutil/forms:/usr/oracle/apps/duris/forms/bin:/usr/oracle/apps/tools/forms/bin
    # Java class path
    # This is required for the Forms debugger
    # You can append your own Java code here
    CLASSPATH=/opt/java1.3/jre/lib/rt.jar:$ORACLE_HOME/jlib/debugger.jar:$ORACLE_HOME/jlib/utj90.jar:$ORACLE_HOME/jlib/ewt3.jar:$ORACLE_HOME/jlib/share.jar:$ORACLE_HOME/jlib/zrclient.jar:$ORACLE_HOME/reports/jlib/rwrun.jar:/usr/oracle/product/webutil/lib/webutil.jar
    #@@CLASSPATH=/opt/java1.3/jre/lib/rt.jar:$ORACLE_HOME/jlib/debugger.jar:$ORACLE_HOME/jlib/utj90.jar:$ORACLE_HOME/jlib/ewt3.jar:$ORACLE_HOME/jlib/share.jar:/usr/oracle/product/webutil/lib/webutil.jar
    #CLASSPATH=/opt/java1.3/jre/lib/rt.jar:$ORACLE_HOME/jlib/debugger.jar:$ORACLE_HOME/jlib/utj90.jar:$ORACLE_HOME/jlib/ewt3.jar:$ORACLE_HOME/jlib/share.jar
    # The PATH setting is not required for Forms if the Forms executables are
    # in <ORACLE_HOME>/bin. However, it is required if Graphics applications
    # are called from Forms applications.
    PATH=/usr/oracle/product/9iasr2/mtier/bin
    # Settings for Reports
    # NOTE: This setting is only needed if Reports applications
    # are called from Forms applications
    #@REPORTS_CLASSPATH=$ORACLE_HOME/jlib/zrclient.jar:$ORACLE_HOME/reports/jlib/rwrun.jar:/usr/oracle/product/webutil/lib/webutil.jar
    REPORTS_CLASSPATH=$ORACLE_HOME/jlib/zrclient.jar:$ORACLE_HOME/reports/jlib/rwrun.jar
    # Settings for Graphics
    # NOTE: These settings are only needed if Graphics applications
    # are called from Forms applications
    # Please uncomment the following and put the correct 6i
    # oracle_home value to use Graphics applications.
    #ORACLE_GRAPHICS6I_HOME=<your Graphics 6i oracle_home here>
    # Search path for Graphics applications
    GRAPHICS60_PATH=
    # Settings for forms9i tracing and logging
    # Note: This entry has to be uncommented to enable tracing and
    # logging.
    #FORMS90_TRACE_PATH=<FORMS_ORACLE_HOME>/forms90/server
    FORMS90_TRACE_PATH=/ford/thishost/u/oracle
    # System settings
    # You should not normally need to modify these settings
    # Path for shared library objects
    # This is highly platform (if not machine) specific ! At install time
    # <percent>LD_LIBRARY_PATH<percent> should be replaced with the
    # actual value of the LD_LIBRARY_PATH environment variable (at install
    # time). That should ensure we have the paths for such necessities as
    # the motif and X11 libraries.
    # Explanations:
    # - Reports needs the path for libjava.so
    # (/cdm/solaris/o_jdk/1_2_2_0_0/jre/lib/sparc)
    # - Forms needs two paths to the jre, for libjvm.so and libhpi.so
    # - In ojdk 1.3.1 the location of libjvm.so is lib/sparc (there is no
    # classic directory) so we do not include the .../classic directory
    # below. There are other versions of libjvm.so (in directories server,
    # client and hotspot) but we will use the version in lib/sparc for now.
    SHLIB_PATH=/usr/oracle/product/9iasr2/mtier/lib32:/usr/oracle/product/9iasr2/mtier/jdk/jre/lib/PA_RISC:/usr/oracle/product/9iasr2/mtier/jdk/jre/lib/PA_RISC/classic:%SHLIB_PATH%
    # Added for WebUtil
    WEBUTIL_CONFIG=/usr/oracle/product/webutil/server/webutil.cfg
    Here is the content of our app-specific .ENV file, duris.env:
    # $Header: default.env@@/main/25 \
    # Checked in on Wed Apr 3 15:45:42 PST 2002 by vobadm \
    # Copyright (c) 2002 by Oracle Corporation. All Rights Reserved. \
    # $
    # $Id: default.env /main/25 3-apr-2.15:45:42 vobadm $
    # default.env - default Forms environment file, Solaris version
    # This file is used to set the Forms runtime environment parameters.
    # If a parameter is not defined here, the value used will be that defined
    # in the environment in which the servlet engine (OC4J or JServ) was started.
    # NOTES
    # 1/ The Forms installation process should replace all occurrences of
    # <percent>FORMS_ORACLE_HOME<percent> with the correct ORACLE_HOME
    # setting, and all occurrences of <percent>O_JDK_HOME<percent> with
    # the location of the JDK (usually $ORACLE_HOME/jdk).
    # Please make these changes manually if not.
    # 2/ Some of the variables below may need to be changed to suite your needs.
    # Please refer to the Forms documentation for details.
    ORACLE_HOME=/usr/oracle/product/9iasr2/mtier
    # Search path for Forms applications (.fmx files, PL/SQL libraries)
    FORMS90_PATH=/usr/oracle/product/9iasr2/mtier/forms90:/usr/oracle/product/webutil/forms:/usr/oracle/apps/duris/forms/bin:/usr/oracle/apps/tools/forms/bin
    # Java class path
    # This is required for the Forms debugger
    # You can append your own Java code here
    CLASSPATH=/opt/java1.3/jre/lib/rt.jar:$ORACLE_HOME/jlib/debugger.jar:$ORACLE_HOME/jlib/utj90.jar:$ORACLE_HOME/jlib/ewt3.jar:$ORACLE_HOME/jlib/share.jar:$ORACLE_HOME/jlib/zrclient.jar:$ORACLE_HOME/reports/jlib/rwrun.jar:/usr/oracle/product/webutil/lib/webutil.jar
    #@@CLASSPATH=/opt/java1.3/jre/lib/rt.jar:$ORACLE_HOME/jlib/debugger.jar:$ORACLE_HOME/jlib/utj90.jar:$ORACLE_HOME/jlib/ewt3.jar:$ORACLE_HOME/jlib/share.jar:/usr/oracle/product/webutil/lib/webutil.jar
    #CLASSPATH=/opt/java1.3/jre/lib/rt.jar:$ORACLE_HOME/jlib/debugger.jar:$ORACLE_HOME/jlib/utj90.jar:$ORACLE_HOME/jlib/ewt3.jar:$ORACLE_HOME/jlib/share.jar
    # The PATH setting is not required for Forms if the Forms executables are
    # in <ORACLE_HOME>/bin. However, it is required if Graphics applications
    # are called from Forms applications.
    PATH=/usr/oracle/product/9iasr2/mtier/bin
    # Settings for Reports
    # NOTE: This setting is only needed if Reports applications
    # are called from Forms applications
    #@REPORTS_CLASSPATH=$ORACLE_HOME/jlib/zrclient.jar:$ORACLE_HOME/reports/jlib/rwrun.jar:/usr/oracle/product/webutil/lib/webutil.jar
    REPORTS_CLASSPATH=$ORACLE_HOME/jlib/zrclient.jar:$ORACLE_HOME/reports/jlib/rwrun.jar
    # Settings for Graphics
    # NOTE: These settings are only needed if Graphics applications
    # are called from Forms applications
    # Please uncomment the following and put the correct 6i
    # oracle_home value to use Graphics applications.
    #ORACLE_GRAPHICS6I_HOME=<your Graphics 6i oracle_home here>
    # Search path for Graphics applications
    GRAPHICS60_PATH=
    # Settings for forms9i tracing and logging
    # Note: This entry has to be uncommented to enable tracing and
    # logging.
    #FORMS90_TRACE_PATH=<FORMS_ORACLE_HOME>/forms90/server
    FORMS90_TRACE_PATH=/ford/thishost/u/oracle
    # System settings
    # You should not normally need to modify these settings
    # Path for shared library objects
    # This is highly platform (if not machine) specific ! At install time
    # <percent>LD_LIBRARY_PATH<percent> should be replaced with the
    # actual value of the LD_LIBRARY_PATH environment variable (at install
    # time). That should ensure we have the paths for such necessities as
    # the motif and X11 libraries.
    # Explanations:
    # - Reports needs the path for libjava.so
    # (/cdm/solaris/o_jdk/1_2_2_0_0/jre/lib/sparc)
    # - Forms needs two paths to the jre, for libjvm.so and libhpi.so
    # - In ojdk 1.3.1 the location of libjvm.so is lib/sparc (there is no
    # classic directory) so we do not include the .../classic directory
    # below. There are other versions of libjvm.so (in directories server,
    # client and hotspot) but we will use the version in lib/sparc for now.
    SHLIB_PATH=/usr/oracle/product/9iasr2/mtier/lib32:/usr/oracle/product/9iasr2/mtier/jdk/jre/lib/PA_RISC:/usr/oracle/product/9iasr2/mtier/jdk/jre/lib/PA_RISC/classic:%SHLIB_PATH%
    # Added for WebUtil
    WEBUTIL_CONFIG=/usr/oracle/product/webutil/server/webutil.cfg
    Here is the content of reports.sh:
    #!/bin/sh
    # $Header: reports.sh@@/main/pl_hpux_formsreports_9i/8 \
    # Checked in on Mon Apr 8 19:40:42 PDT 2002 by diglesia \
    # Copyright (c) 2002 by Oracle Corporation. All Rights Reserved. \
    # $
    # Copyright (c) 60, 2002 by Oracle Corporation. All Rights Reserved.
    ## Example file to set environment variables in Bourne-shell or K-shell
    ## for Oracle Reports 9i. Refer to Install Doc for more detail on each
    ## of these environment variables. You need to modify some of the environment
    ## variables before doing source on this file ( % . reports.sh ).
    ##DISPLAY=< your unix machine name:0.0 >; export DISPLAY
    DISPLAY=localhost:5; export DISPLAY
    ## ORACLE_HOME=< oracle home >; export ORACLE_HOME
    ## if you need more than one diretory in your path, all directories should be
    ## separated by ':'
    PATH=$ORACLE_HOME/jdk/bin:$ORACLE_HOME/bin:${PATH}; export PATH
    ## Platform specific settings
    ## HP-UX settings
    if [ `uname -s` = 'HP-UX' ]
    then
    SHLIB_PATH=$ORACLE_HOME/jdk/jre/lib/PA_RISC:$ORACLE_HOME/jdk/jre/lib/PA_RISC/classic:$ORACLE_HOME/lib32:${SHLIB_PATH}; export SHLIB_PATH
    ## Linux settings
    elif [ `uname -s` = 'Linux' ]
    then
    LD_LIBRARY_PATH=$ORACLE_HOME/jdk/jre/lib/i386:$ORACLE_HOME/lib:${LD_LIBRARY_PATH}; export LD_LIBRARY_PATH
    ## Compaq Tru64 settings (OSF1)
    elif [ `uname -s` = 'OSF1' ]
    then
    LD_LIBRARY_PATH=$ORACLE_HOME/jdk/jre/lib/alpha:$ORACLE_HOME/lib:${LD_LIBRARY_PATH}; export LD_LIBRARY_PATH
    ## Default settings
    else
    LD_LIBRARY_PATH=$ORACLE_HOME/jdk/jre/lib/sparc:$ORACLE_HOME/lib:${LD_LIBRARY_PATH}; export LD_LIBRARY_PATH
    ## end platform specific settings
    fi
    ## You need to set TNS_ADMIN and TWO_TASK or ORACLE_SID to connect to database
    ## Some default values have been set below
    TNS_ADMIN=$ORACLE_HOME/network/admin; export TNS_ADMIN
    ## TWO_TASK=< two task name >; export TWO_TASK
    ## ORACLE_SID=< ORACLE SID >; export ORACLE_SID
    ## setting for Reports Runtime
    RW=$ORACLE_HOME/reports; export RW
    #REPORTS_PATH=$ORACLE_HOME/reports/templates:$ORACLE_HOME/reports/samples/demo:$ORACLE_HOME/reports/integ:$ORACLE_HOME/reports/printers; export REPORTS_PATH
    REPORTS_TMP=/tmp; export REPORTS_TMP
    REPORTS_NO_DUMMY_PRINTER=TRUE; export REPORTS_NO_DUMMY_PRINTER
    REPORTS_TAGLIB_URI=/WEB-INF/lib/reports_tld.jar; export REPORTS_TAGLIB_URI
    REPORTS_CLASSPATH=$ORACLE_HOME/reports/jlib/rwbuilder.jar:$ORACLE_HOME/reports/jlib/rwrun.jar:$ORACLE_HOME/jlib/zrclient.jar:$ORACLE_HOME/j2ee/home/oc4j.jar:$ORACLE_HOME/j2ee/home/lib/ojsp.jar;export REPORTS_CLASSPATH
    ##This section added by configurefont.sh
    PRINTER=fontprinter;export PRINTER
    TK_PRINT_STATUS=echo;export TK_PRINT_STATUS
    REPORTS_PATH=$REPORTS_PATH:$ORACLE_HOME/guicommon9/tk90/admin/TTF;export REPORTS_PATH
    #REPORTS60_PATH=$REPORTS60_PATH:$ORACLE_HOME/guicommon6/tk60/admin/TTF;export REPORTS60_PATH
    TK90_UNKNOWN=$ORACLE_HOME/guicommon9/tk90/admin; export TK90_UNKNOWN
    TK90_PPD=$ORACLE_HOME/guicommon9/tk90/admin/PPD; export TK90_PPD
    TK90_AFM=/opt/rational/base/cots/acrobat.4.0/hppa_hpux/Resource/font:$ORACLE_HOME/guicommon9/tk90/admin/AFM; export TK90_AFM
    TK90_FONTALIAS=$ORACLE_HOME/guicommon9/tk90/admin; export TK90_FONTALIAS

    I tried these steps here:
    http://articles.techrepublic.com.com/5100-10878_11-6174105.html
    However I don't have a selection called share Windows in my sharing prefs, nor do I have a Utility called Directory Access

Maybe you are looking for

  • "Radium is damaged and can't be opened."

    Howdy. Purchased Radium using my account on my new 15" MBP and the process went smooth. As I always do, I cloned the OS to use as a backup and sometimes boot off the drive on another machine to test out the clone and/or synchronize my apps and settin

  • Business logic flaw in pet store?

    I am not sure if I understood correctly. In the requestmappings.xml file, we have a section like: <url-mapping url="/validatenewaccount" screen="ACCOUNT_CREATED" useRequestHandler="true" useFlowHandler="true"> <request-handler-class>com.sun.j2ee.blue

  • Urgent : Material Changed in a purticular month

    hi, i have to make reoport in whihc i have to diplay the changes made in purticular month along with following deatils:- 1.) Name of d person who made change. 2.) Which Tcode had been used to make the change. 3.) Description of changes made. Currnetl

  • Deploying Java Comm API

    Hi, I am developing an applet which uses Java Comm API. I'm running into some deployment issue. My understanding is that Java Comm API needs to have win32com.dll and javax.comm.properties files installed on the client machine for my applet to use Com

  • Service Sale to other company codes

    hi, we have the following situation. we have one company in the group that renders a service ( service material not resource related)  to another company in the group. is there any way to handle this in the following manner: Sales Order (Service) ---