home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / binaries / os2 / 1950 < prev    next >
Encoding:
Internet Message Format  |  1992-07-23  |  3.2 KB

  1. Path: sparky!uunet!ogicse!uwm.edu!miller.cs.uwm.edu!mikek
  2. From: mikek@miller.cs.uwm.edu (OS/2 binaries moderator)
  3. Newsgroups: comp.binaries.os2
  4. Subject: v12i139: kernrev.zoo, Prints OS/2 revision number (part 01/01)
  5. Summary: A short REXX program which prints out the revision number of your OS/2
  6. Message-ID: <1992Jul23.224044.15931@uwm.edu>
  7. Date: 23 Jul 92 22:40:44 GMT
  8. Article-I.D.: uwm.1992Jul23.224044.15931
  9. Sender: news@uwm.edu (USENET News System)
  10. Followup-To: comp.os.os2.misc
  11. Organization: University of Wisconsin - Milwaukee
  12. Lines: 59
  13. Approved: mikek@miller.cs.uwm.edu
  14. X-Questions-To: os2bin-request@csd4.csd.uwm.edu
  15. Originator: mikek@miller.cs.uwm.edu
  16. X-Submissions-To: os2bin@csd4.csd.uwm.edu
  17.  
  18. Checksum:  453459980  (Verify with "brik -cv")
  19. Posting-number: Volume 12, Issue 139
  20. Testing-level: 1 (tested by moderator)
  21. Minimum-OS2-Version: 1.2 EE/1.3 SE 
  22. Submitted-by: 
  23. Archive-name: kernrev/part01
  24.  
  25.  
  26. REXX
  27. I don't know of any documented way to determine the revision no.        
  28. of a kernel- file under OS/2. But every kernel I've seen so far         
  29. contains a string that identifies the kernel-revision. So I've written  
  30. a small REXX script to do the work - just make sure the relevant kernel  
  31. is in the root of the current drive. If you want to determine the        
  32. revision of another kernel-file, just change the variable "kernel"      
  33. (e.g. "A:\OS2KRNLI" or "C:\OS2KRNL.OLD" etc.):                          
  34.  
  35.  
  36. [
  37. Checksums obtained with the 4.3BSD "sum" or System V "sum -r" command.
  38.  
  39. checksum     size (bytes)  file (between BEGIN--cut and END--cut lines)
  40.    22010         1570      part01
  41.  
  42. checksum     size (bytes)  file
  43.     5732         1118      kernrev.zoo
  44. ]
  45.  
  46. kernrev part01/01
  47. BEGIN--cut here--cut here
  48. begin 644 kernrev.zoo
  49. M6D]/(#(N,3 @07)C:&EV92X:  #<I\3]*@   -;___\"  $        #W*?$
  50. M_0("M@(  '$   #R&$]Y#,#O P  #0(   (!          !K97)N<F5V+F-M
  51. M9   "@ 47N8     I %     0"DC*  "#&*:U;;<9YX$[_Q<-;HXY!EW# O!
  52. M=93$-30+,&N#<*K?G(M&TH))R67XX^43<W!3%Y-KH%D:3F7K'EX>?F.O+CQ'
  53. MCTBIB^IXW+9Q#*PE?(]&FZTEO*H<4\@]@J)Y-M4L@_:0:7!3E,6%LG&'KP^ 
  54. M$-Q-65F05JL(7+J)HU:\M$X^=SP7 F\KX(:>K@0<1+#F"M+1_0^EBWI4MQBK
  55. MGM4O8:!2\*J-/JK43N:1O,,$Q.-;(C7%JGO,=Z!Y@UJ;+(T#=2U6]_-P,Y@_
  56. M%C=PR#]W.>+4[C35S<'G87!*WX+C /4X*7&!8Q\']#'3<UIJ 5-5P*<::QR9
  57. M<=3%O^*F^[OZ5;YV+8< W!NPJ;-%-T[4KV1GN"6J3Z'6=$89'N'R%/LG".[/
  58. M^M6NCZ^7V\=* QH1W]-"?5XZ$ GTSRYQ_O0#\>*]^]H1A/(QXE5B0[.$FV2.
  59. M_,$4LMM2NI!XF;SL >[4B4=IS/EX=VC\YSR&OEG7G'B@/WW=[8-L\/0)FYZ#
  60. MK\\LN$:EKSC-['2(TGRJ:M-G2GAFL0["-/F*Z[T/3DCKS1 )AS /6BF1&;,B
  61. M7"6OWI3X%1P1!FDZZR!K_W938QQ(.0)=1_+'%_$$CO3#K56I=66%%$7W9.']
  62. M5/A5X[8:FJV*7G'WVLM2X?@E/]CKCD&A+;31M3QW&>S#Z'Q#AVMDHST=F;Y9
  63. M>R>B7XM@  #<I\3] @                                          
  64. M                      #\@]RGQ/T" B8$  #] @  \AB+>7+D!@(  "D!
  65. M   " 0          <F5A9"YM90        H %"?E     *0!0    $ I(R@ 
  66. M 3QC>NL371>N? ']"CED=S)JFIJ__] CHZ3:CJ#1Y#QMR![F>[P$/CEP :JT
  67. MVJ +&DN7_Z=))A0\]BBHWWA](:>$>&>VPC4J!>W *\4$I)8XR"]B"%<Z#GF#
  68. M>P:>DQVQ42&5>T4NK(6G02#CS\]S!ZVJ"N),-,(3;+B$"(Q!XI:@[A$[S5KC
  69. MA$.@J./K$S:H=1%(NI<4,D'H4ZHI@YOS$[T<JQ%A)'?L;76,7.(3H[\7)EOR
  70. M +WI4-H^[8*+&U11EJ:MZLKFFNJJ$CH!QY];WKC$V/W/:B128H1UQ,$U(P?;
  71. M&,37]C+5N=XZRFI\>I-65C&?EFCY^S3ZY[%S4<WZC)LN>-+H$>!,ZL$OIO^>
  72. M//=[\OCA-*'H)?;OP,X\/]*"6=GCO']Z0   W*?$_0(                 
  73. F                                                _(, 
  74.  
  75. end
  76. END--cut here--cut here
  77.