~ubuntu-branches/debian/jessie/eso-midas/jessie

« back to all changes in this revision

Viewing changes to prim/help/clear_back.hlq

  • Committer: Package Import Robot
  • Author(s): Ole Streicher
  • Date: 2014-04-22 14:44:58 UTC
  • Revision ID: package-import@ubuntu.com-20140422144458-okiwi1assxkkiz39
Tags: upstream-13.09pl1.2+dfsg
ImportĀ upstreamĀ versionĀ 13.09pl1.2+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
% @(#)clear_back.hlq    19.1 (ESO-IPG) 02/25/03 14:03:00
 
2
%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
3
%.COPYRIGHT  (c)  1990 European Southern Observatory
 
4
%.IDENT      clear_back.hlq
 
5
%.AUTHOR     KB, IPG/ESO
 
6
%.KEYWORDS   MIDAS, help files, CLEAR/BACKGROUND
 
7
%.PURPOSE    On-line help file for the command: CLEAR/BACKGROUND
 
8
%.VERSION    1.0  12-MAR-1990 : Creation, KB
 
9
%.VERSION    1.1  22-FEB-1993 : Update, KB
 
10
%----------------------------------------------------------------
 
11
\se
 
12
SECTION./BACKGROUND
 
13
\es\co
 
14
CLEAR/BACKGROUND                                        04-NOV-1996  KB
 
15
\oc\su
 
16
CLEAR/BACKGROUND [no_secs]
 
17
        put Midas session into "foreground" mode
 
18
\us\pu
 
19
Purpose:
 
20
         Put Midas session back into "foreground" mode, i.e. close the
 
21
         communication from server side.
 
22
\up\sy
 
23
Syntax:
 
24
         CLEAR/BACKGROUND [no_secs]
 
25
\ys\pa
 
26
         no_secs = no. of seconds to wait before actually changing to the
 
27
                   foreground mode (i.e. closing the communication); 
 
28
\\
 
29
                   defaulted to 0
 
30
\ap\sa
 
31
See also:
 
32
         SET/BACKGROUND, CONNECT/BACK_MIDAS
 
33
\as\no
 
34
Note:  
 
35
         In foreground mode Midas accepts input typed at the keyboard. In
 
36
         background mode the input is sent from another Midas session (or any
 
37
         other process using the communication interfaces of Midas) which is
 
38
         a client of this background Midas session.
 
39
\\
 
40
         This command is typically sent from another Midas session, since the
 
41
         current Midas session being in background mode does not accept any
 
42
         command typed in by the user.
 
43
\\
 
44
         Since the server must close the communication only after all clients
 
45
         have closed their communication, the parameter `no_secs' may be
 
46
         used by a client to close its communication (via command
 
47
         DISCONNECT/BACK_MIDAS) before the background Midas actually executes
 
48
         the CLEAR/BACKGR which was sent to it.
 
49
\on\exs
 
50
Examples:
 
51
\ex
 
52
         CLEAR/BACKGR 
 
53
           Put this (current) Midas from background into foreground 
 
54
           (interactive) mode.
 
55
\xe\ex
 
56
         b,CLEAR/BACKGR 5
 
57
           Send to a connected, background Midas (for details see HELP of 
 
58
           CONNECT/BACK_MIDAS) the command CLEAR/BACKGR which will be executed
 
59
           by the background Midas (server) after 5 seconds.
 
60
           In the meantime this Midas can execute DISCONNECT/BACK_MIDAS.
 
61
\\
 
62
           Naturally, the connection should have been established with the
 
63
           NO_WAIT option!
 
64
\xe \sxe