Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uwm.edu!ux1.cso.uiuc.edu!tank!gargoyle!igloo!ddsw1!proxima!frcs!paul From: paul@frcs.UUCP (Paul Nash) Newsgroups: comp.lang.c Subject: Re: UNIX C-compiler Message-ID: <970@frcs.UUCP> Date: 13 Apr 90 10:43:54 GMT References: <3578@hcx1.SSD.CSD.HARRIS.COM> Distribution: comp Organization: free range computer systems cc Lines: 35 In article <3578@hcx1.SSD.CSD.HARRIS.COM>, brad@SSD.CSD.HARRIS.COM (Brad Appleton) writes: > In article <3577@hcx1.SSD.CSD.HARRIS.COM> leoh@hardy.hdw.csd.harris.com (Leo Hinds) writes: > >I bow to all the emacs users that can control the world from within emacs > >with just a few (IMHO) obnoxious keystrokes. What they can achieve ... > > > Not necessarily so. To compile from within vi just use ":!make" which > will run make (or even :!cc foo.c which will run the C compiler), and > > Oh! You say you want to be able to parse the error messages ... > > On some BSD-based Systems (e.g. SunOs) there is a program called "error" Obviously _some_ people out there do know about emacs, but as the poster of the original aritcle was looking for a system similar to TC, there is no reason why s/he should not have top go and buy it. I use Epsilon (by Lugaru) with both DOS & Xenix, and it makes the TruboC environment lokk silly (I have TC 2 aswell, but almost never use it). To run `make', type X-M, and make will run, while the editor tee's the stdout/stderr to the screen and an editor buffer. It will then parse errors, and display them as an editor message while putting the cursor on the line, etc., opening files if needed to get to the problem code. While this is pretty standard with good DOS editors (Brief, etc), it works better than most DOS stuff (no `hidden compiles' - you see the error messages immediately, and keyboard input [eg ^C] gets to the compiler!), and better than bunches of Unix tools. Sure, a nice Unix pipeline and a couple of vi macros will do a similar job _for_free_, but I don't think that that is what the original poster was asking for. BTW: Epsilon is _very_ customisable, but works great straight out the box. -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ...!uunet!ddsw1!proxima!frcs!paul paul@frcs.UUCP -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-