|
|
1.1 root 1: .ig
2: @(#)manpage.man 1.3
3: manpage.man 1.3
4:
5: Manpage for Visi
6:
7: A. F. Gettier
8: Bell Laboratories
9: Update made 8/17/82 17:05:54
10: Retrieved 11/15/82 13:22:34
11: ..
12: .tr ~
13: .TH VISI 1
14: .SH NAME
15: visi \- mathematical spreadsheet
16: .SH SYNOPSIS
17: .B visi
18: [
19: .I file
20: ]
21: .SH DESCRIPTION
22: .I Visi\^
23: is a tabular mathematical worksheet for
24: data analysis.
25: If a
26: .I file
27: is specified, commands are read from that
28: file when
29: .I visi
30: first starts.
31: .PP
32: .I Visi
33: works only on cursor-controlled terminals such as
34: the HP2621, and requires the environment variable
35: TERM (see
36: .IR environ (7))
37: to be set appropriately.
38: .PP
39: .I Visi
40: prompts for input at the top of the screen with
41: `>>'.
42: Input
43: has one of the forms,
44: .IP
45: command parameters
46: .IP
47: variable = expression
48: .IP
49: variable = "string"
50: .PP
51: where a variable is a letter and number sequence, for example:
52: `A2, B10, BB23.'
53: These variables represent locations on the worksheet;
54: A2 is column A, row 2.
55: If you type, in any order,
56: .IP
57: A1 = A2 + 5
58: .br
59: A2 = 10
60: .LP
61: the values 15 and 10 will appear on the screen.
62: If you later type
63: .IP
64: A2 = 20
65: .LP
66: the values will be updated to 25 and 20.
67: .I Visi
68: treats upper and lower case letters as identical.
69: .PP
70: Expressions are parsed, and
71: standard mathematical precedence is
72: retained.
73: The operators +, -, *, /, ** (or ^)
74: can be used in expressions.
75: .SS Commands
76: .TP 10
77: .BI copy~~\fR[\fP ~file~ \fR]\fP
78: Copy the screen image to the
79: .I file.
80: If a file is not specified,
81: .I visi
82: will prompt for one.
83: .TP
84: .B debug
85: Toggle a flag to give
86: .IR yacc (1)
87: debugging output,
88: very unreadable.
89: .TP
90: .BI duplicate ~~p1 ~thru ~p2 ~at ~p3
91: Duplicate a block of
92: definitions in another portion of the screen.
93: .I P1
94: and
95: .I p2
96: are the upper left corner and the
97: lower right corner of the block to be duplicated.
98: .I P3
99: is the upper left corner of the destination.
100: .TP
101: .B edit
102: Edit the commands list.
103: If the environment variable `ED' is set,
104: it is used as the name of the editor.
105: Otherwise,
106: .IR ed (1).
107: is called.
108: .TP
109: .B help
110: Display a brief synopsis
111: of the commands.
112: .TP
113: .B list
114: List the current definitions on the
115: terminal.
116: .TP
117: .B quit
118: Quit the program.
119: .TP
120: .BI read~~\fR[\fP ~file~ \fR]\fP
121: Read input lines from the
122: .I file.
123: If a file is not specified,
124: .I visi
125: will prompt for one.
126: .TP
127: .B redraw
128: Redraw the screen in the event the
129: terminal output was corrupted.
130: .TP
131: .BI replicate ~~p1 ~at ~p2 ~thru ~p3
132: Replicate the single definition at
133: .I p1
134: throughout the block from
135: .I p2
136: in the upper left corner thru
137: .I p3
138: in the lower right.
139: .TP
140: .BI scale~~\fR[\fP ~column~ \fR]\fP ~nnn
141: Change the scale of the specified
142: .I column,
143: or of the entire tableau if a column is not specified.
144: The scale
145: .I nnn
146: is the number of decimal places
147: that are displayed to the right
148: of the decimal point.
149: Calculations are done in double precision regardless of
150: .I scale.
151: .TP
152: .BI shift ~~direction~ \fR[\fP ~nnn~ \fR]\fP
153: Shift the current screen in any direction.
154: The screen is only a window on the tableau.
155: To see other portions of the tableau,
156: the screen must be shifted.
157: Valid directions are:
158: .BR up ,
159: .BR down ,
160: .BR left ,
161: .BR right .
162: .I Nnn
163: is the number of positions to
164: shift the screen (default 1).
165: .TP
166: .B shell
167: Invoke
168: .I "/bin/sh"
169: as an inferior process to
170: .I visi.
171: .TP
172: .B ver
173: Print the current
174: version number of
175: .I visi.
176: .TP
177: .BI width ~~column~nnn
178: Change the width of a column on the display,
179: or of the entire tableau if no column is
180: specified.
181: .TP
182: .BI write~~\fR[\fP ~file~ \fR]\fP
183: Write commands to a file.
184: If a file is not specified,
185: .I visi
186: will prompt for one.
187: .SS Built-in Functions
188: .TP \w'atan2(e1,e2)\ \ 'u
189: .BI abs( e )
190: Absolute value of
191: .I e.
192: .PD 0
193: .TP
194: .BI acos( e )
195: Arc cosine of
196: .I e.
197: .TP
198: .BI asin( e )
199: Arc sine of
200: .I e.
201: .TP
202: .BI atan( e )
203: Arc tangent of
204: .I e.
205: .TP
206: .BI atan2( e1 , e2 )
207: Arc tangent of
208: .I e1/e2.
209: .TP
210: .BI cos( e )
211: Cosine of
212: .I e.
213: .TP
214: .BI exp( e )
215: Exponential function of
216: .I e.
217: .TP
218: .BI gamma( e )
219: Log of the gamma function of
220: .I e.
221: .TP
222: .BI hypot( e1 , e2 )
223: Square root of the sum of the squares of
224: .I e1
225: and
226: .I e2.
227: .TP
228: .BI int( e )
229: The integer part of
230: .I e
231: (truncated toward zero.)
232: .TP
233: .BI log( e )
234: Natural log of
235: .I e.
236: .TP
237: .B pi
238: The constant 3.14159265358979....
239: .TP
240: .BI pow( e1 , e2 )
241: Same as
242: .I e1^e2.
243: .TP
244: .BI sin( e )
245: Sine of
246: .I e.
247: .TP
248: .BI sqrt( e )
249: Square root of
250: .I e.
251: .PD
252: .SS Other Special Definitions
253: .TP 10
254: .BI position[ e1 , e2 ]
255: The quantity at row
256: .I e1,
257: column
258: .I e2
259: of the tableau.
260: Numbering for the columns is A = 1, B = 2, ..., AA = 27,
261: and so on.
262: .TP
263: .SM
264: .B ROW
265: The row number of this entry.
266: .TP
267: .SM
268: .B COL
269: The column number of this entry.
270: .SH "SEE ALSO"
271: .IR ed (1),
272: .IR exp (3),
273: .IR sin (3)
274: .SH FILES
275: /usr/lib/visi.help
276: .SH BUGS
277: A circular list of variable declarations can
278: cause
279: .I visi
280: to hang in a loop.
281: .br
282: .I Scale
283: does truncation, not rounding.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.