GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  NSF (1)

NAME

nsf - murata version of ’Shell Form’

CONTENTS

Synopsis
Description
Options
Screen, field definition

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).
Search for    or go to Top of page |  Section 1 |  Main Index


--> NSF (1) 1996/08/28

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.