TIP: Click on subject to list as thread! ANSI
echo: qedit
to: ALL
from: `CHRIS ANTOS (EXCHANGE)`
date: 1998-03-26 07:00:00
subject: Re: Dos() in TSE 2.8

From: "Chris Antos (Exchange)" 
are you using NT, or Win95?  i have an executable which only runs on NT that
can help work around this problem with a little effort.
if i remember right, there is a problem in the operating system support for
teeing output from console mode applications.  due to this, semware had to
disable the teeing to the screen although the output does still go to the
file (which is the more important of the two).
//chris
-----Original Message-----
From: Tung, Steve Wai-Yip [mailto:Steve_Wai-Yip_Tung@cisnc.canon.com]
Sent: Wednesday, March 25, 1998 11:43 AM
To: tsepro@semware.com
Subject: Dos() in TSE 2.8
I use to have this macro in TSE 2.5. It starts a DOS session and
captures the output back into TSE editor. This makes TSE a great DOS
console. However it doesn't work in TSE 2.8 anymore. In particular the
_TEE_OUTPUT_ flags seems to lose it functions. What can I do?
proc mShellCapture()
    integer msglevel
    string fn[80]
    fn = MakeTempName("", ".tmp")
    Dos(Format("command >", fn), _DONT_PROMPT_|_TEE_OUTPUT_)
    EditFile(fn)
    msglevel = Set(MsgLevel, _WARNINGS_ONLY_)
    KillFile()
    Set(MsgLevel, msglevel)
    FileChanged(FALSE)
end
Wai Yip
---
---------------
* Origin: apana>>>>>fidonet [sawasdi.apana.org.au] (3:800/846.13)

SOURCE: echomail via exec-pc

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™.