Hi Friends,
Please send me the code for exchanging the data between two programs. The scenario is like below:-
Program A reads data and sends it to Program B.
Program B accept the data from program A and then prints it on console or give to printer for printout.
If one or more programs sends data to Program B then Program B waits untill it recieved the data from mulitple programs and atlast prints the data what it recieved.
we must use duplex or half duplex communication.
Here we need to develop code for two programs.one is for reading data from user and sending it to second program.
Another code is for second program for reading the data which was sent by first program.The second program must use WAIT call inorder to listen data from mulitiple programs.
Please send me the code for the above scenario. Friends I would be very greatful for your earliest reply. Many thanks in advance.
Hello
Im stuck with a project on converting existing applications in to their portable versions, What i mean is that i want an application to run on a Linux OS without the need of actually installing the application on that machine. My preffered OS is fedora as it is used on most machines in my... (1 Reply)
Hi,
I am developing a script that invokes a program, and that program is going to prompt for some input every now and then based on some parameters.
My script shall provide input to the program, automatically, by processing the text output by the program..
say..
when the program asks ... (3 Replies)
Hello everyone, I was just wondering if there was a way to make it so that usernames could be used across applications.
For instance, I have a server that has a bunch of users. I want these users to have ways of accessing my database as well as a variety of other programs, but I don't want them... (2 Replies)
Hi all,
I have some UNIX servers (all flavor to be honest: SOLARIS, AIX, HP-UX) running some applications.
I would like to publish these applications to remote client mainly running Windows XP.
I know i can remotely access the desktop thanks to Cygwin,Hummingbird EXCEED...
But I don't... (2 Replies)
I am an Oracle DBA who has previously worked only on NT machines. I need to install Oracle on an AIX box. This Unix server has only a CRT monitor. The Oracle installation REQUIRES a graphical means of seeing the Unix machine. I've been told that I should telnet from a PC that can display X... (2 Replies)
what(1) General Commands Manual what(1)NAME
what - Displays identifying information for Source Code Control System (SCCS) files
SYNOPSIS
what [-s] file...
STANDARDS
Interfaces documented on this reference page conform to industry standards as follows:
what: XCU5.0
Refer to the standards(5) reference page for more information about industry standards and associated tags.
OPTIONS
Searches for just the first occurrence of @(#).
OPERANDS
Pathname of the file to search.
DESCRIPTION
The what command searches the named files for all occurrences of the pattern that get(1) substitutes for the %Z% keyletter, and writes to
standard output whatever follows the pattern up to, but not including, the first " (double quote), > (redirection symbol), newline charac-
ter, (backslash), or null character.
By convention, the value substituted by get(1) for the %Z% keyletter is @(#). (See the get(1) command or the prs(1) command for a descrip-
tion of identification keywords.)
If you specify more than one file, each line of output is preceded by the name of the file it is read from; otherwise, the file name is not
displayed. If no file is specified, what reads from standard input.
The what command is intended for use in conjunction with the get command, which automatically inserts the identifying information. You can
also use the what command on files where the information is inserted manually.
EXIT STATUS
The following exit values are returned: Matches were found. No matches were found.
EXAMPLES
Suppose that the file test.c contains a C program that includes either of the following lines:
char ident[ ] = "@(#)Test Program"; #pragma ident "@(#)Test Program"
If you compile test.c to produce test.o and a.out, you could then enter the following command: what test.c test.o a.out
This command would produce the following displays: test.c: Test Program test.o: Test Program a.out: Test Program
ENVIRONMENT VARIABLES
The following environment variables affect the execution of what: Provides a default value for the internationalization variables that are
unset or null. If LANG is unset or null, the corresponding value from the default locale is used. If any of the internationalization vari-
ables contain an invalid setting, the utility behaves as if none of the variables had been defined. If set to a non-empty string value,
overrides the values of all the other internationalization variables. Determines the locale for the interpretation of sequences of bytes
of text data as characters (for example, single-byte as opposed to multibyte characters in arguments and input files). Determines the
locale for the format and contents of diagnostic messages written to standard error. Determines the location of message catalogues for the
processing of LC_MESSAGES.
SEE ALSO
Commands: admin(1), cdc(1), comb(1), delta(1), get(1), prs(1), rmdel(1), sact(1), sccs(1), sccsdiff(1), sccshelp(1), unget(1), val(1)
Files: sccsfile(4)
Standards: standards(5)
Programming Support Tools
what(1)