I am too impatient to enlarge, start Golded, rinse, repeat to find the limit where things break...
BUT
On my 26-50" screens full screen terminals will break golded starting, period,
THere is a patch: https://fidonet.ozzmosis.com/echomail.php/golded/37e10bdf0c33c539.html
The patch below fixes a bug where a very wide terminal causes GoldED to crash:
---------- Fri 21 Nov 14, GoldED+/BSD 1.1.5-b20130910 (Nov 16 2014 22:19:02) ! 23:02:48 Memory error at [gemlst.cpp,365]. ! 23:02:48 gsprintf(buffer,256,%-5.5s%s%-*.*s %-*.*s%s%-*.*s %s,...): buffer overflow (need 381 bytes).
Index: gemlst.cpp ===================================================================
RCS file: /cvsroot/golded-plus/golded+/golded3/gemlst.cpp,v
retrieving revision 1.67
diff -u -r1.67 gemlst.cpp
-+- gemlst.cpp 19 Oct 2011 23:31:31 -0000 1.67
+++ gemlst.cpp 22 Nov 2014 16:50:45 -0000
{at}{at} -333,7 +333,7 {at}{at}
mattr_ = hattr;
}
- char buf[256];
+ char buf[2560];
if(AA->Msglistwidesubj()) {
resiz += tosiz + 1;
Which does let wide terminals work... I've done it to all the ones of recent... and works.
BUT
ONLY FOR READING
If you reply the internal editor barfs and seg faults... for probably similar reasons... but I just don't have time to dig through to find its buffer to enlarge it.
On 2017 Jan 27 11:08:12, Rick Christian wrote to Jeff Smith:
yes, i know this is old and i'm top posting... sorry...
i've spent the last day hunting down this patch because my golded+ was crashing with "stack smashing detected"...
³ÄÄÄNetmail areasÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ ÄÄÄijPick New Area: ÚÄGÄDescriptionÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄEchoIDÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ ÄÄÄÄÄÄÄÄNewÄÄÄMsgsÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
i've spent the last day hunting down this patch because my golded+ was crashing with "stack smashing detected"... yeah, i was running my
terminal window at max screen size which is now 271x70... if i drop to 256x70, i can read but, as noted below, the internal editor craps the sheets... dropping back to 255x70 allows both to work... i am NOT using the patch... it didn't seem to do any good either way and i was still limited in max COLSxROWS... i even added a second zero to make the buf larger and that didn't help, either... the problem is the same with my
old golded using the code from cvs and this new one using the latest
code from github... it is really starting to look like there's a byte
size counter somewhere that is the real problem... i hate that my C/C++ skills are non-existant these days :(
I wrote the first patch for that back in 2014 but it was never
accepted upstream.
Consequently the current version of GoldED still has that bug.
I never tested >255 char wide screens with the editor, partly because
my fix wasn't accepted upstream, so I forgot about submitting any more patches, but mainly because I never use terminals that large and I
didn't expect anyone else to.
See the next series of messages for my fixes to the bugs I know about.
Be warned I haven't tested them extensively with very large terminals
so you're likely to encounter more crashes.
See the next series of messages for my fixes to the bugs I know
about. Be warned I haven't tested them extensively with very large
terminals so you're likely to encounter more crashes.
i will look...
trying again... i'm doing this in the known working 255x70 terminal... i'll try 256 in a minute and if that works, then larger until it
crashes but i think we know what'll happen... i'll also try to
remember to grab that crash message this time... might still have the
last ones in the terminal scroll back buffer ;)
i wasn't able to catch those last crash codes... i'll do that the nexttime
it happens...
i am happy to say that something certainly has been corrected since my last code update and build... i wasn't able to do any nodelist lookups
but now that seems to work... i think i have a little more work to do
to get the nodelist stuff working properly (ie: name lookups) but i'll
get to that at some point... if anyone has any pointers, they'd be appreciated... right now my nodelist is being compiled into three goldnode.gx[aln] files...
to get the nodelist stuff working properly (ie: name lookups) but i'll
get to that at some point... if anyone has any pointers, they'd be
appreciated... right now my nodelist is being compiled into three
goldnode.gx[aln] files...
Those three files are created here as well. I have these entries in my GoldEd.cfg (they are the only nodelist related statements, BTW):
When the daily nodelist is unpacked, the following code updates the
index files:
But you probably already knew that bit. Oops. :)
Sysop: | Zazz |
---|---|
Location: | Mesquite, Tx |
Users: | 7 |
Nodes: | 4 (0 / 4) |
Uptime: | 15:32:27 |
Calls: | 157 |
Files: | 2,092 |
Messages: | 144,266 |