[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[jed-users] UPDATE Jed for Win32
- To: jed-users@xxxxxxxxxxx
- Subject: [jed-users] UPDATE Jed for Win32
- From: Jeff Wojtkiewicz <jwojtkie@xxxxxxxxxxx>
- Date: Thu, 08 Jul 1999 00:24:05 CDT
- Mailing-list: list jed-users@onelist.com; contact jed-users-owner@onelist.com
From: Jeff Wojtkiewicz <jwojtkie@xxxxxxxxxxx>
This is kind of long but please read, so that maybe soon we can have a more
fully functioning WJED.
I've been looking at the problems WJED 99.7 is having with shell commands in
win32. I found out my version was not running the shell commands at all
(e.g dir>out.txt never made an out.txt file.) and to top it off WJED locked
up every time. I looked at the shell.sl script and found this:
"(%s) 2>&1 < /dev/null",
I had little idea what anything did outside of the %s and the ()'s are a
mystery to me so out of ignorance i changed the line to:
"%s"
Now i tried to run shell commands (dir>>out.txt) and they worked but wjed
still locked up. So I followed the code and found that in ledit.c the
program calls insert_file_pointer() and then from here calls vgets() and
then it never comes back from there. I think it is getting stuck on the
read() in vgets() for some reason.
but if I comment out that section in ledit.c I can run shell commands and do
all that stuff without crashes but You don't get any output.
So it appears the shell commands work but it chokes on converting the
output. Maybe the shell.sl script needs to be changed for this newer vesion
or at least explained to me (***).
I hope this helps someone fix this problem. I will keep at it though and
see what I can do. (but if that is the case then see (***) ).
Jeff Wojtkiewicz
--------------------------- ONElist Sponsor ----------------------------
ONElist: your connection to like-minds and kindred spirits.
------------------------------------------------------------------------
***** http://www.pub.ro/~vang/jed/