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

⟦d4786b40a⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, function Get_Telnet_Info, seg_021214, separate I386_Unix_Als_Xt

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



separate (I386_Unix_Als_Xt)
function Get_Telnet_Info return Tc.Object is

    Error_Pattern_List   : constant Tc.Pattern_List :=
       (1 => Tc.Build (Pattern_String => "Error:",  
                       For_Target     => T_Name));
    Warning_Pattern_List : constant Tc.Pattern_List :=
       (1 => Tc.Build (Pattern_String => "Warning:",  
                       For_Target     => T_Name));

    Tc_Characteristics : Tc.Object :=
       Tc.Build (Username_Prompt => "user name:",
                 Username_Failure => "",
                 Password_Prompt => "password:",
                 Password_Failure => "**incorrect**",

                 Command_Prompt => "% ",

                 -- It might be nice if these worked.
                 Prompt1 => "Ada.",
                 Prompt2 => "Library_Manager.",
                 Prompt3 => "Unit_Manager.",
                 Prompt4 => " | ",

                 Check_Status_Of_Commands => True,

                 Status_Command => "echo $status",

                 Status_Code_Offset => 1,
                 Status_Code_Length => 1,

                 Dir_Command => "test -d ",

                 Initial_Command => "/bin/dlsh",

                 Transmit_Before_Login => "",
                 Transmit_After_Login => ((1 => Ascii.Cr) & (2 => Ascii.Cr) &
                                          (3 => Ascii.Cr) & (4 => Ascii.Cr)),

                 Error_Pattern_List => Error_Pattern_List,
                 Warning_Pattern_List => Warning_Pattern_List,

                 Telnet_Protocol_Local_Echo => False,

                 For_Target => T_Name);

begin
    return Tc_Characteristics;
end Get_Telnet_Info;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=1c rec1=00 rec2=01 rec3=02a
        [0x01] rec0=17 rec1=00 rec2=02 rec3=000
    tail 0x2171d5904838d6b81e674 0x42a00088462065003