Synchronet v3.19b-Win32 (install) has been released (Jan-2022).

You can donate to the Synchronet project using PayPal.

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ref:uifc [2020/11/28 13:58] – [UIFC Input Keyboard Modes] remove c/js chart mlongref:uifc [2024/03/05 13:37] (current) – [Background] Update link to NetWare SYSCON page digital man
Line 3: Line 3:
 ===== Background ===== ===== Background =====
  
-UIFC (User InterFaCe) is the text mode full-screen user interface library used by [[util:SCFG]], [[util:echocfg]], and others.  It was originally inspired by the text mode user interface for NetWare 2.x server management utilities for DOS (e.g. [[http://technet.microsoft.com/en-us/library/Cc751416.w9p9774g_big(l=en-us).gif|SYSCON]]), and was written from scratch by [[person:Digital Man]].+UIFC (User InterFaCe) is the text mode full-screen user interface library used by [[util:SCFG]], [[util:echocfg]], and others.  It was originally inspired by the text mode user interface for NetWare 2.x server management utilities for DOS (e.g. [[https://www.zx.net.nz/netware/client/syscon-375/|SYSCON]]), and was written from scratch by [[person:Digital Man]].
  
 ===== Interfaces ===== ===== Interfaces =====
 +
 +==== Output ====
 +
 +The UIFC library uses the Synchronet Console I/O Library (CIOLIB).
 +
 +=== Windows Console Mode ===
 +
 +== Windows Terminal ==
 +
 +UIFC apps are often not pretty when run from within Windows Terminal (''wt.exe''). To use the legacy Windows Console Host instead, run ''conhost.exe'' and pass the path and arguments to the UIFC application on the command-line.
  
 ==== Input ==== ==== Input ====
Line 120: Line 130:
 | K_UPRLWR | Upper/lower case automatically | | K_UPRLWR | Upper/lower case automatically |
 | K_NUMBER | Allow numbers only |  | K_NUMBER | Allow numbers only | 
-| K_WRAP | Allows word wrap |  +| K_MSG | Allows Ctrl-A codes 
-| K_MSG | Allows ANSI, Ctrl-N, Ctrl-A, Ctrl-G |  +
-| K_SPIN | Spinning cursor | +
-| K_LINE | Input line (inverse color) |+
 | K_EDIT | Edit string passed |  | K_EDIT | Edit string passed | 
-| K_CHAT | In chat multi-chat |  
-| K_NOCRLF | Don't print CRLF after string input |  
 | K_ALPHA | Only allow alphabetic characters |  | K_ALPHA | Only allow alphabetic characters | 
 | K_SCANNING | UPC Scanner is active, return on '%' | K_SCANNING | UPC Scanner is active, return on '%'
-| K_LOWPRIO | Low-priority input |  
-| K_NOEXASC | No extended ASCII allowed |  
-| K_E71DETECT | Detect E-7-1 terminal type |  
-| K_AUTODEL | Auto-delete text (used with K_EDIT) |  
-| K_COLD | Possible cold key mode |  
-| K_NOECHO | Don't echo input |  
-| K_TAB | Treat TAB as CR |  
 | K_LEFTEXIT | Allow exit from getstr() with backspace |  | K_LEFTEXIT | Allow exit from getstr() with backspace | 
-| K_USEOFFSET | Use console.getstr_offset with getstr() |  
-| K_NOSPIN | Do not honor user's spinning cursor | 
-| K_ANSI_CPR | ANSI Cursor Position Report expected |  
-| K_TRIM | Trim white-space from both ends of str |  
-| K_CTRLKEYS | No control-key handling in inkey() |  
 | K_TABEXIT | Exit on TAB or BACKTAB |  | K_TABEXIT | Exit on TAB or BACKTAB | 
 | K_DECIMAL | Allow floating point numbers only | | K_DECIMAL | Allow floating point numbers only |
Line 161: Line 154:
 | MSK_CUT | Item cut (Ctrl-X) |  | MSK_CUT | Item cut (Ctrl-X) | 
 | MSK_PASTE | Item pasted (Ctrl-V) |  | MSK_PASTE | Item pasted (Ctrl-V) | 
-| MSK_EDIT | |+| MSK_EDIT | Item was selected for edit (F2) |
  
-Example Javascript Usage:+Example JavaScript Usage:
  
 <code> <code>
Line 171: Line 164:
 } }
 </code> </code>
 +
 +{{tag>javascript uifc}}