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

⟦cf4e843fd⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Rational_Commands, seg_012381

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



-- This is a template for changing key bindings for the Rational terminal
-- Installing this procedure, with the desired case entries, will change the
-- actions caused by those keys for any sessions that are created with
-- visibility to this procedure.

with Editor;
with Rational_Key_Names;

procedure Rational_Commands is
    use Rational_Key_Names;

    type Intent is (Prompt, Execute, Interrupt);

    Action : Intent;

    Key_1 : Key_Names;
    Key_2 : Key_Names;
    Key_3 : Key_Names;
    Key_4 : Key_Names;
    Key_5 : Key_Names;
    Key_6 : Key_Names;

begin
    case Action is

        when Prompt =>
            case Key_1 is
                when others =>
                    null;
            end case;

        when Execute =>
            case Key_1 is
                when Window =>
                    case Key_2 is
                        when '+' =>
                            Editor.Screen.Set_Lines (24);
                        when '-' =>
                            Editor.Screen.Set_Columns (80);
                        when others =>
                            null;
                    end case;
                when others =>
                    null;
            end case;

        when Interrupt =>
            case Key_2 is
                when others =>
                    null;
            end case;

    end case;

end Rational_Commands;


E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=27 rec1=00 rec2=01 rec3=014
        [0x01] rec0=13 rec1=00 rec2=02 rec3=000
    tail 0x2170e2ce082a65922b26c 0x42a00088462060003