trent@cs.dal.ca (Trent MacDougall) (05/19/89)
I must apologize for my error in my previous posting about this topic. The logic in the original 3.51 cu starts off by checking 600 bps, if your request is equal to 600 it braches to an appropriate place. If that fails, it checks to see if your request is greater than 600 and branches otherwise it falls thru for request less than 600. Well, since I replaced 600 with 19200 you can see the problem that was created. Anyways I got deeper into learning adb and rewrote the logic for accepting baudrates. I tested this fully with my orignal 3.51 cu, and it works great. #-----------------------C U T H E R E---------------------------- : # # Convert 3b1 cu to allow 19200 connections # # P. Trent MacDougall | trent@tmpor.UUCP # # This is done by rewriting the machine code logic. # The old allowed speeds were: # 110, 134, 150, 300, 600, 1200, 2400, 4800, 9600 # The new allowed speeds are: # 150, 300, 600, 1200, 2400, 4800, 9600, 19200 # # I have only tested this on an original 3.51 distribution cu. mv /usr/bin/cu /usr/bin/cu.ORIG cp /usr/bin/cu.ORIG /usr/bin/cu adb -w /usr/bin/cu <<ADB_END 817a6?w 04b0 817ac?w 4e71 817ae?w 4e71 817b0?w 4e71 817b6?w 0096 817be?w 012c 817c6?w 0258 817ce?w 0008 817d6?w 4e71 817d8?w 4e71 817da?w 4e71 817dc?w 4e71 817de?w 4e71 817e2?w 0005 817ea?w 0007 817f2?w 0009 817fc?w 0960 81804?w 12c0 8180c?w 2580 81814?w 4b00 8181a?w 000e 81822?w 000b 8182a?w 000c 81832?w 000d ADB_END -- //_//_//_//_// Trent MacDougall @ Dalhousie University, CS Dept. \\_\\_\\_\\_\\ UUCP {uunet watmath}!dalcs!trent // // // // // INTERNET trent@cs.dal.ca