Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

Changes between Version 2 and Version 3 of Developer/Projects/Open/LineEditor


Ignore:
Timestamp:
01/03/16 18:07:59 (8 years ago)
Author:
Ralph Holmes
Comment:

Fix spelling and/or grammar.

Legend:

Unmodified
Added
Removed
Modified
  • Developer/Projects/Open/LineEditor

    v2 v3  
    1212There are 3 parts:
    1313 *  The key definitions moved to rtems-lineeditor.h
    14  *  The line editor function, ie rtems_shell_line_editor
    15  *  The terminal parser, ie rtems_shell_getchar
     14 *  The line editor function, i.e. rtems_shell_line_editor
     15 *  The terminal parser, i.e. rtems_shell_getchar
    1616
    1717Some notes: The shell interface and code is better than the monitor. The shell uses FILE handles and this is nice for redirection and multi-user usage (a threaded version). It also supports a command history. The caller should provide the terminal type. This could be a string or a pointer to the terminal data returned to the caller after a call to get the terminal data with a string. It is recommended to review some of the keys actions, for example C-f, to make sure they are considered standard in relation to a normal shell. One should consider cutting out the code that disables echo and obtains the password and putting it in getpass().  See the linux man page.  We don't