TIP: Click on subject to list as thread! ANSI
echo: cis.os9.68000.osk
to: Carl Kreider 71076,76 (X)
from: John Strong 72270,1555
date: 1993-09-19 23:23:11
subject: #18852-#new shell

#: 18853 S12/OS9/68000 (OSK)
    19-Sep-93  23:23:11
Sb: #18852-#new shell
Fm: John Strong 72270,1555
To: Carl Kreider 71076,76 (X)

>Fm: Steve Wegert 76703,4255 >Now to throw cold water on your efforts but ....
(you knew _that_ was coming!)

Of course

>With all the other shells (tshell, csh, sh, bash) available to OSK users, >do
we need yet another shell?

Are any smaller than 10k?  My other OSK machine is a 512k Atari ST. Not a lot
of memory for large Unix type shells, also the most common memory size for
Burke & Burke's Rocket will probably be 512K.

>Is it something so special folks already having access to the above will >pay
money for it?

That's the big question!  Also don't forget that there are lots of folks who
don't have access to those shells or CIS and/or the other services.

>Why not divert your effort towards an application that we don't have for OSK?

I'm also porting some of my games to the MM/1.  CopyCat is 90% complete. Gems
is being worked on.  However porting 90+ pages of 6809 code & data to 68000
code can get quite boring, so I've got to keep an interesting project on the
back burner.

>Fm: Bob van der Poel 76510,2203 >You might find it easier and more versatile
to implement your extra features >via an 'alias' feature rather than
hard-coding stuff into the shell.

I plan to have an 'alias' feature, however hardcoding features has its
advantages and in many cases not that hard.

Here is the current code for dl (del), dlx (del -x), md (makdir) & mxd (makdir
-x):

delx:   move.b  #Exec_,d0
  bra.s   del_1 del:      moveq   #0,d0

del_1:  move.l  line(a6),a0     point a0 to pathlist
        os9     I$Delete
        bcs.s   prterror

        move.l  a0,line(a6)
        rts

makxdir:        move.b  #Updat_+Exec_+Dir_,d0
        bra.s   makdir1

makdir: move.b  #Updat_+Dir_,d0

makdir1:        move.w  #$bf,d1         all attrs, exec non-shareable
        move.l  line(a6),a0     point a0 to pathlist
        os9     I$MakDir
        bcs.s   prterror

        move.l a0,line(a6)
        rts

Fairly simple I think.

> Good luck.

Thanks Bob.

        John R. Strong
        StrongWare



There is 1 Reply.

SOURCE: compuserve via textfiles.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.