From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,19d07d96f103778e X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit From: Brian May Newsgroups: comp.lang.ada Subject: Re: Why do the escape sequences not work? References: Date: Sun, 03 Oct 2004 10:37:07 +1000 Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:BrZcpT3nvUKnLXC5X5lls+hOgiw= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: dsl-202-173-153-89.vic.westnet.com.au X-Trace: news.melbourne.pipenetworks.com 1096763816 202.173.153.89 (3 Oct 2004 10:36:56 +1000) X-Complaints-To: abuse@pipenetworks.com X-Abuse-Info: Please forward all headers to enable your complaint to be properly processed. Path: g2news1.google.com!news1.google.com!news.glorb.com!newsfeed-east.nntpserver.com!nntpserver.com!news1.optus.net.au!optus!news.mel.connect.com.au!news-south.connect.com.au!news.alphalink.com.au!news.melbourne.pipenetworks.com!not-for-mail Xref: g2news1.google.com comp.lang.ada:4587 Date: 2004-10-03T10:37:07+10:00 List-Id: >>>>> "stephane" == stephane richard writes: stephane> I believe you need your ansi.sys driver installed (if stephane> that exists in XP :-).....it's a console problem. Only stephane> with ansi.sys installed (or emulated if it can) can stephane> these escape commands work. Another solution might be to use an alternative console, e.g. rxvt that comes supplied with msys/mingw32. I doubt it requires ANSI.SYS... On a related topic, anyone know how Windows sets priorities on applications? I have a command line application (Ada of course), run in a MS console window. It is a daemon, so is meant to run in the background, without any user access required. However, I have been getting complaints that it stops working if the window isn't visible (e.g. covered by another window). If another window pops up in front of it, it stops working. Also power save mode on the monitor stops it working (or was that the screen saver?). The confusing part is that sometimes it does work. I haven't seen the problem, and can't reproduce it on Windows XP (the computer in question is Windows 2000 IIRC). My theory is that MS-Windows reduces the priority of the task if the window is not visible on the assumption that the user doesn't need to interact with Windows they can't see. I have a suspicion that using rxvt might solve the problem (and will check this ASAP), but I don't know how priorities are set on Windows. -- Brian May