08-08-2009
Thanks for the reply. In this case I have to work on two shells, since I'm running OpenSees and Matlab at the same time.
What I need is to emulate the "wait" command in order to perform my request.
Thanks in advance.
10 More Discussions You Might Find Interesting
1. BSD
When I use Mac OS X's Terminal the UI is some what easier than that of Linux...
I this just a shell or something because using Bash is a pain in RH's Linux 9. It's so sensitive about case etc. ???
In that way what is the shell that OS X uses as it's default
Bash is on OS X (OK Duh) and... (3 Replies)
Discussion started by: RedVenim
3 Replies
2. Answers to Frequently Asked Questions
Hello Everyone,
Can someone please tell me the key difference between the different shells availabe i.e. ksh,bash,(i don't know the others ones. :confused: (5 Replies)
Discussion started by: a25khan
5 Replies
3. Shell Programming and Scripting
Hi,
I am trying to supply password to scp with out having manual interaction. Like, store the password in a variable and it should be supplied to the scp when it prompted for the password. Is there any other way than the user authentication and using "expect" in perl script. i.e is this... (3 Replies)
Discussion started by: pc_raghu
3 Replies
4. Shell Programming and Scripting
Hello all,
I have the following problem. In a Bash shell I run a program (I don't have the source code) which will execute some steps. At every step the program will wait for a user input. So I would like that another script which is running on a different shell will send these input togheter with... (4 Replies)
Discussion started by: alohisius
4 Replies
5. UNIX for Dummies Questions & Answers
Guys
I now have a script that's working in a BASH environment, however one line doesn't appear to be working on an embedded device that has a busybox therefore ASH shell. I've googled but there's very little I can find regarding the ASH shell.
In BASH the following line works...
if ] ;... (6 Replies)
Discussion started by: Bashingaway
6 Replies
6. UNIX for Dummies Questions & Answers
Lets say my default shell is bash and then i load up csh and then ksh. How would i exit csh without exiting ksh?
so basically i gone from bash > csh > ksh and i wish to close csh (2 Replies)
Discussion started by: Bill Thompson
2 Replies
7. Shell Programming and Scripting
Hi all,
I am trying write a shell script to automate the installation of a program, but during the process of the installation, the installation program requires the user to scroll through 10 pages of a license agreement. Since this is coming from stdout and is not a prompt, I am unable to send... (4 Replies)
Discussion started by: nanlee
4 Replies
8. Shell Programming and Scripting
Hi all,
I am trying to analyze my data, and I will need your experience.
I have some files with the below format:
res1 = TYR res2 = ASN
res1 = ASP res2 = SER
res1 = TYR res2 = ASN
res1 = THR res2 = LYS
res1 = THR res2 = TYR
etc (many lines)
I am... (3 Replies)
Discussion started by: Tzole
3 Replies
9. UNIX for Dummies Questions & Answers
I mean like this: http://shells.red-pill.eu/
Can anyone explain how this works? I hope my post is not spam. I think its related to linux. Thank you (1 Reply)
Discussion started by: postcd
1 Replies
10. Shell Programming and Scripting
I have few bash shells, which i want to run sequentially,
how to create a shell file, and execute/call one after other shell file. I am very new to shell programming. Bult some and running individually and also with crontab scheduler.
never had a shell calling other shells, kindly would like... (2 Replies)
Discussion started by: cplusplus1
2 Replies
LEARN ABOUT REDHAT
pvm_setmwid
SETMWID(3PVM) PVM Version 3.4 SETMWID(3PVM)
NAME
pvm_getmwid, pvm_setmwid - Get or set wait ID of a message.
[In Version 3.4: Relaced by pvm_getminfo and pvm_setminfo]
SYNOPSIS
C int info = pvm_getmwid( int bufid )
int info = pvm_setmwid( int bufid, int waitid )
Fortran Not Available
PARAMETERS
bufid Message buffer identifier.
waitid Wait identifier number.
DESCRIPTION
A wait identifier is part of a message (like the source, destination, tag and body). It is used to match a reply to the corresponding
request.
The default wait ID for a message is zero (none).
pvm_getmwid returns the wait ID associated with a message buffer, or a negative error code.
pvm_setmwid assigns a new wait ID to a message buffer. It returns PvmOk unless an error occurs.
EXAMPLES
int src, tag;
pvm_recv(-1, -1);
/* ... process, compose reply message */
pvm_setmwid(pvm_getsbuf(), pvm_getmwid(pvm_getrbuf()));
pvm_bufinfo(pvm_getrbuf(), (int *)0, &tag, &src);
pvm_send(src, tag);
ERRORS
The following error conditions can be returned by pvm_getmwid or pvm_setmwid:
PvmBadParam
Invalid value for bufid argument.
PvmNoSuchBuf
Message buffer bufid doesn't exist.
SEE ALSO
pvm_bufinfo(3PVM)
18 May, 1994 SETMWID(3PVM)