matthiasblaesing opened a new issue, #8938:
URL: https://github.com/apache/netbeans/issues/8938

   ### 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.
   
   <img width="1317" height="957" alt="Image" 
src="https://github.com/user-attachments/assets/ec67075b-c293-4ba0-8fbd-416b7b153603";
 />
   
   The output of stty is `0 0`:
   
   <img width="338" height="136" alt="Image" 
src="https://github.com/user-attachments/assets/6259cde6-9b7f-46eb-bbe6-551e01c84d3d";
 />
   
   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:
   
   ```bash
   sudo apt install --allow-remove-essential coreutils-from-uutils- 
coreutils-from-gnu
   ```
   
   This is tracked in uutils as https://github.com/uutils/coreutils/issues/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 0` is 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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to