This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Sometimes in SunStudio the termulator starts out with a buffer width of 1, and io that is connected to it shows up in only one column. This wasn't a big problem in SunStudio 11 but somehow in SunStudio 12 it is exacberated by different startup sequences or such.
Changed SSX3 whiteboard status to SSX3-MPK
Applied a quick fix in Screen.java: + // When under NB we sometime get resizes when validate() happens + // while Term !isShowing() so the sizes are <= 0. + // The result is a 1-column output. + // In the following we discard "bad" resizes as a workaround. A more comprehensive fix, potentially involving re-wrapping of text on resizes will have to wait til later.
Term was originally written as a no-frills reimplementation of traditional terminal emulators, like xterm, which usually appear in standalone windows which are of constant width (usually 80 columns). Traditional termulators buffer lines _after_ wrapping them. Try this: narrow an xterm (or konsole) to 20 columns. cat some large file, widen it to 80 columns and scroll back in history ... you'll see a lot of white space between columns 20 and 80. Also at the time Term was introduced to NB SDI mode was still live and the likelihood of constant width terminal windows was high. This still needs to be addressd although it's a technically challenging problem as it interacts with other constraints: optimized repainting and "infinite" buffers a'la output2.
please re-create the issue if it's still actual
Yes, the specific problem of 1-column wide terminals has been addressed. I'll close this and file a new RFE to address general re-wrapping: bug #189365