#30 getTermwidth does not honor Terminal

closed-fixed
nobody
None
5
2010-05-13
2007-05-29
Anonymous
No

A user specified terminal is not honored by getTermwidth and getTermheight.
e.g. Given:
ConsoleReader(new FileInputStream(java.io.FileDescriptor.in),
new PrintWriter(System.out),
null,
new
PtyTerminal(frysk.sys.FileDescriptor.in))

getTermwidth calls
Terminal.setupTerminal ().getTerminalWidth ();
which results in calling UnixTerminal.getTerminalWidth.

From: scox@redhat.com

Discussion

  • Nobody/Anonymous

    ConsoleReader.java patch:

     
  • Charles Oliver Nutter

    This appears to have been applied in another form.

     
  • Charles Oliver Nutter

    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks