Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages!

You are not logged in. Login here for full access privileges.

Previous Message | Next Message | Back to GoldED Public Release discussion...  <--  <--- Return to Home Page
   Networked Database  GoldED Public Release discussion...   [328 / 433] RSS
 From   To   Subject   Date/Time 
Message   Ben Ritchey    Michael Dukelsky   Re: bug   July 15, 2018
 2:22 AM *  

*
* On Sunday  15 Jul 2018  196 at 09:25 AM,
*  Michael Dukelsky said to Ben Ritchey,
*   about bug ...
*

Here's the patch I came up with for geinit.cpp (it does work!) that handles 
smaller screens (30 rows or less).

File: geinit.pat

=== Cut ===
diff --git a/geinit_1.cpp b/geinit.cpp
index 58f71a4..446fc8f 100644
-+- a/geinit_1.cpp
+++ b/geinit.cpp
@@ -1,4 +1,3 @@
-
 //  ------------------------------------------------------------------
 //  GoldED+
 //  Copyright (C) 1990-1999 Odinn Sorensen
@@ -399,7 +398,7 @@ static void w_brag() {
   wprints(4, 46-strlen(__gver_longpid__)-1-strlen(__gver_ver__), C_BRAGW, 
__gver_longpid__);
   wprints(4, 46-strlen(__gver_ver__), C_BRAGW, __gver_ver__);

-  wprints(5, 12, C_BRAGW, ";">http://golded-plus.sourceforge.net";);
+  wprints(5, 12, C_BRAGW, ";">https://github.com/golded-plus";);

   wprints(0, 48, C_BRAGW, " GoldED+  Message Editor ";);
   gsprintf(PRINTF_DECLARE_BUFFER(buf), " Copyright (C) 1990-%s 
",__gver_date__+7);
@@ -415,28 +414,35 @@ static void w_brag() {
   gsprintf(PRINTF_DECLARE_BUFFER(buf), "---*-*-*** %s ***-*-*---", 
__gver_releasename__);
   wcenters(8, C_BRAGW, buf);

-  wcenters(10, C_BRAGW, "This program is free software; it is licensed under 
the";);
-  wcenters(11, C_BRAGW, "GNU General Public License version 2. You're welcome 
to";);
-  wcenters(12, C_BRAGW, "redistribute the program or any parts hereof under 
cer-";);
-  wcenters(13, C_BRAGW, "tain conditions. See the LICENSE.TXT for more 
details.";);
-
-  wcenters(MAXROW-10, C_BRAGW, "This executable is distributed by";);
-  if (*__gver_vendor_fido__)
+  if (MAXROW > 30)
   {
-    gsprintf(PRINTF_DECLARE_BUFFER(buf), "%s (Fido: %s) - <%s>",
-      __gver_vendor_name__, __gver_vendor_fido__, __gver_vendor_email__);
+    wcenters(10, C_BRAGW, "This program is free software; it is licensed under
 
the";);
+    wcenters(11, C_BRAGW, "GNU General Public License version 2. You're 
welcome to";);
+    wcenters(12, C_BRAGW, "redistribute the program or any parts hereof under 
cer-";);
+    wcenters(13, C_BRAGW, "tain conditions. See the LICENSE.TXT for more 
details.";);
   }
-  else
+
+  wcenters(MAXROW-16, C_BRAGW, "This executable is distributed by";);
+
+  gsprintf(PRINTF_DECLARE_BUFFER(buf), "%s", __gver_vendor_name__);
+  wcenters(MAXROW-14, C_BRAGW, buf);
+
+  if (*__gver_vendor_fido__)
   {
-    gsprintf(PRINTF_DECLARE_BUFFER(buf), "%s <%s>",
-      __gver_vendor_name__, __gver_vendor_email__);
+    gsprintf(PRINTF_DECLARE_BUFFER(buf), " FIDONet: %s ", 
__gver_vendor_fido__);
+    wcenters(MAXROW-13, C_BRAGW, buf);
   }

-  wcenters(MAXROW-9, C_BRAGW, buf);
+  gsprintf(PRINTF_DECLARE_BUFFER(buf), "%s", __gver_vendor_email__);
+  wcenters(MAXROW-12, C_BRAGW, buf);
+
   gsprintf(PRINTF_DECLARE_BUFFER(buf), "Compiled on %s %s", __gver_date__, 
__gver_time__);
-  wcenters(MAXROW-8, C_BRAGW, buf);
-}
+  wcenters(MAXROW-10, C_BRAGW, buf);
+
+// Wait after startup screen              -=:{ ***** Testing only ***** }:=-
+//  waitkey();

+}

 //  ------------------------------------------------------------------

=== Cut ===

 .-- Keep the faith, -------------------------------------------------.
 |                                                                    |
 |    Ben  aka cMech  Web: http|ftpinkp|telnet://cmech.dynip.com    |
 |                  Email: fido4cmech(at)lusfiber.net                 |
 |              Home page: http://cmech.dynip.com/homepage/           |
 |                                                                    |
 `-------- WildCat! BBS  24/7  +1-337-984-4794  any BAUD 8,N,1 -------'

... Marriage is an expensive way of getting your laundry done free.
--- GoldED+/W32-MSVC v1.1.5-g20180714 ... via Mystic BBS!
 * Origin: FIDONet - The Positronium Remote (1:393/68.8)
  Show ANSI Codes | Hide BBCodes | Show Color Codes | Hide Encoding | Hide HTML Tags | Show Routing
Previous Message | Next Message | Back to GoldED Public Release discussion...  <--  <--- Return to Home Page

VADV-PHP
Execution Time: 0.0956 seconds

If you experience any problems with this website or need help, contact the webmaster.
VADV-PHP Copyright © 2002-2024 Steve Winn, Aspect Technologies. All Rights Reserved.
Virtual Advanced Copyright © 1995-1997 Roland De Graaf.
v2.0.140505

Warning: Unknown: open(c:\Sessions\sess_5nfl4vnoahdigc04ng4srvkct3, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (c:\Sessions) in Unknown on line 0 PHP Warning: session_start(): open(c:\Sessions\sess_5nfl4vnoahdigc04ng4srvkct3, O_RDWR) failed: No such file or directory (2) in D:\wc5\http\public\VADV\include\common.inc.php on line 45 PHP Warning: Unknown: open(c:\Sessions\sess_5nfl4vnoahdigc04ng4srvkct3, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (c:\Sessions) in Unknown on line 0