Hi, The attached patch fixes a NULL pointer dereference starting the TUI when the TERM environment variable is not set. This is a particular problem on windows where that variable is not usually set. 2005-10-17 Andrew Stubbs * tui/tui-command.c (tui_dispatch_ctrl_char): Test output of getenv() before using it. Andrew Stubbs