home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / ncurses-1.9.9e-src.tgz / tar.out / fsf / ncurses / TO-DO < prev   
Text File  |  1996-09-28  |  11KB  |  269 lines

  1. SHORT-TERM TO-DO ITEMS:
  2.  
  3. Known Problems:
  4.  
  5. * The code departs from perfect 8-bit cleanness in one respect; you cannot
  6.   specify a character \200 as part of a capability string, because the terminfo
  7.   library interprets \200 as a request to embed NUL (\000) at that point (the
  8.   actual code that does this is in ncurses/lib_options.c:add_keytry().
  9.   This is a legacy terminfo property we can't mess with.
  10.  
  11. * There is no actual support for terminals with the xmc (magic-cookie) glitch.
  12.   (They'll work fine, unless you try to draw highlights on them and don't
  13.   leave the required A_NORMAL spaces on either side in the screen layout.)
  14.   System V Release 4 never handled these properly either, though it claimed to.
  15.   There is a comment in ncurses_lib_doupdate.c:doupdate() describing how this
  16.   could be done right, if anyone wants to try.
  17.  
  18. * Recognition of xterm mouse reports is implemented by setting the kmous 
  19.   capability to the mouse-report prefix.  As a result, the kmous sequence is
  20.   eaten even when mouse recognition is disabled.  This could be fixed if 
  21.   necessary with special code that pokes the kmous value back into the
  22.   input fifo when KEY_MOUSE is seen and the mousemask is zero, but that would
  23.   be kind of ugly.
  24.  
  25. * The window classes defined in the c++ subdirectory need documentation.
  26.   Some C++ programmer could earn a lot of good karma by doing this...
  27.  
  28. * The wresize() code has been reported to core-dump occasionally.  The
  29.   maintainers haven't been able to reproduce this.
  30.  
  31. * Mark McKenzie <mmckenzi@undergrad.math.uwaterloo.ca> writes:
  32.  
  33.         I have noticed a difference in the way the ncurses1.9.8a and System V
  34.         curses implementations of getch handles signals.
  35.  
  36.         1) When in delay mode, getch does not return if a signal is received.
  37.         (With System V curses it does).
  38.  
  39.         2) When in timeout mode, getch will delay until a character is received
  40.         if it is interrupted by a signal [and then returns ERR].
  41.         (With System V curses it exits when the time limit is up even if
  42.         interrupted by a signal).
  43.  
  44.   These things need to be fixed.
  45.  
  46. * On bce terminals (including the Linux console, the Xfree86 3.1.2D xterm,
  47.   and rxvt), ncurses does more work than it needs to when erasing colored
  48.   backgrounds (it blank-fills after issuing clr_eol/clr_eos).
  49.  
  50. Portability (or lack thereof):
  51.  
  52. * Users of older System V UNIXes (but not Solaris, and probably not SVr4)
  53.   may trip over a known problem with the signal-handling code which causes
  54.   abrupt termination of ncurses applications following resume from a ^Z
  55.   suspend (this problem was first seen running lynx).  You will not see 
  56.   this problem if you are running Linux or one of the 4.4BSD derivatives
  57.   like FreeBSD, NetBSD, or BSDI.  For details, see the analysis in the
  58.   header comment of ncurses/lib_tstp.c.
  59.  
  60. * If you're using a BSD earlier than 4.4BSD, or a Linux old enough not to
  61.   have a native vsscanf(3) in its library, vwscanw() will not work.  You lose.
  62.   (It should work on any System V, however).  If you want to fix this, add
  63.   an implementation to ncurses/vsscanf.c.
  64.  
  65. * The demo build for the c++ library craps out with many link errors under gcc
  66.   2.6.3.  We're told the C++ support in 2.6.3 is broken and that the right
  67.   fix is to upgrade to 2.7.0.
  68.  
  69. * Under Ultrix, configure craps out (Ultrix sh is lame).  Run it under ksh.
  70.  
  71. Untested features:
  72.  
  73. * The code for the HP color model using set_color_pair is untested.
  74.  
  75. * The code for handling soft labels on a terminal type with built-in support
  76.   for them (num_labels > 0, label_height, label_width, label_format, label_off,
  77.   label_on, plab_norm, lab_f*) has not been tested.  The label_format and
  78.   lab_f* capabilities aren't presently used.
  79.  
  80. REQUESTED FEATURES:
  81.  
  82. Larry Schwimmer <rosebud@cyclone.Stanford.EDU> writes:
  83. >       On a somewhat related topic, I have a request if this has not
  84. > already been implemented.  I install software for the campus, but
  85. > would like local sysadmins which access the campus software tree to be
  86. > able to have local control over public software packages.  I would
  87. > also like binaries built with ncurses to not have dependencies to the
  88. > campus software tree where possible.  What this would entail is
  89. > providing a multipart path for TERMINFO.  For example, the path
  90. >
  91. > /usr/local/lib/terminfo:/usr/pubsw/lib/terminfo:usr/share/lib/terminfo
  92. >
  93. > could correspond to "first look in the local terminfo database, then
  94. > look in the campus database, then look in the vendor database".
  95. >
  96. > It would also be nice if tic had a command line flag to specify the output
  97. > directory.  I know TERMINFO is honored, but command line (-d dir?
  98. > -o dir?) would also be nice and intuitive.
  99.  
  100. LONGER-TERM TO-DO ITEMS:
  101.  
  102. 1. Extended mouse support via gpm integration
  103.  
  104. We have mouse support under xterm now, implemented and documented.  The
  105. next step is to add code to lib_mouse.c that can detect Alessandro Rubini's
  106. GPM server and use it to implement the same interface.
  107.  
  108. 2. Extended COSE conformance
  109.  
  110. There is an XPG4 standard recently released which describes a superset
  111. of the SVr4 API.  The library is BASE conformant with this standard.
  112. We would like to make ncurses fully conformant at the EXTENDED level
  113. supporting internationalization.
  114.  
  115. Here are page references to all material involving wide or multi-byte
  116. characters in Issue 4 of the XSI Curses standard, with notes on their
  117. status in this implementation:
  118.  
  119.     Page 1 (1.1.2) New Features discussion of internationalization.
  120.     Page 12 (2.4): Definition of cchar_t, wchar_t.
  121.     Page 16 (3.3.2): Introduction of multi-column characts.
  122.     Page 17-18 (3.3.5): Description of non-spacing characters.
  123.     Page 19-21 (3.4.2): Basic character operations.
  124.     Page 34 (addnstr): These should now call underlying wide-
  125. character functions, and do (through waddnstr) if _XOPEN_SOURCE_EXTENDED is on).
  126.     Page 35 (addnwstr): wide-character add-string functions.  All macros 
  127. except waddnwstr() which is not yet defined.
  128.     Page 36 (add_wch): wide-character add-char functions.  All macros 
  129. except wadd_wch() which is not yet defined.
  130.     Page 39 (attr_get): implemented -- we've just made the current-
  131. attributes field of the window an attr_t.
  132.     Page 43 (bkgrnd):  None of these are implemented.
  133.     Page 45 (border_set): Neither of these is implemented.
  134.     Page 47 (box_set): box_set implemented as macro, but the underlying
  135. wborder_set() is not yet defined.
  136.     Page 78 (echo_wchar): echo_wchar() implemented as macro, underlying
  137. wecho_wchar() not yet implemented.
  138.     Page 81 (erasechar): Neither entry point is implemented.
  139.     Page 87 (getbkgrnd): Not implemented.
  140.     Page 88 (getcchar): Not implemented.
  141.     Page 93 (getn_wstr): All implemented (as macros) except the
  142. underlying wgetn_wstr().
  143.     Page 97 (get_wch):  All implemented (as macros) except the
  144. underlying wget_wch().
  145.     Page 99 (get_wstr): Xref to page 93.
  146.     Page 105 (hline_set): All implemented (as macros) except the
  147. underlying whline_set(), wvline_set().
  148.     Page 114 (innstr): Multi-byte character-completeness check is
  149. not implemented.
  150.     Page 115 (innwstr): All implemented (as macros) except the
  151. underlying winnw_str().
  152.     Page 119 (insnstr): Implementation may not be correct for multi-byte
  153. characters.
  154.     Page 120 (ins_nwstr): Not implemented.
  155.     Page 121 (insstr): Xref to page 119.
  156.     Page 122 (instr): Xref to page 119.
  157.     Page 123 (ins_wch): Not implemented.
  158.     Page 124 (ins_wstr): Xref to page 120.
  159.     Page 126 (in_wch): Not implemented.
  160.     Page 127 (in_wchnstr): Not implemented.
  161.     Page 128 (inwstr): Xref to page 115.
  162.     Page 133 (killwchar): killwchar not implemented.
  163.     Page 158 (pechochar): pecho_wchar() not implemented.
  164.     Page 176 (setcchar): Not implemented.
  165.     Page 181 (slk_attroff): slk_wset not implemented.
  166.     Page 200 (ungetch): unget_wch() not implemented.
  167.     Page 203 (vidattr): vid_attr() and vid_puts() not implemented.
  168.     Page 206 (vline_set): Xref to page 105.
  169.     Page 214 (wunctrl): Not implemented.
  170.     Page 216 (curses.h): cchar_t, wint_t, wchar_t references.
  171.     Page 220 (curses.h): KEY_CODE_YES
  172.  
  173. Basically, the macro superstructure is there but the core is absent.  We
  174. need better multi-locale support guarantees from the OS to finish this.
  175. If you are working on internationalization support, please contact us so
  176. we can cooperate.
  177.  
  178. 3. DOS port
  179.  
  180. Only 16 of the 55 files in the library depend on the terminfo format.
  181. It should be possible to further kernelize the package, then rewrite 
  182. a small number of core files to produce a functionally-compatible
  183. port that would do updates to a memory-mapped screen area.  The first
  184. result of this would be a DOS port.
  185.  
  186. 4. X port
  187.  
  188. It would be nice if ncurses could recognize when it was running under X and
  189. maintain its own window.  With this feature, all ncurses programs would
  190. automatically become X programs.  The challenge is to handle resize events
  191. properly.
  192.  
  193. 5. Unused capabilities
  194.  
  195. The currently unused capabilities fall naturally into several groups:
  196.  
  197. A. Status-line capabilities:
  198.  
  199.     Booleans: has_status_line, status_line_esc_ok.
  200.     Numerics: width_status_line.
  201.     Strings: dis_status_line, from_status_line, to_status_line.
  202.  
  203. System V Release 1 curses made no use of these at all.  SVr4's use, if
  204. any, is unknown.  From the AT&T termcap file it looks like curses, in general,
  205. shouldn't use them; terminal variants with status lines have their line count
  206. decremented by 1, suggesting that curses is supposed to leave the status line
  207. alone.
  208.  
  209. B. Printer capabilities:
  210.  
  211.     Boolean: col_addr_glitch, cr_cancels_micro_mode, has_print_wheel,
  212.         row_addr_glitch, semi_auto_right_margin, cpi_changes_res,
  213.         lpi_changes_res.
  214.     Numeric: buffer_capacity, dot_horz_spacing, dot_vert_spacing,
  215.         max_micro_address, max_micro_jump, micro_col_size,
  216.         micro_line_size, number_of_pins, output_res_char,
  217.         output_res_line, output_res_horz_inch, print_rate,
  218.         wide_char_size, bit_image_entwining, bit_image_type.
  219.     String: down_half_line, form_feed, up_half_line, set_left_margin,
  220.         set_right_margin, clear_margins, change_char_pitch
  221.         ... set_page_length (all the SVr4 printer caps),
  222.  
  223. Curses doesn't use these.
  224.  
  225. C. Printer-control capabilities:
  226.  
  227.     Boolean: prtr_silent.
  228.     Strings: print_screen, prtr_on, prtr_off, prtr_non.
  229.  
  230. Curses doesn't use these.
  231.  
  232. D. Dialer strings:
  233.  
  234.     Strings: hangup, dial_phone, quick_dial, tone, pulse, flash_hook,
  235.         fixed_pause, wait_tone.
  236.  
  237. Curses doesn't use these.
  238.  
  239. E. Window and virtual-terminal capabilities:
  240.  
  241.     Numerics: maximum_windows, virtual_terminal.
  242.     Strings: req_for_input, create_window, goto_window, set_window.
  243.  
  244. These seem to be fossils from some AT&T experiments on character-based
  245. window systems that never escaped the lab.  The virtual_terminal cap had
  246. something to do with building terminal emulations into tty line disciplines.
  247.  
  248. F. Unused VDT capabilities:
  249.  
  250.     Booleans: erase_overstrike, has_meta_key, insert_null_glitch,
  251.         move_insert, dest_tabs_magic_smso, transparent_underline,
  252.         needs_xon_xoff, hard_cursor.
  253.     Numerics: lines_of_memory, buttons.
  254.     Strings: pkey_key, pkey_local, pkey_xmit, underline_char, 
  255.         enter_xon_mode,    exit_xon_mode, xon_character, xoff_character, 
  256.         display_clock, remove_clock, user[0-5], display_pc_char,
  257.         enter_scancode_mode, exit_scancode_mode, pc_term_options, 
  258.         scancode_escape, alt_scancode_esc.
  259.  
  260. These are the potentially important ones for ncurses.  Notes:
  261.  
  262.     i) ncurses doesn't need move_insert; it never uses cup/hpa/vpa while
  263.         insert_mode is on.
  264.  
  265.     ii) We probably don't care about dest_tabs_magic_smso; only
  266.         Telerays used it and they're all long obsolete.
  267.  
  268.  
  269.