# HG changeset patch # User jwe # Date 799279322 0 # Node ID 5762998e76ab1b41ccf6503792cae3ac9bed270c # Parent f7e62a1e6bf089fa061e40379f90db05c52d4743 [project @ 1995-04-30 22:01:58 by jwe] diff -r f7e62a1e6bf0 -r 5762998e76ab info/info.c --- a/info/info.c Sun Apr 30 16:17:26 1995 +0000 +++ b/info/info.c Sun Apr 30 22:02:02 1995 +0000 @@ -314,7 +314,7 @@ else { fprintf (stderr, "no entries found\n"); - status = 13; + status = -1; } close_dribble_file (); diff -r f7e62a1e6bf0 -r 5762998e76ab info/session.c --- a/info/session.c Sun Apr 30 16:17:26 1995 +0000 +++ b/info/session.c Sun Apr 30 22:02:02 1995 +0000 @@ -185,6 +185,11 @@ display_update_display (windows); info_last_executed_command = (VFunction *)NULL; info_read_and_dispatch (); + /* On program exit, leave the cursor at the bottom of the window, and + restore the terminal IO. */ + terminal_goto_xy (0, screenheight - 1); + terminal_clear_to_eol (); + fflush (stdout); terminal_unprep_terminal (); close_dribble_file (); }