* debugger: Determine console pid from ps-command, returns either the same as we have now (e.g. xterm) or the pid of the sleep-command and works therefore also with newer gnome-terminals (thanks Jens)

git-svn-id: https://svn.code.sf.net/p/codeblocks/code/trunk@9623 2a5c6006-c6dd-42ca-98ab-0921f2732cef
- debugger: Code cleaning

git-svn-id: https://svn.code.sf.net/p/codeblocks/code/trunk@9624 2a5c6006-c6dd-42ca-98ab-0921f2732cef
- debugger: More code cleaning

git-svn-id: https://svn.code.sf.net/p/codeblocks/code/trunk@9625 2a5c6006-c6dd-42ca-98ab-0921f2732cef
- debugger: Remove useless local variable

git-svn-id: https://svn.code.sf.net/p/codeblocks/code/trunk@9626 2a5c6006-c6dd-42ca-98ab-0921f2732cef
- debugger: Simplify the code in GetConsoleTty

git-svn-id: https://svn.code.sf.net/p/codeblocks/code/trunk@9627 2a5c6006-c6dd-42ca-98ab-0921f2732cef
- debugger: Extract GetConsoleTty to be a function instead of a method of cbDebuggerPlugin

git-svn-id: https://svn.code.sf.net/p/codeblocks/code/trunk@9628 2a5c6006-c6dd-42ca-98ab-0921f2732cef
- debugger: Improve the comments in cbDebuggerPlugin::RunNixConsole

git-svn-id: https://svn.code.sf.net/p/codeblocks/code/trunk@9629 2a5c6006-c6dd-42ca-98ab-0921f2732cef
- debugger: Make it possible to translate "Program Console"

git-svn-id: https://svn.code.sf.net/p/codeblocks/code/trunk@9630 2a5c6006-c6dd-42ca-98ab-0921f2732cef
* debugger: Rework RunNixConsole to be even simpler, the old version always printed an error message and return the pid of the sleep command

git-svn-id: https://svn.code.sf.net/p/codeblocks/code/trunk@9631 2a5c6006-c6dd-42ca-98ab-0921f2732cef
- ui: Remove --disable-factroy switch when starting gnome-terminal, because it has been removed in 3.10

git-svn-id: https://svn.code.sf.net/p/codeblocks/code/trunk@9632 2a5c6006-c6dd-42ca-98ab-0921f2732cef
* debugger: Try to detect when the terminal couldn't be started and print an error instead of entering annoying loop

git-svn-id: https://svn.code.sf.net/p/codeblocks/code/trunk@9633 2a5c6006-c6dd-42ca-98ab-0921f2732cef