A Code Monkey's Blog

Indent only XML file

Recently I have worked on editing XML files in Vim. These XML files are the documents of a software in DocBook style. Since they are maintained manually, the indentation is badly formatted. So before getting deeper, the very first thing to do was to re-indent the files. It turned out ...

Quick print: a little trick for gdb setting

Today I would like to share a little trick that I have adapted and used for a while. It is for gdb. Before your reading the rest of the post, and if you have no idea about the customization of gdb, please read here

If you use gdb frequently, chances ...

Arrow keys don't work properly in Totalview Debugger

Totalview is a very powerful debugger for C/C++, Fortran languages, especially for debugging high performance programs. In this commandline interface(a new xterm window) no matter how hard I tried my arrow 'Up' key entered [[A char and 'Down' keys gave [[B char. What I really wanted was the ...