* fep
@ 1998-05-29 4:00 Art Werschulz
1998-06-02 4:00 ` fep Jeff Sullivan
0 siblings, 1 reply; 3+ messages in thread
From: Art Werschulz @ 1998-05-29 4:00 UTC (permalink / raw)
Hi.
Has anybody ever successfully built fep? This is a front end
processor that allows you to add command-line editing and history to
any program that uses stdin/stdout I/O. For instance, you could do
fep bc
to add this capability to bc.
Anyway, when I try building fep with gcc, I get a bunch of warnings,
along with an error msg
fep_main.c: In function `catchsig':
fep_main.c:623: storage size of `status' isn't known
The offending line is
union wait status;
When I use cc, the error msg is:
cc: Error: fep_main.c, line 623: In this declaration, "status" has no
linkage and is of an incomplete type.
Suggestions? The main point seems to be that neither compiler likes
this particular BSD-ism.
--
Art Werschulz (8-{)} "Metaphors be with you." -- bumper sticker
GCS/M (GAT): d? -p+ c++ l u+(-) e--- m* s n+ h f g+ w+ t++ r- y?
Net: agw@dsm.fordham.edu <a href="http://www.dsm.fordham.edu/~agw/">WWW</a>
Phone: Fordham U. (212) 636-6325, Columbia U. (212) 939-7061
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: fep
1998-05-29 4:00 fep Art Werschulz
@ 1998-06-02 4:00 ` Jeff Sullivan
0 siblings, 0 replies; 3+ messages in thread
From: Jeff Sullivan @ 1998-06-02 4:00 UTC (permalink / raw)
You will need to add -D_BSD to your CFLAGS, since the program
uses a version of wait3 that does not conform to the current
standard. (See the standards(5) man page for more information)
The standards refered to for these interfaces are:
wait(): XPG4, XPG4-UNIX
waitpid(): POSIX.1, XPG4-UNIX
wait3(): XPG4-UNIX
The other interfaces are described in the wait3 man page. Look for
references to "backward compatible" in that man page and it will
describe the differences in <sys/resource.h>, etc.
I was able to build this on DIGITAL UNIX V4.0D by making this
change in the Makefile:
CFLAGS = $(DEBUG) $(CONFIG) -D_BSD
Let us know if you run into a problem with this solution.
-Jeff
--
Jeff Sullivan | Digital Equipment Corp | jps@zk3.dec.com
DEC C and C++ | Nashua, NH ZK3-2/2X29 | sullivan@zko.dec.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* fep
@ 1997-08-19 4:00 Art Werschulz
0 siblings, 0 replies; 3+ messages in thread
From: Art Werschulz @ 1997-08-19 4:00 UTC (permalink / raw)
Hi.
There's an old program called fep, a general purpose front end
processor that features vi- or emacs-like line editing and a command
history mechanism like that of csh.
I can't get it to compile on DU4.0, neither with cc nor gcc. The
author (whose e-mail address seems to no longer work) says that fep
was developed on Berkeley UNIX, but will probably run on most UNIX
system which have pseudo tty and the select system call.
Has anybody successfully built this critter?
--
Art Werschulz (8-{)} "Metaphors be with you." -- bumper sticker
GCS/M (GAT): d? -p+ c++ l u+(-) e--- m* s n+ h f g+ w+ t++ r- y?
Internet: agw@dsm.fordham.edu <a href="http://www.dsm.fordham.edu/~agw/">WWW</a>
ATTnet: Fordham U. (212) 636-6325, Columbia U. (212) 939-7061
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1998-06-02 4:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-05-29 4:00 fep Art Werschulz
1998-06-02 4:00 ` fep Jeff Sullivan
-- strict thread matches above, loose matches on Subject: below --
1997-08-19 4:00 fep Art Werschulz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox