⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 history

📁 一个通讯程序源码
💻
📖 第 1 页 / 共 3 页
字号:
============= Changes for ECU 3.20 =======================================last revised Sat Aug 22 15:29:11 EDT 1992"But in our enthusiasm, we could not resist a radical overhaul ofthe system, in which all of its major weaknesses have beenexposed, analyzed, and replaced with new weaknesses."  -- BruceLeverett 'Register Allocation in Optimizing Compilers'1. new commands (procedure and interactive)   a.  autorz   b.  dcdwatch2. dial command reworked   a. new sub menu for entry add/edit   b. phone number size increased from 25 to 40 characters      (some modems limit input string size to 40 characters total      excluding AT and trailing CR)   c. Trailing dollar sign '$' appends ~/.ecu/.credit to dialled number:      .credit has:          ,,,167167002      Home dial 1234 sends to modem          1234,,,1671670023. help cmd improved: you can stay in a category and ask   for help with multiple commands and use F1 to return to   category menu.4. Major rework inside to reduce but not eliminate the likelihoodthe chances ecu will abnormally terminate when the dial commandneeds to change to a new line and the new line is not available.If the new line is busy (in use by another dialout or login),the request to change is rejected and the old line is retained,the program survives.  If the new line is unavailable becauseof other reasons (read/write denied [chmod] for instance), ecu stilldies. hopefuly this will all be handled by the time of release.5. jhpb@sarto.budd-lake.nj.us added preliminary support for ESIX SVR4and I added the necessary switches to config.c.  Now, -DISCSVR4is used for ISCSVR4, -DESIXSVR4 for ESIX and -DSVR4 for "any" SVR4.6. The "kbdtest" interactive command has been cleaned up enoughfor general use.  I hacked it in for debugging early on.Now it is documented well enough for general use in funckeymap debugging.7. -P command line switch added for selecting a phone directory otherthan the default ~/.ecu/phone.  Use -P fullpath.8. Any usage error (bad command args) resulted in the death of ecu'sprocess group.  This provided great incentive to invoke the programproperly, but in this modern day, you are not allowed to disciplinethe students :-).9. An experimental feature has been added to ecuungetty.If it is compiled with -DECUUNGETTY_CHOWN, it will performchown and chmod operations on the line.When the line is acquired, its ownership is set to the real uidof the ecu user, its group id to the group id of the process, andits mode to 622.  This is what happens to xterm ptys.When the line is released, its ownership is set to uucpof the ecu user, its group id to uucp, and its mode to 640.This is what SCO uugetty does when it starts on a line.You can experiment with this feature by     a. placing the line       LOCAL_CFLAGS = -DECUUNGETTY_CHOWN       in the file `config.local' in the distribution base directory.    b. Configure or ./config    c. remake and reinstall*You* must decide if this is appropriate for you.  The tradeoffis between having 666 ttys and having a program which a diligenthacker could use to change any file in the system to hisownership. You really should look at bamboozle.c and judgewhat level of protection you want to use.  If you are ona sensitive installation (like you .gov or .mil guys),you might not want to do it.  Any suggestions for improvementor additional security.  I thought about pathname checking,st_dev and st_rdev checking and the like, but nothing simpleand portable has come to mind.10. From 31840 patch 5,By the time ECU actually attempts an line open, enough previouscontext has been lost that the program cannot recover if the openfails.  I have always made several checks to try and eliminatesuch occurrences.  Now, at least for SCO lines in utmp, thechances of failure are virtually eliminated.This patch goes with patch 4 to extend the benefits of ecuungettychown.  If ecuungetty chown is enabled and this patch isinstalled, we get reduced likelihood of ecu terminatingabnormally when switching comm lines or when selecting the firstline of the session.   Line access is checked if it is not found in utmp to see if   an open would fail.   SCO uugetty does not always put anything in the ut_line field   of its utmp entry.  However, a de facto convention exists for   making an inittab id field with the last two characters   matching the last two characters (the only unique characters)   of SCO-style comm line names.  This patch causes such a check   to be made, increasing the likelihood of getting a utmp matchTwo new files have been added to this distribution:   dutmp.c   cc -o dutmp dutmp.c    dumps the utmp; a cheap who -a   README.3.2v4         a brief blurb related to EAFS file namesecu 3.19.00 patch 1 - notes 11-1511. The maximum screen geometry is now 85x80 instead of 43x80.Columns must be 80.  Lines must be > 20.  Linesin excess of 85 will be accepted, but ECU will be unable tomaintain a correct screen display if any scrolling occurs.12. A Nap() bug (used by the procedure nap command as well asinternal functions) could cause the program to hang if nappingwas to occur when a receiver or child process terminated.  Thisonly occurred on systems with -DWORKING_SELECT: SunOS, the SVR4s,ISC 2.2, for instance.13.  Remaining program identifiers containing the string "nonansi.*key"were renamed to use "funckeymap".14.  On systems with reliable predefines in their native compiler,(SCO -DM_SYSV, SunOS -Dsun),  Configure guesses at a default answerfor the first question.15. The End key may now be used to finish adding or editinga dialing directory entry.ecu 3.19.00 patch 2 - notes 16 - 1816. Yet more work on the ecuungetty scheme.  ungetty acquisitionnot attempted early enough for "enabled but idle" lines17. A few patches back, I forgot to note %conn will now return-1 if no line is open.  Previously it returned 0 in this case.Now -1 means no line open, 0 means line open but no connection,>0 is the line file descriptor for the line in an activeconnection.18. The Nap() fixes of the last patch prevented ecurz/ecusz/ecuseafrom compiling.  Sorry.From full release 3.19.0519.  A preliminary T3000 dialer has been added to the gendialpackage.  This modem's future is plastic and the dialer, likeall gendial programs, is just a starting point.  Gendial isprovided and I don't have a lot of time to support the zillionsof conflicting idiosyncratic options folks want.  With thatspew spewed, most of them work fairly well.  Documentation :-) ?20.  A side effect of getting the T3000 was that *I* got to playwith ECU on a Sun.  This is quite fortunate, since ECU was purportedlyported many CPU cycles ago.  The Nap() problem has finally beenput to bed... (he said).From 3.19.05 patch 1 (making 3.19.06) notes 21-2421. The lCLOCAL() code and its users form the chassis uponwhich the DCD watcher is based.  It appeared to work on theSCO box, but caused problems on SunOS that were difficult tofind.  Thanks to Mark Ashton, n4hgf!ifsbd!cma, this problemis history.  Many mysterious "hangs" came from a trapyou could fall into on *any* implimentation other than SCO UNIX.CLOCAL doesn't appear to work the same on SCO 3.2.? as XENIXand SunOS.  I think tbetz@upaya.panix.com will be happywith this news.22. cma also discovered that if you have multiple Devices entriesfor a line to pick up specific Dialers scripts or dialer programs,say:ACU ttya - 2400 t3000-2400ACU ttya - 9600 t3000-v32ECU would always pick the first one (disregarding baud rate).This is fixed now.Now, if you dial with a directory entry using a /Devices-type or=devices-type specification for tty, then *that specific* Devicesentry is used to choose the dialer program or Dialers script.  Ifno directory entry is involved or the directory entry specifies"Any" or a specific line, then Devices is searched for the firstentry matching both the current line and the current baud rate.A note aside: SCO Devices entries appear to me to have a syntaxextension not found in all HDB systems.  The baud ratefield allows a range of baud rates, like:ACU tty1A - 110-2400 /usr/lib/uucp/dialgHA24ECU supports this syntax, but your uucico may not.23. models/funckeymap updated with my dual-purpose Sun/SCOfunckeymap/.Xdefaults configuration.24. cmostime4 has been included for SCO users (and many hackers)From 3.19.05 patch 2 (making 3.19.07) notes 2525.  Dialing directory subform data entry formerly had twoinput schemes: on input, you were cajoled into going throughfields one at a time until you reached the end of the form, whereuponECU would take away the input form.  On the other hand, when editingan entry, you were free to cycle through the fields "a la modulo"in either direction.Now, both input modes allow liberal cycling.  Pressing the END keysignals your acceptance of the entry.  Pressing ESCape in inputmode aborts the new entry process.  Pressing ESCape in edit modebehaves exactly like the END key except that any edits made sincethe cursor entered the current field are discarded..From 3.19.10 - notes 26-2726. more internal cleanup27. robertle@sco.com (Robert Lewis) noted that putting the phone numberon log files and screen dumps is a security risk.  Why protect~/.ecu when the phone numbers are plastered everywhere.  Nomore banners.From 3.19.11 - whoops didn't keep track28. ecuungetty chown fixes and miscellaneous cleanupFrom 3.19.12 - notes 2929. Added use of ECUFUNCKEY environment variable to override TERMwhen loading funckeymap.3.19.13 internal rev (just superstitious :->)3.19.14 - notes 3030. Made changes for SCO 3.2v4/ODT 2.0:    a. pids are now shorts    b. getty sets "DIALOUT" on its own3.19.15 - notes 31

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -