

  gdb 7.2 DOS binaries for DJGPP


  Versions

gdbtui.exe has been compiled with TUI support (-tui command line option),
gdb.exe hasn't.


  TUI mode

For TUI mode, the ncurses library needs to know the terminal settings which
are stored in files pointed to by environment variables: TERMINFO contains the
full path of the base directory of terminal info files and TERM contains the
name of the current terminal which is, by definition, also the filename of its
settings.

See terminfo.zip for a package of DOS/Windows-related terminal settings, taken
from Cygwin. See terminfo.bat for an example of setting the environment
variables properly. (The value of TERMINFO must be changed into an absolute
path.)

gdbtui.exe expects terminal settings in the following directory structure:
files are sorted into subdirectories named by the hexadecimal ASCII code of
their first characters. Unpack gbtui.exe with UPX and apply the tidirstr.com
patch to remove this: then all terminal settings are expected to exist in the
same directory (the base directory).


  Installing an ANSI driver

The recommended terminal is "ansi.sys". To make it work, an ANSI driver must
be installed. Under real DOS, add

  device=<path>\ansi.sys

to config.sys and reboot. Alternatively, you can use Dynamic Memory Control
(by Adlersparre & Associates) to install drivers from the DOS prompt:

  note
  ldevice ansi.sys

and uninstall them:

  freenote

at your will. There are also alternative ANSI drivers such as ANSI (by Ziff
Communications Co.) and NANSI (by Daniel Kegel).

In the DOS prompt of Windows NT and above, add

  device=%SystemRoot%\system32\ansi.sys

to the config.nt file in the Windows system32 directory and start a new DOS
prompt.
