| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | [TSEPro] Re: compiler/editor interface -- Win2K, TeX, and TSE |
From: John Frampton
@Date: Thu, 06 Feb 2003 06:26:50 -0500
@Sender: semware-owner{at}sawasdi.apana.org.au
Michael - Reading the manual would lead you to believe some
things about the operation of DOS that do not hold for the
Windows version. According to Sammy there is a problem with the
fact that TSE is not run in a console but DOS must be, so TSE
loses control of the console process and it returns immediately
in spite of the _DEFAULT_ flag.
The solution that appears to work is for TSE to call the compiler
indirectly, via a DOS bat file which first calls the compiler and
then pauses ("press any key"). That way, I get to see the
compiler output in real time and simultaneously to tee the
compliler output to a log file. On error, TSE can load the log
file and use it to take further action --- goto the line number
where the error occured.
Thanks everyone for your help,
John Frampton
----------------------------------------------------------------
Michael Fisher wrote:
> John,
>
>
>>I think I am on my way to a proper TSE/Tex setup. The only
>>thing left (for perfection) is to find a way for the console
>>window to remain open until permission is granted to close it.
>>
>
> The solution to this may in fact be already hinted at in the
> quoted Help example:
>
>
>>Dos("CC " + CurrFilename() + " >results",
_DONT_PROMPT_ |
>>
> _TEE_OUTPUT_)
>
> See how two different flags are are passed simultaneously, as
> second parameter to Dos(), by combing them with the bitwise or
> operator '|'?
>
> If you want the window to remain open, replace the first flag
> '_DONT_PROMPT_' with '_DEFAULT_'. It is explained as follows:
>
> _DEFAULT_ causes the screen to be cleared and the command
> issued. After completion, the editor prompts with "Press a key
> to continue...". Once a key is pressed, the editor's screen is
> restored.
>
> That could just be what you are looking for.
>
>
> --
> TSEPro mailing list
>
>
--
TSEPro mailing list
---
[sawasdi.apana.org.au] (3:800/846.13)
* Origin: apana>>>>>fidonetSEEN-BY: 633/267 270 @PATH: 800/846 1 640/954 774/605 123/500 106/1 379/1 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.