waynet@tolerant.UUCP (Wayne Thompson) (12/27/87)
> Will it happen? Is anyone working on this? If so, I have a suggestion >which I think will be of general usefulness. Up in the top of my CLI window it >says "AmigaDOS" in the title bar. I don't need to be reminded that I'm using >an Amiga. I think it would be much more useful to have the name of my current >directory there, like "DH0:/src/widget" so I don't have to type in "pwd" to >findout where I am. Perhaps a definable title bar that you could specify what you >want on the title bar, like "$pwd\t\t$date\t\t$lasterr" and have it update auto- >magically whenever these values change, or something. I'd do this thing myself >but I don't have MY.LIB, which I believe is necessary to compile the shell. >Hobie Orris | >guest of SoftQuad Inc., Toronto, Ont. |"There'll be no more giant leeches >{ihnp4 | decvax | ? }!utzoo!sq!hobie | When you find the good Lord Jesus" For shell2.07 try the following in your .login to get $_cwd in your prompt. # # --- BEGIN .login --- # # mkdir ram:c copy sys:c/cd ... ram:c set _path ram:c ... # # --- prompt def --- # # alias sp "set _prompt $_cwd\" % \"" alias cd "%d ram:c/cd $d; pwd >nil:; sp" sp # # --- END .login --- # I picked this technique up from the net a while ago for csh. You can't use the built in cd because shell complains about a circular definition for cd.