📄 1-changes
字号:
* Cleaned the script module a bit and also the routine for detecting the zmodem auto-download signature. * Revised the interface for the settings window. Seyon now changes the parameters as soon as the user clicks on them instead of waiting until the 'Ok' button is pressed. A bit less efficient perhaps, but more natural. You can now keep the settings window open and try out different settings without having to close the window in order to effect your changes. * Transient windows no longer concealed by their parents, even if they don't have the input focus. Didn't you just hate it when those windows used to disappear behind their parents and you had to move their parents in order to see them? No longer. * The exit and cancel buttons are no longer hidden when they are inactive. Instead, they are now visible all the time, but greyed out when inactive. Looks better this way. * When you choose f.delete (twm/mwm) or QUIT (olwm/olvwm) on Seyon's top window (the command center), Seyon now exits gracefully as if you clicked on the exit button (but with no confirmation). Seyon will beep if you try to do that while you're not allowed to exit though. Even though it is safe to do so, I do not recommend this as the way to exit Seyon. Also, never do this on any other Seyon window (like the dialing directory) or Seyon won't exit gracefully. (In general, if Seyon gets stuck and you have to kill it, do that by kill <lowest-seyon-pid> from another xterm. Seyon will quit gracefully this way as well). * Added two new script commands: flush and purge. The first flushes the mdoem, i.e. discards data written to the modem but not transmitted and data received but not read. The second Reads and discards all data coming from the modem for the duration of one second. * The manual page now has a listing of all the keywords the script command 'set' accepts. * Revised the idle guard routine so that the idleGuardInterval is now observed properly. * New default font. I suspect most people will hate it, so it may be removed from the next version if I hear many gribes about it. * New error popups. Now Seyon pops up an dialog box with an explanation of the error, possible causes, and suggested action when an error occurs. Not all errors are handled this way yet, but the most severe ones are. Please do give this version some abuse (e.g. invoking it with no modem, wrong modem, locked modem, incorrect command-line switch, or even doing something as evil as 'kill -SEGV <lowest-seyon-pid>'). * Seyon now has an icon. Try iconifying the command center (or the dialing directory) to see it. * Arnold is out, a pretty face is in.Version 1.8: * The transfer window has been completely revamped, just like the dialing directory (see below). Only the protocol titles now appear in the window (those can be as descriptive as you like). * Since the dialing directory and transfer console no longer show the actual phone and protcols files but only a pretty summary, the syntax of those files has been made much more flexible. They now accept whole-line comments and blank lines, so you can put as much comments there as you like. Examples are provided. * Provided examples for the phone and protocols files with extensive documentation (thanks to the new syntax fexibility). Please look at them to take full advantage of the convenience they provide. * The dialing directory have been completely revamped. No more ugly keywords on the display, replaced by a standard, concise, and informative dialing directory. The keywords still work of course, it's just that you see only their summary on the dialing directory, rather than the phone file syntax itself. * For the new dialing directroy, added the resource dialDirFormat. This is a string that specifies the format of the dialing direcotry. The default is '%-15s %-15s %6s %1c%1c%1c %1c%1c %s'. Briefly: the fields represent the host name, number, the baud rate, bits, parity, stop bits, whether there is a custom prefix, suffix, and the script name. You can understand more what each field refers to by comparing with dialing directory, fields that use the current setting (via the keyword CURRENT) are designated by a question mark. Notice that you cannot change the order the items in the dialing directory appear at, only the format. For example, since the numbers I call are all 7-digits, my host names are short, and I never use baud rates above 9600, my own format string is %-10s %-8s %5s-%1c-%1c-%1c %1c%1c %s, the default is just too wide for my taste, and I like dashes between the bits, parity, ans stop bits fields. * Renamed the resources dialAutoOpen and dialAutoClose to dialDirAutoOpen and dialDirAutoClose, respectively, to reflect their functions more precisely. * Add an important feature: the ability to completely specify the communication parameters by number of bits (charcter size), parity, and stop bits. Like eeverything else in Seyon, you can set those in about a half dozen ways. First, the resources defaultBIts (default is 8, valid arguments are 5, 6, 7, and 8), defaultParity (default is 0, valid arguments are 0 (no parity), 1 (odd parity), and 2 (even parity), and defaultStopBits (defaults is 1, valid arguments are 1 and 2). You can set them in a script through the keywords bits (e.g. set bits 8), parity, and stopBits. You can also set them in the dialing directory by specifying the fileds BITS, PARITY, and STOPB (you can also give the argument 'CURRENT' to those fields. Finally, you can set them interactively under the settings window (in two ways,either directly or via a short cut). * The resource sevenBitMask and the script keyword 7bit are gone. they superseded by the above. * Added a new button: 'About'. Among other things it tells you exactly what revision number of Seyon you're using. The help button is moved under About. * Some cosmetic changes; for example, Seyon messages in the status area are now centered. * Added support for fallback resources. Seyon no longer need its app-defaults file except for color (using color in fallback is not a good idea). * Added a new button under the 'Misc' window: Suspend. This just suspends the terminal and runs a local shell in the terminal window. * Seyon now supports two new speeds: 56700 and 115200 bps. This is avialable only for linux, as there is no portable way of doing it. This feature is not guaranteed to stay. * Added a new script command: send_break. Should be obvious what it does. * Fixed a nasty bug (race condition) when Seyon is invoked with the -script switch. That should work fine now. * New resource: dialAutoOpen. If set to on, the dialing directory is automatically poped up when Seyon is started. * The resource funMessages is now used to specify the messages only. Use the new resource showFunMessages to enable or disble the display of those messages (defaults to on). * Added a new feature: the ability to send a string when the session (user's input to the terminal) is idle longer than a specicified amout onf time. The string is sent automatically at that regular interval to keep the session alive (e.g. avoid auto-logout). The resources governing this feature are: idleGuard (default is off), idleGaurdInterval(default is 300 seconds), and idleGuardString (default is " ^H", i.e. space then backspace). The corresponing script keyword is idleGuard (you can only enable or disable it in a script). The string is sent with the current translations, so it would be <Spc><del> if backspaceTranslation is on. * You can now put '~' in 'transmit' to effect a pause of 1 second, i.e. transmit "ATZ~~ATS0=0" is equivalent to transmit "ATZ" pause 2 transmit "ATS0=0" * Changed the default color for toggles to look better with Xaw3d. If you're not using Xaw3d, I advice to get it and link Seyon with. Seyon looks much "cooler" with Xaw3d.Version 1.7: * Revied the location of transient popups. No more dangling windows. Now transiet windows pop up at a small offset from the the top of the parent window instead of its buttom. * New resource: dialAutoClose. If set to 'on', the dialing directory will be automatically closed after a successful dial. Defaults to 'off'. * The baud and port dialogs in the settings window now popup instead of cluttering the window and causing it to be too large. * Added a new keyword for the dialing directory BPS and BITS fields: CURRENT (can be abbreviated to CUR). If this is used, the current baud rate and/or bit mask will be used for that host. Not sure if this would be useful. Notice that if the BPS or BITS field is missing, the default values (as specified in the resources) would be used. * Added two new fields in the dialing directory: PREFIX and SUFFIX. If either is present, it overrides the default specified in the resources. See examples in the included phonelist file. These fields also accept the CURRENT keyword as above. * All script commands and keywords are now case sensitive. * Revised newline translation. Three translation modes are now available: no translation, newline to carraige return, and newline to carraige return / line feed. Consequently, the resource newlineTranslation is changed from boolean to string, whith three possible keywords corresponding to the above: nl, cr, and cr/lf. The script keyword nl is also changed to newlineTranslation to coincide with the resource, and accepts the same keywords. * Added 'View Log' under the misc window, but currently does nothing. * New script command 'echo'. This just behaves as the usual echo shell command and prints its argument to the terminal (does not send it to the modem, use 'transmit' for that). This command supercedes the old command under the same name, which is now more appropriatetly called 'debug'. * Essentially got rid of the busy waits in the program -- even for systems that do not have usleep -- by using Seyon's own usleep if the system doesn't have one. (written by obz@raster.kodak.com). * Seyon now does not allow the user to exit the program while it is executing an externala command until that command is finished. (this is a feature, since exiting while a child process is still running can lead to a lot of trouble). * The default color for monochrome displays is now black on white. Earlier versions tried to use color even if none is vailable, so the color combination led to unreadable menus on monochrome displays. Note that if you have a color display you must put something like: #ifdef COLOR *customization: -color #endif in your Xdefaults file, or Seyon (as well as other X applications) will be monochrome even on your color setup (but you already know that, don't you :-). * Various changes to accomodate SunOS 4.1 (thanks to Peter Davies for pointing most of those problems). * New configuration script. This script probes your system looking for the functions your system has and automatically writes config.h for you. Tested only under bash and ksh, not sure if it would run under plain old regular sh. Give it a try. * YADBC, yet another default background color. This one is more reminiscent of Motif.Version 1.6 * You can now change the modem device interactively from the 'Set' console. You can even do that in a script, use the keyword 'port'. * Support for the environment variable MODEM has been dropped. You can set the modem device on startup either via the resources or at the commend line. * Running a script by the switch '-script' in startup was broken (apparently for some time but nobody told me, I found out by accident). It has now been fixed. * You can now start a script interactively from the command center. Use 'Script' under the 'Misc' button. * Fixed the lock routines. Seyon now supports two types of lock files: ascii (compatible with HDB uucp), and binary (for other uucp programs). You choose which type of lock interface by defining the appropriate flag in config.h before compiling. Thanks to rick@rick.att.com for supplying information about the different types of lock methods. Anthony Rumble originally pointed out the problem. * Added a new resource, hayesHangup. If this set to on, Seyon will
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -