Changeset 3562


Ignore:
Timestamp:
Feb 20, 2013, 2:43:47 AM (3 years ago)
Author:
quozl
Message:

core - mux, add console add and remove, for use by telnetd

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ofw/core/muxdev.fth

    r1865 r3562  
    192192
    193193   console-io
     194;
     195
     196: add-console  ( ih -- )
     197   dup add-output  add-input
     198;
     199
     200: remove-console  ( ih -- )
     201   dup remove-output  remove-input
     202;
     203
     204: omit  ( "command" -- )  \ do a command to added consoles only
     205   screen-ih remove-output
     206   fallback-out-ih remove-output
     207   0 parse ['] evaluate catch
     208   fallback-out-ih add-output
     209   screen-ih add-output
     210   throw
    194211;
    195212
Note: See TracChangeset for help on using the changeset viewer.