title: Need help with gdbtui - gnu debugger on linux
body: <p>I ssh into a remote linux sever from my Mac, and run gdbtui to debug a program. The source code displays, but the cursor line in the source code window frequently is not highlighted. I can enter commands such as 'next' and 'list' in the command line window, but the source code window doesn't redraw correctly. It sometimes shows lines in the source file out of order (the line numbers are displayed out of order.)</p>
  
  <p>I have my TERM environment variable set to xterm-16color which vim is very happy to use.  I'm at a loss as to what I should try.</p>
  
  <p>gdb in ordinary command-line mode works fine.</p>
  
  <p>Ideas?</p>