Man page for nsf

Copyright (c) NAKAMURA Kazushi

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED.
..
..
nsf 1 "1996/08/28"
.LO 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: .EX screen saver [~~~~~~~] time out [~~~~~] ^L #v=saver#s=:green:blank:snake:star:#d=green# #v=blanktime#a=fr#d=600#

The structure is below. .EX 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. Screen����Ǹ��줿 field���б����� shell�ѿ���̾�������ꤹ�롣
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).