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

⟦3fc0ae225⟧ Ada Source

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

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 Log;
with Operational_Characteristics;
with Profile;
with Program;
with Rci_Customization;
with Rci_Customization_Interface;
with Semantic_Characteristics;
with Simple_Status;  
with Telnet_Characteristics;
with Universal;

package body I386_Unix_Als_Xt is

    package Sc         renames Semantic_Characteristics;
    package Attributes renames Sc.Attribute_Characteristics;
    package Checking   renames Sc.Checking;
    package Op         renames Operational_Characteristics;
    package Pragmas    renames Sc.Pragma_Characteristics;
    package Predefined renames Sc.Predefined_Environment_Characteristics;
    package Rci        renames Rci_Customization_Interface;
    package Rep_Specs  renames Sc.Rep_Spec_Characteristics;
    package Ss         renames Simple_Status;
    package Tc         renames Telnet_Characteristics;
    package Text       renames Sc.Text;

    T_Name : constant String := "I386_Unix_Als_Xt";

    The_Operation_Mode : Op.Operation_Mode := Op.Interactive;
    -- The default operation mode is the interactive mode.

    function Get_Transfer_Type return Op.Transfer_Type is separate;
    function Get_Attribute_Info return Attributes.Object is separate;
    function Get_Operational_Info return Op.Object is separate;  
    function Get_Pragma_Info return Pragmas.Object is separate;
    function Get_Predefined_Info return Predefined.Object is separate;
    function Get_Rep_Spec_Info return Rep_Specs.Object is separate;
    function Get_Telnet_Info return Tc.Object is separate;
    -- function Get_Transfer_Type return Op.Transfer_Type is separate;


    procedure Register (Batch_Mode             : Boolean := False;
                        Allow_Standard_Rebuild : Boolean := False) is

        Status : Simple_Status.Condition;

        function Operation_Mode return String is
        begin
            if Batch_Mode then
                return "_Batch";
            end if;

            return "";
        end Operation_Mode;

    begin
        Rci.Initialize (T_Name, Status);

        if Ss.">" (Ss.Severity (Status), Ss.Normal) then
            Log.Put_Line (Ss.Name (Status), Profile.Warning_Msg);

            if Ss.">" (Ss.Severity (Status), Ss.Warning) then
                return;
            end if;
        end if;

        if Batch_Mode then
            The_Operation_Mode := Op.Batch;
        end if;
        -- Override the default operation mode.

        Rci_Customization.Register
           (Target => T_Name,
            The_Operational_Characteristics => Get_Operational_Info,
            The_Predefined_Environment_Characteristics => Get_Predefined_Info,
            The_Pragma_Characteristics => Get_Pragma_Info,
            The_Attribute_Characteristics => Get_Attribute_Info,
            The_Rep_Spec_Characteristics => Get_Rep_Spec_Info,
            The_Telnet_Characteristics => Get_Telnet_Info,
            Allow_Standard_Rebuild => Allow_Standard_Rebuild);

        Program.Run_Job
           ("""!Targets.Implementation.Rci_Customization." & T_Name &
            "'View.Units""" & ".Register_All_Extensions(""" & T_Name & """);",
            Context => "!Targets.Implementation.Rci_Customization." &
                          T_Name & "'View",
            Options => "Name => Rci_Rev2_0_2_" & T_Name & "_" &
                          Op.Transfer_Type'Image (Get_Transfer_Type) &
                          Operation_Mode & ", Output => !Machine.Error_Logs." &
                          T_Name & "_Extensions_Log");
    exception
        when others =>
            Log.Put_Line (Message => "Register completed with errors",
                          Kind    => Profile.Error_Msg);
    end Register;


    procedure Unregister is
    begin
        Rci_Customization.Unregister (T_Name);
    end Unregister;


end I386_Unix_Als_Xt;

E3 Meta Data

    nblk1=5
    nid=0
    hdr6=a
        [0x00] rec0=1d rec1=00 rec2=01 rec3=038
        [0x01] rec0=01 rec1=00 rec2=05 rec3=01e
        [0x02] rec0=19 rec1=00 rec2=02 rec3=000
        [0x03] rec0=1b rec1=00 rec2=03 rec3=00e
        [0x04] rec0=17 rec1=00 rec2=04 rec3=000
    tail 0x2171d58f8838d6b73dafd 0x42a00088462065003