ahhh yes, so simple. It is working now (i believe) although the output that would usually be displayed when loaded in the terminal is not coming up. Iv had a look about and i believe i need to redirect the output to be visible in the shell script. would i do this with something like
Which merges the output from stream n with stream m.
I have launched telnet on nt and have connected to a unix server,
I'm trying to run a program on the unix server which will launch a gui, but when I try to launch it
I get the message
"display not set\n"
"By default set it to 0.0"
I can sit down at the unix machine and launch the program with... (3 Replies)
Hi all. I need to use excel macro at my desktop to launch a csh script which is in a solaris environment. What is the code that i can use in macro to help me with that ? Basically, the code need to telnet or ftp to the solaris environment and just run the script and the macro will output in an... (1 Reply)
Greetings all,
I'll just like to know if it is possible to launch a shell script automatically upon a user's successful login into ssh from a remote host, without adding a command parameter to the ssh command...
ie. after keying in ssh username@host (not ssh username@host "command") and upon... (1 Reply)
Hello,
in the application i'm writing i need to launch "recordmydesktop" to capture the screen,but i'm having a problem: when the recording stops,and the encoding of the saved file starts,the entire system hangs until the completion of the encoding.This happens if i launch recordmydesktop from my... (7 Replies)
Hi All,
OS:AIX 64 bits
Would like to know what is the command to launch vnc session from unix shell script so that Reports server is started from vnc session which should be launched from within the shell script.
Thanks for your time!
Regards, (0 Replies)
Hi i wanted to know if any one can give me an example on how to launch a windows program in a perl script. I wanted to open the nmap software on my computer with a perl script, i heard this can be done with the system function. Would the function be in this format:
$text =... (1 Reply)
So I am attempting to get a short but complex perl script to be able to time out an application that I will launch from a command line. The terminal I use is MKS C SHELL and I am having trouble doing the a job spawn that will launch the application and keep time on it.
I know you could do this... (1 Reply)
I'm trying to write a simple shell script that looks at a given text file and if the only word in the file is 'completed', it launches another shell script.
So far I have this almost working...
if grep 'completed' $datafile
then...
however, using this logic the secondary shell script... (3 Replies)
I want to create a simple html page that should contain 2 fields in which the user can write the input. Then I want to have a button that should launch a shell script with the parameters inserted by user in the fields from the webpage.
This is the code behind my webpage:
<html>
<form... (2 Replies)
Discussion started by: black_fender
2 Replies
LEARN ABOUT HPUX
orientation
orientation(5) File Formats Manual orientation(5)NAME
orientation - the orientation of a stream
DESCRIPTION
The orientation of a stream is a property of a object that is handled as a input/output stream. It is useful when the input/output model
assumes that characters are handled as wide-characters within an application and stored as multi-byte characters in files, and that all the
wide-character input/output functions begin executing with the stream positioned at the boundary between two multi-byte characters.
After a stream is associated with a file, but before any operations are performed on the stream, the stream is without orientation. If a
wide-character input or output function is applied to a stream without orientation, the stream becomes wide-oriented implicitly. Likewise,
if a byte input or output operation is applied to a stream without orientation, the stream becomes byte-oriented implicitly. Only the
function can alter the orientation of a stream explicitly when the stream is without orientation.
Just after a stream is associated with a pipe by the function, the stream is byte-oriented.
After the stream becomes byte-oriented or wide-oriented, the orientation of a stream will be fixed and can not be changed until the stream
is closed.
The following functions are wide-character input/output functions.
The following functions are byte input/output functions.
EXAMPLES
To read characters from a stream when the orientation of the stream is unknown :
WARNINGS
If byte input/output functions are applied to a wide-oriented stream or wide-character input/output functions are applied to a byte-ori-
ented stream, the behavior is undefined.
AUTHOR
The functionality of the orientation of a stream was developed by HP and Mitsubishi Electric Corporation.
SEE ALSO fgetws(3C), fopen(3S), fread(3S), fwide(3C), fwprintf(3C), fwscanf(3C), getc(3S), gets(3S), getwc(3C), popen(3S), printf(3S), putc(3S),
puts(3S), putwc(3C), putws(3C), scanf(3S), ungetc(3S), ungetwc(3C).
orientation(5)