[haiku-bugs] [Haiku] #9293: Some Terminal enhancements

  • From: "Ziusudra" <trac@xxxxxxxxxxxx>
  • Date: Mon, 17 Dec 2012 00:56:12 -0000

#9293: Some Terminal enhancements
-----------------------------------+------------------------------
 Reporter:  Ziusudra               |        Owner:  jackburton
     Type:  enhancement            |       Status:  new
 Priority:  normal                 |    Milestone:  R1
Component:  Applications/Terminal  |      Version:  R1/Development
 Keywords:                         |   Blocked By:
 Blocking:                         |  Has a Patch:  0
 Platform:  All                    |
-----------------------------------+------------------------------
 These fix most of the issues that I described over at [http://ports.haiku-
 files.org/ticket/663#comment:2 HaikuPorts].

 Patch 0001 adds a haiku termcap entry that accurately describes Terminal's
 current capabilities. This would fix #6424. (Issues such as #3164 and
 #6510 will probably be made worse unless the haiku termcap entry is
 installed on the remote or TERM is changed.)

 Patch 0002 updates the master termcap.src. It also disables warnings in
 our ncurses.a; this is temporary. I'll be looking at better use of that
 termcap.src after the holidays.

 Patch 0003 is just a style cleanup of TermParse.cpp.

 Patch 0004 adds comments describing Terminal's terminfo/termcap
 capabilities.

 Patch 0005 implements the other ACS characters that DejaVu has glyphs for.

 Patch 0006 makes SGR codes 39 & 49 actually reset the color as
 {{{IS_FORESET}}} & {{{IS_BACKSET}}} are never used. Are they left over
 from something that got removed, or are they something that didn't get
 finished?

 Patch 0007 fixes a bug I noticed while testing where SIGWINCH was not
 getting updated when the terminal size was changed by the
 {{{Settings->Window size}}} menu.

 Patch 0008 just removes a few lines of duplicated code in
 {{{TermView::AttachedToWindow}}}.

 Patch 0009 removes the SIGWINCH message, runner, handler and flag as they
 weren't used/needed.

 There are still things I'm looking into. The already mentioned
 termcap.src, a terminfo entry (maybe eventually upstreamed to ncurses),
 cursor visibility, updating (or maybe removing) the in trunk ncurses, and
 maybe back color erase.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/9293>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: