|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - download
Length: 5120 (0x1400) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Rs6000_Server, seg_0201ea
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─ ⟦5a81ac88f⟧ »Space Info Vol 1« └─⟦this⟧
with Logger_Interface; with System_Interface; with Text_Io; with Transport_Interchange; with Unix_Base_Types; with System; with Xt_Interface; package body Rs6000_Server is package Li renames Logger_Interface; procedure Process_Call (Stream : Transport_Stream.Stream_Id; Id : Rpc.Transaction_Id; Version : Rpc.Version_Number; Proc : Rpc.Procedure_Number) is begin case Proc is when Rpc_Defs.Proc_Number.Initialize => Text_Io.Put_Line ("initializing toolkit "); Rpc_Server.Begin_Response (Stream, Id); Xt_Interface.Initialize; when Rpc_Defs.Proc_Number.Xterm.Create => Text_Io.Put_Line ("creating xterm on host " & Transport_Interchange.Get_String (Stream)); -- Text_Io.Put_Line ("create display " & -- Transport_Interchange.Get_String (Stream)); Rpc_Server.Begin_Response (Stream, Id); when Rpc_Defs.Proc_Number.Xterm.Close => Text_Io.Put_Line ("close xterm "); Rpc_Server.Begin_Response (Stream, Id); when Rpc_Defs.Proc_Number.Xterm.Put => Text_Io.Put_Line ("put xterm " & Transport_Interchange.Get_String (Stream)); Rpc_Server.Begin_Response (Stream, Id); when Rpc_Defs.Proc_Number.Log.Create => Li.Create; Text_Io.Put_Line ("created log on host " & Transport_Interchange.Get_String (Stream)); Rpc_Server.Begin_Response (Stream, Id); when Rpc_Defs.Proc_Number.Log.Close => Li.Close; Text_Io.Put_Line ("closed log "); Rpc_Server.Begin_Response (Stream, Id); when Rpc_Defs.Proc_Number.Log.Put => Li.Put (Transport_Interchange.Get_String (Stream)); Rpc_Server.Begin_Response (Stream, Id); when others => raise Rpc.No_Such_Procedure; end case; end Process_Call; procedure Start is begin Text_Io.Put_Line ("start"); Xt_Interface.Process_Event; end Start; procedure Finish is begin --Text_Io.Put_Line ("finish"); --Xt_Interface.Dispatch_Event; null; end Finish; procedure Serve_Gets is new Rpc_Server.Serve (Program => Rpc_Defs.Program, Supported => (0, Rpc.Version_Number'Last), Process_Call => Process_Call, Initialize => Xt_Interface.Initialize, Main_Loop_Preprocess => Start, Main_Loop_Postprocess => Finish); procedure Serve (Connection : Transport.Connection_Id) is begin Serve_Gets (Connection); end Serve; end Rs6000_Server;
nblk1=4 nid=0 hdr6=8 [0x00] rec0=1b rec1=00 rec2=01 rec3=036 [0x01] rec0=18 rec1=00 rec2=04 rec3=062 [0x02] rec0=1f rec1=00 rec2=03 rec3=018 [0x03] rec0=0a rec1=00 rec2=02 rec3=000 tail 0x2151c2b6283896fe7150c 0x42a00088462060003