display version and build info at startup (trunk only)

Tested on the unix port; I've updated as many other ports as I can figure
out but they're not tested.  See window.doc for info on the changed banner
lines.  Also adds the ability to override the generic "Unix" port - used now to get
"MacOSX" into the version line instead of "Unix" (so we don't scare people who don't
know what's going on).
This commit is contained in:
keni
2011-10-11 02:37:31 +00:00
parent bd172eb167
commit 4e5e720334
25 changed files with 82 additions and 33 deletions

View File

@@ -1244,7 +1244,7 @@ $(O)termcap.o: $(TTY)termcap.c $(HDEP) $(I)wintty.h $(I)tcap.h
$(O)topl.o: $(TTY)topl.c $(HDEP) $(I)wintty.h $(I)tcap.h
$(O)wintty.o: $(TTY)wintty.c $(HDEP) $(I)wintty.h $(I)tcap.h \
$(I)patchlevel.h
$(I)date.h $(I)patchlevel.h
$(O)amitty.o: $(AMI)amitty.c $(HDEP)

View File

@@ -1583,7 +1583,7 @@ $(O)termcap.o: $(TTY)termcap.c $(HDEP) $(I)wintty.h $(I)tcap.h
$(O)topl.o: $(TTY)topl.c $(HDEP) $(I)wintty.h $(I)tcap.h
$(O)wintty.o: $(TTY)wintty.c $(HDEP) $(I)wintty.h $(I)tcap.h \
$(I)patchlevel.h
$(I)date.h $(I)patchlevel.h
$(O)amitty.o: $(AMI)amitty.c $(HDEP)

View File

@@ -7,6 +7,7 @@
#include "NH:sys/amiga/winext.h"
#include "NH:sys/amiga/winproto.h"
#include "patchlevel.h"
#include "date.h"
extern struct TagItem scrntags[];
@@ -1304,6 +1305,7 @@ amii_init_nhwindows(argcp,argv)
amii_putstr( WIN_BASE, 0, COPYRIGHT_BANNER_A);
amii_putstr( WIN_BASE, 0, COPYRIGHT_BANNER_B);
amii_putstr( WIN_BASE, 0, COPYRIGHT_BANNER_C);
amii_putstr( WIN_BASE, 0, COPYRIGHT_BANNER_D);
amii_putstr( WIN_BASE, 0, "");
Initialized = 1;