WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Ncurses utils.  (Read 3142 times)

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Ncurses utils.
« on: February 12, 2009, 04:23:58 PM »
Utilities that are part of ncurses but not included in base.

Code: [Select]
Title:          ncurses-utils.tce
Description:    Ncurses utilities.
Version:        5.6
Author:         Zeyd Ben-Halim, Eric S. Raymond, Thomas Dickey and Jurgen Pfeifer
Original-site:  http://www.gnu.org/software/ncurses/
Copying-policy: MIT
Size: 337K
Extension_by:   Jason W
Comments:       This extension contains the ncurses commands that are not in base
TC.  It uses the /usr/share/terminfo already in base, but
this extension is PPI compatible as all files are in /usr/local.
Included commands are: clear, infocmp, tack, tic, toe, tput.
Change-log:     
Current:        2009/02/12 First version.

Code: [Select]
Title:          ncurses-utils.tcz
Description:    Ncurses utilities.
Version:        5.6
Author:         Zeyd Ben-Halim, Eric S. Raymond, Thomas Dickey and Jurgen Pfeifer
Original-site:  http://www.gnu.org/software/ncurses/
Copying-policy: MIT
Size: 356K
Extension_by:   Jason W
Comments:       This extension contains the ncurses commands that are not in base
TC.  It uses the /usr/share/terminfo already in base.
Included commands are: clear, infocmp, tack, tic, toe, tput.
Change-log:     
Current:        2009/02/12 First version.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11050
Re: Ncurses utils.
« Reply #1 on: February 12, 2009, 05:37:28 PM »
The busybox config has clear enabled, does the ncurses one have more features?
The only barriers that can stop you are the ones you create yourself.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Ncurses utils.
« Reply #2 on: February 12, 2009, 06:31:57 PM »
Upon closer look, there is not one difference whatsoever between busybox clear and ncurses clear.  There is normally at least a few differences between busybox apps and their full counterparts but not this time.  I had included it since it was a 86k binary that I figured could provide an alternative to the busybox version to give folks the option of the "full featured" ncurses one.  Kind of like the apps in coreutils.  There is 25 uncommented lines of source in the ncurses clear.c vs 8 lines in busybox, with no noticable difference in function.  Given this I will remove clear and save almost 100k of space at no feature expense.