The following environment variables are used by IDA:TMP or TEMP Specifies the directory where the temporary files will be created. Default: C:\TEMP
IDALOG Specifies the name of the log file. Everything appearing in the message window will be dumped there. Default: none
IDALOG_SILENT Suppress all output to the message window. If the IDALOG variable is set, messages will continue to be written to the log file. Otherwise, they will be lost.
IDADIR Specifies the IDA directory. Default: the directory where IDA executable is located
IDA_LOADALL The selected loader will load all segments without asking
IDAUSR Specifies the directory for user-specific settings. Default: Windows: %APPDATA%/Hex-Rays/IDA Pro Linux: $HOME/.idapro Mac OS X: $HOME/.idapro
IDA_MINIDUMP (Windows only) If IDA crashes it creates a minidump file with the MiniDumpWrite(). Use this environment variable to specify MiniDump flags (a combination of MINIDUMP_TYPE flags as a hexadecimal number). If set to "NO", IDA will not write a dump.
IDA_MDMP_INIT (Windows only) Let IDA load dbghlp.dll on startup so it is used for crash dump file generation in case of a crash. If not set, IDA will load dbghlp.dll dynamically (if needed). Using this option may cause the Windbg debugger plugin to malfunction in case its dbghlp.dll does not match the one loaded by IDA
IDA_NOEH (Windows only) If set, disable IDA's own exception handler and let all possible crashes to be handled by the OS or active debugger. It is useful if you're debugging a crash in a plugin or processor module.
IDAIDS Specifies the directory with the IDS files. Default: %IDADIR%\IDS
IDASGN Specifies the directory with the SIG files. Default: %IDADIR%\SIG
IDATIL Specifies the directory with the TIL files. Default: %IDADIR%\TIL
IDAIDC Specifies the directory with the IDC files. Default: %IDADIR%\IDC
IDAPLG Specifies the directory with the plugin files. Default: %IDADIR%\PLUGINS
NONAMES Disables the name resolution
IDA_NORELOC Disables processing of the relocation information for some file formats
IDA_NOEXP Disables processing of the export information for some file formats
IDA_NOTLS Disables processing of the TLS entries for some file formats
H8_NOSIZER Disables the display of the operand sizes for H8 module
IDA_LOADALL Load all segments of the input file without futher confirmations
IDA_NO_DEBUGBREAKPROCESS (Windows only) IDA's debugger will not use the DebugBreakProcess() API to break into the process. It will instead attempt to suspend and resume all threads.
IDA_NO_REBASE IDA Debugger will not rebase the program when debugging. (This will be in effect even if the debugger plugin implements the rebase_if_required_to callback)
IDA_NOWIN (Text MS Windows version only) Bypass the code trying to find out the foreground window. This code causes problems under WINE.
IDA_DONT_SWITCH_SCREENS (text version only) Tells IDA to keep only one screen even during local debugging sessions. For local debugging sessions, IDA keeps by default one screen for the debugged application and one screen for itself.
IDA_NOAUTOCOMP Do not autodetect compiler for name demangling. If this variable is absent and the current compiler is one of MS, Borland and Watcom, the compiler is autodetected.
TV_DELAY (Windows text version only) Delay Turbo Vision screen initialization.
IDA_ELF_PATCH_MODE Overrides patch mode for the new ELF files. If this variable is defined, it must contain a number. Each bit of this number corresponds to an option from the following list:
0: Replace PIC form of 'Procedure Linkage Table' to non PIC form 1: Direct jumping from PLT (without GOT) regardless of its form 2: Convert PIC form of loading '_GLOBAL_OFFSET_TABLE_[]' of address 3: Obliterate auxiliary bytes in PLT & GOT for 'final autoanalysis' 4: Natural form of PIC GOT address loading in relocatable file 5: Unpatched form of PIC GOT references in relocatable file 6: Mark 'allocated' objects as library-objects (MIPS only)The following variables are used to fine-tune the Linux version of IDA:TVLOG the name of the log-file if it is not defined, use syslog with LOG_WARNING priority TERM the terminal definition (see terminfo) TVHEADLESS disable all output (for i/o redirection) if this variable defined, the TVOPT variable is ignored This environment variable also works also in graphical versions of IDA. When set, the graphical interface will not restore desktops, toolbars or show the main window. TVOPT the enduser flags. Has many subfields delimited by commas ','. noX11 - when libX11.so is not compatible noGPM - when libgpm.so is not compatible ansi - OR mono - when the terminfo data of your display does not declare it as having the ANSI-color support ign8 - ignore '8bit as meta key' in the terminfo description xtrack - if your xterm-emulator in telnet client does not support mode 1002 (only 1000), set this flag alt866 - do not encode pseudographic symbols (for the console with alt-font loaded) cyrcvt= - cyrilic conversion (oem/koi8r). possible values are: linux - for linux russian users and PuTTY (in/out koi8r) kwin - output in koi8 and input in cp1251 - any telnet windows - for many telnet and any linux users (in/out 1251) EDITOR The name of the user's preferred text editor.
Client name | Terminal | TVOPT | Client settings ------------|------------|--------|--------------------------------------- | | | SecureCRT |xterm-scokey| xtrack | Emulation->Terminal: xterm, | | | Emulation->keyboard: either the | | | built-in keyboard, either custom | | | 'xt-sco.key' file | | | Advanced->Terminaltype: xterm-scokey | | | SecureCRT | xterm | xtrack | Emulation->Terminal: xterm+internal kbd | | | | | | Putty |xterm-scokey| - | Terminal,Keyboard: Control?, Standard, | | | SCO, Normal, Normal | | | Putty | xterm | - | Terminal,Keyboard: ControlH, Standard, | | | ~num, Normal, Normal | | | Console | linux | - | default | | | X11:xterm | xterm | - | defaultWe recommend to use the 'xterm-scokey' terminal type for remote clients.When the terminal type is xterm-scokey then add to /etc/inputrc (or to ~/.inputrc) the following string:
"\e[.": delete char
When working on the console without GPM installed, append "noGPM" to TVOPT.
Russian users should append the following settings to the above:
| APPEND TO TVOPT | APPEND TO Client Settings -----------------|---------------------|---------------------------- Console | alt866,cyrcvt=linux | | | X11 | cyrcvt=linux | | | Putty | cyrcvt=linux | Window,Translation: use font in | | both ANSI and OEM modes | | SecureCRT | | with koi8font | | and kbd-hook | cyrcvt=linux | with koi8font | cyrcvt=kwin | with ANSI-font | cyrcvt=windows | | | The best settings for russian users on the console are: setfont alt-8x16.psf.gz -m koi2al loadkey ru-ms.map export TVOPT=cyrcvt=linux,alt866