Re: [Freedos-devel] .BAT tricks (%RANDOM%, ANSI escapes in %PROMPT%)

2011-07-26 Thread Jim Michaels
:51 PM Subject: Re: [Freedos-devel] .BAT tricks (%RANDOM%, ANSI escapes in %PROMPT%) Hi, On Thu, Jul 21, 2011 at 7:59 PM, Rugxulo rugx...@gmail.com wrote: On Thu, Jul 21, 2011 at 2:49 PM, Rugxulo rugx...@gmail.com wrote: A better way could definitely be done in a variety of languages (BWBASIC

Re: [Freedos-devel] .BAT tricks (%RANDOM%, ANSI escapes in %PROMPT%)

2011-07-26 Thread Rugxulo
Hi, On Tue, Jul 26, 2011 at 2:30 AM, Jim Michaels jmich...@yahoo.com wrote: I seem to remember a DOS driver called NNANSI.SYS some time ago which gave the console ANSI escape sequences. I presume you mean this (now GPL): http://almy.us/dospage.html

Re: [Freedos-devel] .BAT tricks (%RANDOM%, ANSI escapes in %PROMPT%)

2011-07-25 Thread Rugxulo
Hi, On Thu, Jul 21, 2011 at 7:59 PM, Rugxulo rugx...@gmail.com wrote: On Thu, Jul 21, 2011 at 2:49 PM, Rugxulo rugx...@gmail.com wrote: A better way could definitely be done in a variety of languages (BWBASIC? DEBUG?). Just for completeness, I did whip up a quick 8086 asm snippet for DEBUG.

[Freedos-devel] .BAT tricks (%RANDOM%, ANSI escapes in %PROMPT%)

2011-07-21 Thread Rugxulo
Hi, I'm not sure this is anything that anybody but me would find interesting. Still In lieu of %RANDOM% (Win32's CMD) or whatever 4DOS offers, I just now had to hack up my own stupid way of doing things. Really, the only reason is to use ANSI escapes in my prompt and change the color