Path: utzoo!mnetor!uunet!husc6!think!ames!sdcsvax!sdcc6!loral!dml From: dml@loral.UUCP (Dave Lewis) Newsgroups: comp.sys.amiga Subject: Re: Shell 2.08m?? Message-ID: <1507@loral.UUCP> Date: 24 Dec 87 17:39:39 GMT References: <269@dana.UUCP> <1987Dec20.175713.7918@sq.uucp> Reply-To: dml@loral.UUCP (Dave Lewis) Followup-To: comp.sys.amiga Distribution: na Organization: Loral Instrumentation, San Diego Lines: 77 Keywords: More, Ls Summary: Add a coupla commands In article <1987Dec20.175713.7918@sq.uucp> hobie@sq.UUCP (Hobie Orris) writes: >says "AmigaDOS" in the title bar...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. I compiled Dillon/Drew version 2.07m without any custom libraries; I'm using it now. Great idea, putting useful info in the title bar...it should be imple- mented like _prompt, user-definable. New special variable _titlebar. I've wanted something in Shell ever since I started using 2.05: More!! I HATE typing \ - frantically as my text runs off the top of the screen, and I don't like going to the disk for such a common command. Even if it's just a page break (no fancy options, like "b", "s", ":n" etc. to reduce the size) it would be better than nothing. Bob Leivian's "Less" would be great except for two problems: it's over 22K bytes, and it doesn't handle the Amiga screen control codes -- it barfs "^[[m3text^[[m0" all over the screen. Another thing - "dir" needs some fixing. Most of the time I just want to see filenames. I don't need to know all the info, and I don't want to jump on a key to stop it from scrolling off the screen. Make the default "dir -s", save "dir -l" for when I really want it. (I've done `alias l "dir -s"' and `alias ll dir') And reformat the "-l" display -- I'm tired of seeing this: A file rwed 22364 46 07-Aug-87 17:20:13 'Nother file rwed 4480 9 04-Sep-87 22:43:08 Great big humungous file name rwed 27243 55 08-Oct-87 14:02:55 Not so humungous file name rwed 8820 17 22-Nov-87 05:42:30 Unix has the right idea: rwed 22364 46 07-Aug-87 17:20:13 A file rwed 4480 9 04-Sep-87 22:43:08 'Nother file rwed 27243 55 08-Oct-87 14:02:55 Great big humungous file name rwed 8820 17 22-Nov-87 05:42:30 Not so humungous file name Finally, change the "devinfo" command. "info" should provide a display exactly like the Arp "info" (if disk is not in drive, just say so without making an error). "info df0:" would display only the one drive. I'll do it myself eventually, but I'd hate to have to hack my changes into every new version of Shell.... Now that I'm done bitching...Shell's really great. I especially like the "if -f" option added to 2.07m, which allows me to reboot fast when running Aztec C. I keep Z (renamed to Vi), the entire Include directory, c.lib and m.lib in VD0:, using ".login" to copy them at power-up. Used to be I had to do "If exists VD0:Include" in Startup-sequence, then choose between "Shell .login" to copy everything or "Shell .relogin" to skip copying. Now I can check for several directories individually in .login and copy if they're not present. VD0: is running in $C00000 RAM and sometimes AmigaDOS crumbles the magic cookies on reboot when VD0: is near full. 'Nother thing -- somebody said a while ago that if you copy all the commands and other files referenced by Startup-sequence to the disk FIRST, the Amiga will boot up faster. "It's twue, it's twue!" Sometimes twice as fast. So, in the S: directory of every bootable disk, I have a "Make.sh" file containing commands to create a system disk from scratch. Format, Install, and lots of copy, copy, copy in the correct order. ------------------------------- Dave Lewis Loral Instrumentation San Diego hp-sdd --\ ihnp4 --\ sdcrdcf --\ bang --\ kontron -\ csndvax ---\ calmasd -->-->!crash --\ celerity --->------->!sdcsvax!sdcc3 --->--->!loral!dml (uucp) dcdwest ---/ gould9 --/ Working with a single-tasking computer is like cooking on a stove with only one burner. Multi-finders and their ilk allow you to put different pans on the burner. -------------------------------