home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!news.duc.auburn.edu!usenet
- From: hankedr@mail.auburn.edu (Darrel Hankerson)
- Newsgroups: comp.os.os2.apps
- Subject: ms_sh (shell) bugfix uploaded
- Message-ID: <1993Jan6.130445.12938@news.duc.auburn.edu>
- Date: 6 Jan 93 13:04:45 GMT
- Sender: usenet@news.duc.auburn.edu (News Account)
- Organization: Auburn University, Alabama
- Lines: 62
- Nntp-Posting-Host: lab1.duc.auburn.edu
-
- Ian Stewartson has released ver 2.1 of ms_sh, a shell for OS/2 1.x--2.0
- and MSDOS. The OS/2 version has one new "bug": it modifies some filenames
- needlessly under HPFS, causing shell scripts to break. I have contacted
- the author with a bugfix; see below.
-
- I have uploaded a fix to ftp-os2.nmsu.edu, currently in
- pub/uploads/ms_sh21c.zip; possibly to be moved to pub/os2/all/unix/shells/.
- The archive includes all files needed for the OS/2 version, but you may wish
- to retrieve sources from simtel20.army.mil in pd1:<msdos.sysutl>ms_sh21?.zip.
-
- The readme.os2 file follows.
-
- --
- Darrel Hankerson hank@ducvax.auburn.edu
-
- ============================= readme.os2 ====================================
- The original distribution of sh 2.1 has the following problems:
- 1. system.c has a missing ';'
- 2. The install mentions a 'lib' directory which isn't present.
- 3. The makefile assumes that CL has been set to include certain flags.
- 4. The OS/2 version alters some filenames needlessly on HPFS, causing
- shell scripts to break.
-
- The enclosed executable was created with MSC 6.00A using dmake 3.8 under
- OS/2. The include files limits.h, sys/stat.h, and sys/types.h were copied
- from the MSC include directory to ./include/ and the additions in 'changes'
- were made. Be sure to set the INCLUDE environment variable for the compile:
- set INCLUDE=..\include;c:\msc\include
-
- Original sources may be obtained from simtel20.army.mil in
- pd1:<msdos.sysutl>. Apply the patches with
- patch -p1 < patches.os2
- then do 'make -f makefile.os2' from the src directory.
-
-
- Ian Stewartson remarks:
-
- >From: IN%"istewart@datlog.co.uk" 5-JAN-1993 11:15:24.32
- >To: IN%"HANK@DUCVAX.AUBURN.EDU"
- >Subj: RE: ms_sh 2.1 HPFS filnames broken
- >
- >Darrel,
- >
- >Thanks for the note and the fixes. I confess to have forgotten about HPFS
- >when I added the fix for .'s. I'll put it in the next release.
- >
- >> Thanks for the 2.1 update to ms_sh. This has been an excellent shell for
- >> MSDOS and OS/2.
- >>
- >> However, there is one changed "feature" from 2.0 to 2.1 under OS/2 which
- >> is probably a "bug": sh 2.1 needlessly clobbers filenames under HPFS (i.e.,
- >> blob.a.01 becomes blob.a~01). This breaks scripts which should work under
- >> HPFS. I made the necessary changes and compiled.
- >
- >Regards,
- >
- >Ian Stewartson
- >Data Logic Ltd.
-
- --
- Darrel Hankerson hank@ducvax.auburn.edu or hankedr@mail.auburn.edu
- 29 December 1992
-