From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,84174eec3ffb6f2,start X-Google-Attributes: gidfee84,public From: Art Werschulz Subject: fep Date: 1997/08/19 Message-ID: #1/1 X-Deja-AN: 265311114 Organization: Fordham University/FCLC Newsgroups: comp.unix.osf.osf1 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 WWW ATTnet: Fordham U. (212) 636-6325, Columbia U. (212) 939-7061 From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,d7b4853216b2427,start X-Google-Attributes: gidfee84,public From: Art Werschulz Subject: fep Date: 1998/05/29 Message-ID: #1/1 X-Deja-AN: 357640871 Organization: Fordham University/FCLC Newsgroups: comp.unix.osf.osf1 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 WWW Phone: Fordham U. (212) 636-6325, Columbia U. (212) 939-7061 From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,d7b4853216b2427 X-Google-Attributes: gidfee84,public From: Jeff Sullivan Subject: Re: fep Date: 1998/06/02 Message-ID: <3574775E.3F1EEE55@zk3.dec.com>#1/1 X-Deja-AN: 358934571 Content-Transfer-Encoding: 7bit References: Content-Type: text/plain; charset=us-ascii Organization: Digital Equipment Corporation Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 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 , 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