Yes, I know saying how much I’m upset will not solve anything. As I’m frustrated (deeply) I have no other way to do so.
I nethertheless dug the environnement netbeans, konsole, dbus, to point what is supposed to be wrong.
I did an application expected to drive the Konsole application with the dbus library in C programming.
This application did not work anymore just because dbus, now, identifies the different “Konsole sessions” by postfixing “-konsoleid” that wasn’t the case before.
I suppose Netbeans used dbus to open Konsole as a “external terminal” with the old dbus fashion (with no postfix).
I have a null pointer exception when the method is called (looking at the trace)
java.lang.NullPointerException
** at org.netbeans.modules.cnd.debugger.common2.debugger.io.DebuggerExternalTerminal.<init>(DebuggerExternalTerminal.java:93)
at org.netbeans.modules.cnd.debugger.common2.debugger.io.ExternalTerminalPack.start(ExternalTerminalPack.java:64)**
at org.netbeans.modules.cnd.debugger.gdb2.Gdb$Factory.startAsync(Gdb.java:325)
at org.netbeans.modules.cnd.debugger.gdb2.Gdb$Factory.access$1400(Gdb.java:171)
at org.netbeans.modules.cnd.debugger.gdb2.Gdb$Factory$1$1.run(Gdb.java:297)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303)
As gdb works with the internal terminal it can not be involved in the faulty behaviour.
I asked the Netbeans community if this was possible to take “advantages” of the ANSI sequences in the “standard/internal” terminal, years ago. It didn’t change since.
The escaped caracters are just printed at the terminal.
As I’m supposed to teach the basics of programming I’m not supposed to teach the graphical nore event drived applications to my students and at this step of my courses I’m stuck.
I could change the paradigm for the next year but for now I’m lost. I can’t show to the students the differences of the “bad approaches” and “clever approaches” simply because there is no way to launch Konsole.
I will try to configure xterm that works better than Konsole in such case, in order to have it behave as Konsole, the color space is not the same and that is important for us, and as we use functions to typically
manage Konsole in our home made library I have to change some features.
Sorry for this nonsensed up close and personnal (coup de gueule).
I did like a teenager :{