🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sources.bugs
Article #2110

E - the friendly vi front-end SYSTEM 5 BUG FIXES.

#2110
From: speedboat jones
Date: Fri, 24 Feb 1989 21:35
38 lines
1440 bytes
Here are two patches for System 5 users of e (version 1.3).
If you are not on System 5 then you can safely ignore them.

Thanks to everyone who sent bug reports and fixes etc. There is still
a potential problem (for all unix versions) with the ok_[sf]printf() 
functions that was pointed out by Ken Yap - which I intend to ignore 
for now...

Thanks especially to Ken Yap and Tom Bertelson for their extensive 
comments and fixes.

Terry Jones.



Fix 3. /* This is a bit bad... ho hum. */

In find_hist.c line 75 (in the #ifdef Sysv) looks like this,
    if (!getcwd(cwd, sizeof(cwd))){
change it to 
    if (!getcwd(cwd, MAXPATHLEN)){

Tom Bertelson and Martin Leclerc got this one.





Fix 4.

In terminal.c line 55 (in the #ifdef Sysv) looks like this,
    set_blk.c_lflag = (initial_blk.c_lflag &= ~(ICANON|ECHO|ECHONL));
change it to
    set_blk.c_lflag = (initial_blk.c_lflag & ~(ICANON|ECHO|ECHONL));
i.e. change the &= to a plain old &

Tom Bertelson and Stephen Yee nabbed this little baby.
Technical Details
Message-ID: <11802@watdragon.waterloo.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!watdragon!tcjones

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!watdragon!tcjones
From: tcjones@watdragon.waterloo.edu (speedboat jones)
Newsgroups: comp.sources.bugs
Subject: E - the friendly vi front-end SYSTEM 5 BUG FIXES.
Message-ID: <11802@watdragon.waterloo.edu>
Date: 24 Feb 89 21:35:42 GMT
Reply-To: tcjones@watdragon.waterloo.edu (speedboat jones)
Distribution: world
Organization: U. of Waterloo, Ontario
Lines: 38