142 Commits

Author SHA1 Message Date
Jason Hood
80ce96981f Updated readme; added zlib license. 2013-02-14 18:28:06 +10:00
Jason Hood
c5cb4788c2 Go back to using ANSI-LLW.exe. 2013-02-14 18:12:13 +10:00
Jason Hood
a52a46c9c1 New method to obtain 32-bit LoadLibraryW from 64-bit code, eliminating the need
for ANSI-LLW.exe.
Set the code page so ansicon.exe can display some strings properly.
Expand wildcards for -t.
VC6 can now compile the 32-bit version; use it for the release binaries.
Improvements to the VC makefile.
Describe the sequences in a bit more detail.
2012-11-24 23:41:29 +10:00
Jason Hood
ef587f0dee Fixed multiple simultaneous process creation. 2012-06-12 14:38:00 +10:00
Jason Hood
b3e905eeae Added some more sequences; released v1.52. 2012-06-02 17:20:21 +10:00
Jason Hood
4f78bdba6d Implemented \e[39m & \e[49m. 2012-06-01 23:42:58 +10:00
Jason Hood
4d2dec15d3 Enable 32-bit to inject into 64-bit. 2012-04-10 15:39:58 +10:00
Jason Hood
6fc87e3a06 Hook _lwrite & _hwrite; release v1.51. 2012-02-24 12:53:07 +10:00
Jason Hood
4add6313e9 Fix 32-bit process identifying 64-bit process. 2012-02-05 11:31:39 +10:00
Jason Hood
b73334ae08 Ignore version within core API DLL names. 2012-01-15 15:24:01 +10:00
Jason Hood
f3c69d9d21 Fixed installing into redirected CMD.EXE. 2012-01-07 15:34:43 +10:00
Jason Hood
790de57763 Exclude modules from being hooked; hook only selected GUI programs.
Added environment variable ANSICON_EXC to specify modules that should not be
hooked.  This should work around the nvd3d9wrap.dll issue.  Since it helps to
know what the modules are, logging is now always available, controlled by -l
or ANSICON_LOG.  A side-effect caused debugstr.c to move to util.c.

GUI programs are once again not hooked, unless run by "ansicon" directly or in
the ANSICON_GUI environment variable.  Since not hooking still leaves ANSICON in
the environment, created ANSICON_VER as a dynamic-only variable, which can also
serve as a version check.

Due to an email requesting a reverse video option, realised I always take the
current attributes as default.	This means if you turned on reverse and ran a
program, it would take the reverse as its default.  Created ANSICON_DEF variable
to explicitly set the default attribute, using the current if it doesn't exist.
The reverse video option is done via a "negative" attribute (e.g. "-m-f0" is
reversed black on white, meaning you'll get white on black, with foreground
sequences changing the background).  (The difference from "\e[7m" is that it
won't be reset on "\e[m".)

A child program will inherit the parent's modes (but not shift); the parent will
read the child's modes on exit (but not unload).  The exception is "ansicon",
which will always start with the default modes and leave the parent unchanged.

Improved the AutoRun entry, only running "ansicon" if ANSICON_VER doesn't exist.
The "ansicon" command is always first.

Stopped -u implying -p; return the program's exit code; don't restore the
original color when just using -p; output error messages to stderr.
2011-12-14 20:53:51 +10:00
Jason Hood
a87891fa6a Added Leigh's surname to the readme. 2011-03-04 10:55:06 +10:00
Jason Hood
21be0fa511 Updated DLL version resource. 2011-03-04 01:45:25 +10:00
Jason Hood
0f90c1c620 Restored readme's version date. 2011-03-03 17:26:14 +10:00
Jason Hood
9f939f78db Documentation improvements. 2011-03-03 17:23:45 +10:00
Jason Hood
ecc746bdb7 Added the G1 text files. 2011-03-01 21:08:00 +10:00
Jason Hood
b6e61429d7 Added DECTCEM to show/hide the cursor. 2011-03-01 21:01:37 +10:00
Jason Hood
ad82e4e642 Support SO/SI using DEC's Special Graphics Characters 2011-02-26 17:14:21 +10:00
Jason Hood
6d7cd9212c Hook GetProcAddress (.NET support for PowerShell) 2011-02-26 01:12:35 +10:00
Jason Hood
1b3511ac1f Fixed x64 and MinGW32 crashes. 2010-12-22 18:47:45 +10:00
Jason Hood
c1be7e4e7a -i implies -p; more x64/gui mucking about. 2010-12-17 15:39:25 +10:00
Jason Hood
be7672b92e Close the handles opened by CreateProcess.
Prevent the block when directly running a GUI process.
File logging improvements (on by default, this time).
2010-12-16 16:00:56 +10:00
Jason Hood
dd4e45686b General maintenance. 2010-12-12 23:32:22 +10:00
Jason Hood
0c1ddeb8ea Remove obsolete files. 2010-12-12 21:59:54 +10:00
Jason Hood
b9d2207742 Improvements 2010-12-12 21:58:35 +10:00
Luis Lavena
a3a594001b Moved DEBUGSTR to a separated file
This make more easy enable and disable debugging across
ansicon
2010-12-10 13:05:13 -03:00
Jason Hood
d239a1c717 Update readme 2010-12-04 15:29:58 +10:00
Jason Hood
626095d127 Fixes for Issues 5/7/8.
Conflicts:
	ansicon.c
2010-12-04 15:23:02 +10:00
Jason Hood
b4e52e6b45 Fix crashes 2010-12-04 15:19:36 +10:00
Jason Hood
04b04d6347 Use ANSICON_API environment variable 2010-11-19 15:50:10 +10:00
Jason Hood
4bca0ee2fe File log 2010-11-19 12:15:15 +10:00
Jason Hood
ee02771f95 Fix for the move from WriteFile to WriteConsoleA. 2010-11-15 22:19:55 +10:00
Jason Hood
de677f3408 Merged VC changes 2010-11-15 22:14:17 +10:00
Jason Hood
26a28bf0cc VC support. 2010-11-15 21:51:38 +10:00
Jason Hood
912a68b6a5 Return bytes not chars for WriteFileA 2010-11-13 21:55:07 +10:00
Jason Hood
cabaa57578 Fix 64-bit version related to issue 2 2010-11-13 21:54:02 +10:00
Jason Hood
b66d378192 Update ansi.rc 2010-11-13 15:08:08 +10:00
Jason Hood
ea0e84f9f0 Remove ANSI-LLA.c 2010-11-13 15:03:57 +10:00
Jason Hood
3adef8e873 Additional fix for issue 2. 2010-11-13 15:01:36 +10:00
Jason Hood
212adb101b Fix for issues 1 & 2. 2010-11-13 14:49:27 +10:00
Jason Hood
a551a6e6c8 Initial commit (v1.30) 2010-11-08 15:31:01 +10:00