nsf man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

nsf(1)									nsf(1)

NAME
       nsf - murata version of 'Shell Form'

SYNOPSIS
       nsf [-bu] [-c #] [-m message] [-i file] [-o file]

DESCRIPTION
       nsf  enables  'form  input'  in a shell script.	nsf needs only ncurses
       library. No needs of X window, WWW(CGI),...  And	 nsf  is  very	small.
       nsf  will  be  used  efficiently	 with here document in a shell script.
       Don't forget trap , if need.

OPTIONS
       -b     output is for bourne sh (defalt is csh ).

       -c #   cursol initial position.

       -m message
	      initial warning.

       -i infile
	      use infile instead of stdin.

       -o outfile
	      use outfile instead of stdout.

       -u     use underline for input field.

Screen, field definition
       For example:
       screen saver   [~~~~~~~]
       time out	      [~~~~~]
       ^L
       #v=saver#s=:green:blank:snake:star:#d=green#
       #v=blanktime#a=fr#d=600#

       The structure is below.
       Screen definition
       ^L
       #v=name#field attribute#...#
       #...#

       In the screen definition, ~ means input field.	Screen	definition  is
       terminated by ^L or @ .	And field definitions are:

       v=name set  the	name  of  shell	 variable  at the field.  This must be
	      needed always.

       And optional attributes are defined as a=attributes.  attributes are:

       a      auto. If a field is filled,move to next field automatically.

       d      only integer.

       r      only real. (Not allow 'e' expression)

       f      force.

       u      upper case.

       l      lower case.

       d=default set the defalt value.

       h=help define help message.

       s=:opt1:opt2:...:
	      style is selection form. User can select options by  push	 space
	      bar.

SEE ALSO
       ncurses(3), sh(1), csh(1).

				  1996/08/28				nsf(1)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net