home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / os2 / apps / 9909 < prev    next >
Encoding:
Internet Message Format  |  1993-01-06  |  2.7 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!news.duc.auburn.edu!usenet
  2. From: hankedr@mail.auburn.edu (Darrel Hankerson)
  3. Newsgroups: comp.os.os2.apps
  4. Subject: ms_sh (shell) bugfix uploaded
  5. Message-ID: <1993Jan6.130445.12938@news.duc.auburn.edu>
  6. Date: 6 Jan 93 13:04:45 GMT
  7. Sender: usenet@news.duc.auburn.edu (News Account)
  8. Organization: Auburn University, Alabama
  9. Lines: 62
  10. Nntp-Posting-Host: lab1.duc.auburn.edu
  11.  
  12. Ian Stewartson has released ver 2.1 of ms_sh, a shell for OS/2 1.x--2.0
  13. and MSDOS.  The OS/2 version has one new "bug": it modifies some filenames
  14. needlessly under HPFS, causing shell scripts to break. I have contacted
  15. the author with a bugfix; see below.  
  16.  
  17. I have uploaded a fix to ftp-os2.nmsu.edu, currently in 
  18. pub/uploads/ms_sh21c.zip; possibly to be moved to pub/os2/all/unix/shells/.
  19. The archive includes all files needed for the OS/2 version, but you may wish
  20. to retrieve sources from simtel20.army.mil in pd1:<msdos.sysutl>ms_sh21?.zip.
  21.  
  22. The readme.os2 file follows.
  23.  
  24. --
  25. Darrel Hankerson hank@ducvax.auburn.edu
  26.  
  27. ============================= readme.os2 ====================================
  28. The original distribution of sh 2.1 has the following problems:
  29.  1. system.c has a missing ';'
  30.  2. The install mentions a 'lib' directory which isn't present.
  31.  3. The makefile assumes that CL has been set to include certain flags.
  32.  4. The OS/2 version alters some filenames needlessly on HPFS, causing
  33.     shell scripts to break.
  34.  
  35. The enclosed executable was created with MSC 6.00A using dmake 3.8 under
  36. OS/2. The include files limits.h, sys/stat.h, and sys/types.h were copied
  37. from the MSC include directory to ./include/ and the additions in 'changes'
  38. were made. Be sure to set the INCLUDE environment variable for the compile:
  39.   set INCLUDE=..\include;c:\msc\include
  40.  
  41. Original sources may be obtained from simtel20.army.mil in
  42. pd1:<msdos.sysutl>. Apply the patches with 
  43.   patch -p1 < patches.os2
  44. then do 'make -f makefile.os2' from the src directory.
  45.  
  46.  
  47. Ian Stewartson remarks:
  48.  
  49. >From:    IN%"istewart@datlog.co.uk"  5-JAN-1993 11:15:24.32
  50. >To:    IN%"HANK@DUCVAX.AUBURN.EDU"
  51. >Subj:    RE: ms_sh 2.1 HPFS filnames broken
  52. >
  53. >Darrel,
  54. >
  55. >Thanks for the note and the fixes.  I confess to have forgotten about HPFS
  56. >when I added the fix for .'s.  I'll put it in the next release.
  57. >
  58. >> Thanks for the 2.1 update to ms_sh. This has been an excellent shell for
  59. >> MSDOS and OS/2. 
  60. >> 
  61. >> However, there is one changed "feature" from 2.0 to 2.1 under OS/2 which
  62. >> is probably a "bug": sh 2.1 needlessly clobbers filenames under HPFS (i.e.,
  63. >> blob.a.01 becomes blob.a~01). This breaks scripts which should work under
  64. >> HPFS. I made the necessary changes and compiled. 
  65. >
  66. >Regards,
  67. >
  68. >Ian Stewartson
  69. >Data Logic Ltd.
  70.  
  71. --
  72. Darrel Hankerson hank@ducvax.auburn.edu or hankedr@mail.auburn.edu
  73. 29 December 1992
  74.