Skip to content

Commit

Permalink
Print startup banners so the text fits into the lines of hyphens
Browse files Browse the repository at this point in the history
  • Loading branch information
mn200 committed Jun 29, 2023
1 parent bcc1c3a commit 2120b03
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions std.prelude
Original file line number Diff line number Diff line change
Expand Up @@ -165,12 +165,12 @@ struct
fun print_banner() =
TextIO.output(TextIO.stdOut,
"\n---------------------------------------------------------------------\n"
^" HOL-4 ["
^" HOL4 ["
^Globals.release^" "^Lib.int_to_string(Globals.version)
^" ("^Thm.kernelid^", "^build_stamp
^")]\n\n"
^" For introductory HOL help, type: help \"hol\";\n"
^" "^exit_string
^" For introductory HOL help, type: help \"hol\";\n"
^" "^exit_string
^"\n---------------------------------------------------------------------\
\\n\n")

Expand Down
8 changes: 4 additions & 4 deletions tools-poly/holinteractive.ML
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ struct
end
handle _ => ""
val id_string =
"HOL-4 [" ^ Globals.release ^ " " ^ Lib.int_to_string Globals.version ^
"HOL4 [" ^ Globals.release ^ " " ^ Lib.int_to_string Globals.version ^
" (" ^ Thm.kernelid ^ ", " ^ build_stamp ^ ")]\n\n"
val exit_string =
if Systeml.OS = "winNT" then
Expand All @@ -54,9 +54,9 @@ struct
fun print_banner () =
TextIO.output (TextIO.stdOut,
line ^
" " ^ id_string ^
" For introductory HOL help, type: help \"hol\";\n" ^
" " ^ exit_string ^
" " ^ id_string ^
" For introductory HOL help, type: help \"hol\";\n" ^
" " ^ exit_string ^
line)
end;

Expand Down

0 comments on commit 2120b03

Please sign in to comment.