|
|
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 - metrics - download
Length: 3072 (0xc00)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Log_Report, seg_03b2cc
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦5a81ac88f⟧ »Space Info Vol 1«
└─⟦this⟧
with Bounded_String;
with Text_Io;
package body Log_Report is
Tab_Space_Number : constant Natural := 3;
Trace_Prompt : constant String := ">>";
Image_Prompt : constant String := "";
Error_Prompt : constant String := "##";
Line_Size : constant Natural := 132;
Indentation_Level : Natural := 0;
Tracing_Mode : Boolean := False;
subtype B_String is Bounded_String.Variable_String (Line_Size);
function Indent (Level : Natural) return String is
A_Bs_String : B_String;
begin
Bounded_String.Free (A_Bs_String);
Bounded_String.Set_Length (A_Bs_String, Level * Tab_Space_Number);
return Bounded_String.Image (A_Bs_String);
end Indent;
procedure Image (Line : String) is
begin
Text_Io.Put (Indent (Indentation_Level) & Image_Prompt);
Text_Io.Put_Line (Line);
end Image;
procedure Image_Tab is
begin
Indentation_Level := Indentation_Level + 1;
end Image_Tab;
procedure Image_Untab is
begin
Indentation_Level := Indentation_Level - 1;
end Image_Untab;
procedure Trace (Line : String) is
begin
if Tracing_Mode then
Text_Io.Put (Trace_Prompt);
Text_Io.Put_Line (Line);
end if;
end Trace;
procedure Trace_On is
begin
Tracing_Mode := True;
end Trace_On;
procedure Trace_Off is
begin
Tracing_Mode := False;
end Trace_Off;
procedure Error (Line : String) is
begin
Text_Io.Put (Error_Prompt);
Text_Io.Put_Line (Line);
end Error;
end Log_Report;
nblk1=2
nid=0
hdr6=4
[0x00] rec0=26 rec1=00 rec2=01 rec3=030
[0x01] rec0=2a rec1=00 rec2=02 rec3=001
tail 0x21533ccf0851642c9b7de 0x42a00088462060003