[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference 7.286::atarist

Title:Atari ST, TT, & Falcon
Notice:Please read note 1.0 and its replies before posting!
Moderator:FUNYET::ANDERSON
Created:Mon Apr 04 1988
Last Modified:Tue May 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1433
Total number of notes:10312

223.0. "MWC, SEDT and TeX questions..." by JGO::NIGL (Franc Nigl / DTN: 7889 - 9067) Wed Sep 14 1988 06:13

    Two small questions concerning to MWC V3.0:
    
    - Is it possible (and how) to use the SEDT-editor in the command
    shell of MWC after compiling with the "-A" switch as editor  which
    is automatically loaded into memory pointing at the occurred error.
    
    - Does anybody of you know if it is possible to use MWC with the
    TeX-package from TOOLS (By the way this is a fantastic version)
    
    
    Regards,
    Franc
T.RTitleUserPersonal
Name
DateLines
223.1Partial answer to one of the questionsPRNSYS::LOMICKAJJeff LomickaWed Sep 14 1988 13:3725
I don't know any SED, but the Mark Williams C "-A" switch works as follows:

	- Call the editor ME.TOS and put it in the PATH search list.

	- Customize the editor so that the "-E" qualifier says that the
	next file on the command line is the error file.  You read this
	file into one window.

	- In response to the -E, Using the editor's extension language,
	you parse the offending file name and line number out of the first
	message, the file into another window, and place the cursor on
	the first error.

	- Also provide a key binding that will find the next error by
	repeating the above procedure (including reading in a new file, if
	needed, in case the error was in a .h file).

If the SEDT isn't multi-window or doesn't have an extension language,
or doesn't let you see any command qualifiers, you're stuck.  Note that
you might be able to come up with a hack that autoexecutes the error
parse when the filename is "-E".

Microemacs 3.9n implements this stuff - it processes ERROR.CMD when it
sees a -E qualifier onthe command line.

223.2uEMACS works fine from the beginning==>I'm spoiledJGO::NIGLFranc Nigl / DTN: 7889 - 9067Thu Sep 15 1988 08:176
    It worked all fine with uEMACS but I then preferred to use SEDT just 
    as at work.
    Maybe ANKER can give a YES it is possible or NO it is not possible
    yet.
    
    Thanks anyway Jeff...Franc
223.3PEARS::BOEHMIrren ist m�nnlichThu Sep 15 1988 08:475
    I also would like to know, whether and how the -A compiler switch
    works together SEDT?????? Maybe Anker knows?...
    
    Rgrds. / Hilmar.
    
223.4Hopefully Anker won't mind me posting this for him...21850::WEAVERLaboratory Data ProductsMon Sep 19 1988 16:0935
From:	MURPHY::ANKER        "Anker Berg-Sonne" 22-MAR-1988 08:08
To:	LDP::WEAVER,ANKER       
Subj:	Better late than never

							Anker Berg-Sonne
							Product Marketing
							Strategic Programs
							UPO1-3
							DTN 296-4805
							MURPHY::ANKER
							22-MAR-1988
	
	David,
	
		Sorry about  taking  forever.    Here's  my  little  ME.C
	program.    It   can  be  enhanced  considerably  by  forcong  an
	initialization file that splits the screen, or even writes a .CTX
	file, but the general idea remains the same.
	
	#include <osbind.h>
	main(Argc,Argv)
	int Argc;
	char *Argv[];
	(char Command[128];
	 strcpy(Command,"Sedt ");
	 strcat(Command,Argv[1]);
	 strcat(Command," , ");
	 strcat(Command,Argv[3]);
	 return system(Command);
	}
	
		Simple, isn't it!  Make sure ME has the right type and is
	in the path.
	
	Anker