1
% @(#)set_back.hlq 13.1.1.1 (ESO-IPG) 06/02/98 18:14:55
2
%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3
%.COPYRIGHT (c) 1990 European Southern Observatory
6
%.KEYWORDS MIDAS, help files, SET/BACKGROUND
7
%.PURPOSE On-line help file for the command: SET/BACKGROUND
8
%.VERSION 1.0 12-MAR-1990 : Creation, KB
9
%.VERSION 1.1 22-FEB-1993 : Update, KB
10
%----------------------------------------------------------------
14
SET/BACKGROUND 19-JAN-1999 KB
16
SET/BACKGROUND [method] [echo] [sleep_time]
17
put Midas session into "background" mode
20
Put Midas session into "background" mode
23
SET/BACKGROUND [method] [echo] [sleep_time]
25
method = SOCKETS or FILES, if we want to communicate via Unix
26
sockets or via ASCII files.
28
For the SOCKETS method the communicating Midas sessions may
29
run on the same host or different hosts in the network.
31
If the Midas session from which we will receive commands is not
32
running on the same host , the "SOCKETS,remote" has to be used.
34
For the FILES method the communicating Midas sessions have
35
to run on the same host.
37
echo = ON or OFF, to echo the no. of bytes received and the unit
38
of the sending Midas or not;
42
sleep_time = no. of seconds to wait before looking for input;
44
only applicable for `method'=FILES, defaulted to 1
47
CLEAR/BACKGROUND, CONNECT/BACK_MIDAS
50
This command currently works only in Unix, not in VMS!
52
In background mode Midas does not accept input typed at the keyboard.
53
Instead Midas waits for commands sent by other Midas sessions
55
If communicating Midas sessions run on the same host, they must be
56
started in parallel mode.
58
If the communication is based on files, the background Midas receives
59
a signal from the sending Midas when a command has been sent.
61
The par. `sleep_time' is only needed for those cases where the
62
sender is not another Midas session but a stand-alone program
63
on a different host executing in a different environment, e.g.
64
OS/9 or "Rocky Mountain Basic" from HP.
66
If the communication is based on sockets, i.e. the Unix OSX interfaces
67
are used, the SET/BACKGROUND command has to be given before any other
68
Midas connects to this session via the CONNECT/BACK_MIDAS command
70
The echo can be updated later on by another call to SET/BACK,
71
however, the method remains fixed.
76
Put current Midas into background mode, use ASCII files for
77
communication and echo the sender Midas unit for incoming commands.
79
SET/BACKGR sockets off
80
Put current Midas into background mode, use the osx interfaces
81
communication and do not echo the sender Midas unit for incoming
84
Only input from Midas sessions running on the same host is received.
86
SET/BACKGR sockets,remote off
87
As above, but input from Midas sessions running on other hosts in
88
the network is received.