-
Notifications
You must be signed in to change notification settings - Fork 917
Description
Apache NetBeans version
Apache NetBeans 29 latest daily build
What happened
On Ubuntu 25.10 the rendering in the embedded terminal is broken. Broken in this case for example means, that the bounds of the terminal are not correctly considered. In the screenshot mc should fill the whole window, not just the top left part.
The output of stty is 0 0:
This indicates the size is not set by netbeans. Checking the error code in org.netbeans.modules.nativeexecution.pty.SttySupport.apply shows, that we get an error code or 1, instead of the expected 0.
The issue can be fixed by using stty -F <PTY> or stty --file <PTY>, but that won't work on older platforms and POSIX does not required it to be supported. Some quick checks show that QNX does not document support, Solaris was tested and did not provide it.
Workaround is to remove the rust implementation of coreutils and replace it with the gnu variant:
sudo apt install --allow-remove-essential coreutils-from-uutils- coreutils-from-gnuThis is tracked in uutils as uutils/coreutils#8848
Language / Project Type / NetBeans Component
NetBeans Terminal
How to reproduce
- Run the IDE
- Open a terminal inside the IDE
- Invoke
stty size - Observe that
0 0is printed (see above)
Did this work correctly in an earlier version?
No / Don't know
Operating System
Ubuntu 25.10 (Questing Quokka)
JDK
Bundled JDK 21
Apache NetBeans packaging
Own source build
Anything else
No response
Are you willing to submit a pull request?
Yes