DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦35955b6d2⟧ Ada Source

    Length: 6144 (0x1800)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Xlbt_Display3, seg_004fa9

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦cfc2e13cd⟧ »Space Info Vol 2« 
        └─⟦this⟧ 

E3 Source Code



with Unchecked_Deallocation;

with Xlbt_Arithmetic;  
use Xlbt_Arithmetic;  
with Xlbt_Basic3;  
use Xlbt_Basic3;  
with Xlbt_Context_Manager3;  
use Xlbt_Context_Manager3;  
with Xlbt_Event3;  
use Xlbt_Event3;  
with Xlbt_Extension3;  
use Xlbt_Extension3;  
with Xlbt_Extension4;  
use Xlbt_Extension4;  
with Xlbt_Gc3;  
use Xlbt_Gc3;  
with Xlbt_Graphics3;  
use Xlbt_Graphics3;  
with Xlbt_Image;  
use Xlbt_Image;  
with Xlbt_Key3;  
use Xlbt_Key3;  
with Xlbt_Proc_Var;  
use Xlbt_Proc_Var;  
with Xlbt_Request3;  
use Xlbt_Request3;  
with Xlbt_String;  
use Xlbt_String;  
with Xlbt_Window4;  
use Xlbt_Window4;  
with Xlbt_Univ_Ptr;  
use Xlbt_Univ_Ptr;  
with Xlbt_Visual;  
use Xlbt_Visual;

with Xlbmt_Network_Types;  
use Xlbmt_Network_Types;  
with Xlbmt_Parameters;  
use Xlbmt_Parameters;

package body Xlbt_Display3 is
------------------------------------------------------------------------------
-- X Library Display - Full Interface
--
-- Xlbt_Display3 - Types that need not be imported directly into most programs.
------------------------------------------------------------------------------
-- Copyright 1989 - 1991 by Rational, Santa Clara, California.
-- Copyright 1985 - 1989 by the Massachusetts Institute of Technology
--
--                  All Rights Reserved.
--
-- Permission to use, copy, modify, and distribute this software and its
-- documentation for any purpose and without fee is hereby granted,
-- provided that the above copyright notice(s) appear in all copies and that
-- both that copyright notice(s) and this permission notice appear in
-- supporting documentation, and that the names of MIT or Rational not be
-- used in advertising or publicity pertaining to distribution of the software
-- without specific, written prior permission.
--
-- MIT and Rational disclaim all warranties with regard to this software,
-- including all implied warranties of merchantability and fitness, in no
-- event shall MIT or Rational be liable for any special, indirect or
-- consequential damages or any damages whatsoever resulting from loss of use,
-- data or profits, whether in an action of contract, negligence or other
-- tortious action, arising out of or in connection with the use or performance
-- of this software.
------------------------------------------------------------------------------

--\x0c
    procedure Err (Destination : out X_Error_String;  
                   Source      :     X_String) is
------------------------------------------------------------------------------
----We use this routine to assign error strings.
--  We pad the buffer with Ascii.Nul's.
------------------------------------------------------------------------------
    begin  
        if Source'Length > Destination.Ary'Length then  
            Destination.Ary :=  
               Source (Source'First ..  
                          Source'First + Destination.Ary'Length - 1);  
        else  
            Destination.Ary (Destination.Ary'First ..  
                                Destination.Ary'First + Source'Length - 1) :=  
               Source (Source'Range);  
            Destination.Ary (Destination.Ary'First + Source'Length ..  
                                Destination.Ary'Last)                      :=  
               (others => Xlbt_String.Nul);  
        end if;  
    end Err;

--\x0c
    function Err (Source : X_Error_String) return X_String is
------------------------------------------------------------------------------
----We use this function to read out error strings.
--  Return everything up to the first null.
------------------------------------------------------------------------------
    begin  
        for I in Source.Ary'Range loop  
            if Source.Ary (I) = Xlbt_String.Nul then  
                return Source.Ary (Source.Ary'First .. I - 1);  
            end if;  
        end loop;  
        return Source.Ary;  
    end Err;

--\x0c
end Xlbt_Display3;  

E3 Meta Data

    nblk1=5
    nid=0
    hdr6=a
        [0x00] rec0=2c rec1=00 rec2=01 rec3=01a
        [0x01] rec0=12 rec1=00 rec2=02 rec3=062
        [0x02] rec0=13 rec1=00 rec2=03 rec3=066
        [0x03] rec0=16 rec1=00 rec2=04 rec3=020
        [0x04] rec0=06 rec1=00 rec2=05 rec3=000
    tail 0x21700721a819783eab10d 0x42a00088462063203