📄 454-457.html
字号:
<HTML>
<HEAD>
<TITLE>Special Edition Using Linux, Fourth Edition:Using X Windows</TITLE>
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
<SCRIPT>
<!--
function displayWindow(url, width, height) {
var Win = window.open(url,"displayWindow",'width=' + width +
',height=' + height + ',resizable=1,scrollbars=yes');
}
//-->
</SCRIPT>
</HEAD>
-->
<!--ISBN=0789717468//-->
<!--TITLE=Special Edition Using Linux, Fourth Edition//-->
<!--AUTHOR=Jack Tackett//-->
<!--AUTHOR=Jr.//-->
<!--AUTHOR=Steve Burnett//-->
<!--PUBLISHER=Macmillan Computer Publishing//-->
<!--IMPRINT=Que//-->
<!--CHAPTER=22//-->
<!--PAGES=454-457//-->
<!--UNASSIGNED1//-->
<!--UNASSIGNED2//-->
<CENTER>
<TABLE BORDER>
<TR>
<TD><A HREF="451-454.html">Previous</A></TD>
<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>
<TD><A HREF="457-459.html">Next</A></TD>
</TR>
</TABLE>
</CENTER>
<P><BR></P>
<H4 ALIGN="LEFT"><A NAME="Heading19"></A><FONT COLOR="#000077"><I>xspread</I>
</FONT></H4>
<P>The program <TT>xspread</TT>, shown in Figure 22.8, is a public domain spreadsheet that runs under X Windows. It’s installed with the Slackware distribution, and you must be using an X Windows terminal to be able to run this program. (The creators of <TT>xspread</TT> are working on making it use the ASCII screen if it can’t find an X Windows display to use.) The <TT>xspread</TT> Reference Manual gives complete documentation for the program. The LaTeX source copy for this manual is in the file xspread.tex.</P>
<P><A NAME="Fig8"></A><A HREF="javascript:displayWindow('images/22-08.jpg',800,600 )"><IMG SRC="images/22-08t.jpg"></A>
<BR><A HREF="javascript:displayWindow('images/22-08.jpg',800,600)"><FONT COLOR="#000077"><B>Fig. 22.8</B></FONT></A> <TT>xspread</TT> under XFree86 provides familiar spreadsheet capabilities for Linux users.
</P>
<P><TT>xspread</TT> supports many standard spreadsheet features, including the following:</P>
<DL>
<DD><B>•</B> Cell entry and editing
<DD><B>•</B> Worksheet size of 2202 columns with unlimited rows
<DD><B>•</B> File reading and writing
<DD><B>•</B> File encryption
<DD><B>•</B> Absolute and relative cell references
<DD><B>•</B> Numeric and label (that is, character string) data in cells
<DD><B>•</B> Left or right justification for labels
<DD><B>•</B> Row and column insertion and deletion
<DD><B>•</B> Hiding and unhiding of rows and columns
<DD><B>•</B> Range names
<DD><B>•</B> Manual or automatic recalculation
<DD><B>•</B> Numeric operators (+, -, *, /, ^, %)
<DD><B>•</B> Relational operators (<, <=, >, >=, =, !=)
<DD><B>•</B> Logical (or Boolean) operators (&, |, ~)
<DD><B>•</B> Function references
<DD><B>•</B> Graphs (XY, bar, stack bar, pie, and line graphs)
<DD><B>•</B> Matrix operations (transpose, multiply, add, subtract, and inversion)
<DD><B>•</B> Cursor positioning with mouse
<DD><B>•</B> Menu item selection with mouse
<DD><B>•</B> References to external programs, which are called <I>external functions</I>
</DL>
<P>The structure and operation of the spreadsheet is similar to—but not identical with—popular spreadsheets such as Lotus 1-2-3 and its clones. Like other spreadsheets, the workspace is arranged into rows and columns of cells. Each cell can contain a number, a label, or a formula that evaluates to a number or label.
</P>
<P>You can start the program with or without specifying a file to be read. This file must be a saved worksheet. If a file is specified on the command line, <TT>xspread</TT> attempts to locate and read the file. If it’s successful, <TT>xspread</TT> starts with the file’s contents in the workspace. If it’s unsuccessful or no file is specified on the command line, <TT>xspread</TT> starts with the workspace empty.</P>
<P>For a tutorial of the spreadsheet program, run one of the demo files—<TT>demo, demo_math,</TT> or <TT>demo_matrix</TT>—and see the file Sample_Run in the doc directory.</P>
<H4 ALIGN="LEFT"><A NAME="Heading20"></A><FONT COLOR="#000077">Seyon</FONT></H4>
<P>Seyon, as shown in Figure 22.9, is a complete full-featured telecommunications package for the X Windows system. Some of its features are listed here and are described in detail in the next sections:
</P>
<DL>
<DD><B>•</B> A dialing directory
<DD><B>•</B> Terminal emulation
<DD><B>•</B> A scripting language
<DD><B>•</B> A variety of download protocols, including Zmodem
<DD><B>•</B> Various translation modes
</DL>
<P><FONT SIZE="+1"><B>Dialing Directory</B></FONT></P>
<P>The dialing directory supports an unlimited number of entries. The directory is fully mouse-driven and features call-progress monitoring, dial timeout, automatic redial, multinumber dialing, and a circular redial queue. Each item in the dialing directory can be configured with its own baud rate, bit mask, and script file. The dialing directory uses a plain ASCII text phone book that you can edit from within Seyon. Seyon also supports manual dialing.
</P>
<P><FONT SIZE="+1"><B>Terminal Emulation</B></FONT></P>
<P>Terminal emulation supports DEC vt102, Tektronix 4014, and ANSI. Seyon delegates its terminal emulation to <TT>xterm</TT>, so all the familiar <TT>xterm</TT> functions—such as the scroll-back buffer, cut-and-paste utility, and visual bell—are available through Seyon’s terminal emulation window.</P>
<P><A NAME="Fig9"></A><A HREF="javascript:displayWindow('images/22-09.jpg',800,600 )"><IMG SRC="images/22-09t.jpg"></A>
<BR><A HREF="javascript:displayWindow('images/22-09.jpg',800,600)"><FONT COLOR="#000077"><B>Fig. 22.9</B></FONT></A> Although accessing the Internet is important today, many users still need access to bulletin boards via their modems.</P>
<P>Using <TT>xterm</TT> also means that Seyon has a more complete emulation of vt102 than any other UNIX or DOS telecommunications program. You also can use other terminal emulation programs with Seyon to suit the user’s need; for example, color <TT>xterm</TT> can be used to provide emulation for color ANSI (popular on many BBS systems), and <TT>xvt</TT> can be used if memory is a bit tight.</P>
<P><FONT SIZE="+1"><B>Scripting Language</B></FONT></P>
<P>You can use scripting language to automate tedious tasks such as logging in to remote hosts. Seyon’s script interpreter uses plain-text files and has a syntax similar to that of <TT>sh</TT>, with a few extra additions. It supports many familiar statements such as conditional branching by <TT>if...else</TT> and looping by <TT>goto</TT>. Scripts may be assigned to items in the dialing directory for automatic execution after a connection is made.</P>
<P><FONT SIZE="+1"><B>gFile Transfers</B></FONT></P>
<P>Seyon supports an unlimited number of slots for external file transfer protocols. Protocols are activated from a mouse-driven transfer console that uses a plain ASCII text file, editable from within Seyon, for protocol configuration. Seyon prompts the user for file names only if the chosen protocol requires filenames or if the transfer operation is an upload for which Seyon also accepts wildcards. Multiple download directories can be specified for the different transfer slots.
</P>
<P>Seyon detects incoming Zmodem signatures and automatically activates a user-specified Zmodem protocol to receive incoming files. Zmodem transfers are thus completely automatic and require no user intervention.</P>
<P><FONT SIZE="+1"><B>Translation Modes</B></FONT></P>
<P>Seyon can perform useful translations with the user’s input. For example, Seyon can translate <Backspace> to <Delete>, a new-line marker to a carriage-return marker, and meta-key translation—that is, you can switch your <Esc> meta key to the <Alt> key. The latter mode simulates the meta key on hosts that don’t support 8-bit-clean connections and makes possible the use of the meta key in programs like <TT>emacs</TT>.</P>
<P><FONT SIZE="+1"><B>Other Seyon Features</B></FONT></P>
<P>Seyon allows you to interactively set program parameters, online help, software (XONN/XOFF) and hardware (RTS/CTS) flow control; capture a session to a file; and temporarily run a local shell in the terminal emulation window.
</P>
<P>Seyon is intended to be simple yet extensively configurable. Almost every aspect of Seyon can be configured via the built-in resources to suit the user’s taste.</P><P><BR></P>
<CENTER>
<TABLE BORDER>
<TR>
<TD><A HREF="451-454.html">Previous</A></TD>
<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>
<TD><A HREF="457-459.html">Next</A></TD>
</TR>
</TABLE>
</CENTER>
</td>
</tr>
</table>
<!-- begin footer information -->
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -