Subject: Re: Apple //e shell? Path: lobby!newstf02.news.aol.com!audrey04.news.aol.com!not-for-mail From: supertimer@aol.com (Supertimer) Newsgroups: comp.sys.apple2 Lines: 20 NNTP-Posting-Host: ladder05.news.aol.com X-Admin: news@aol.com Date: 17 Dec 1999 07:36:06 GMT References: Organization: AOL http://www.aol.com Message-ID: <19991217023606.15330.00001713@ng-fk1.aol.com> me2@nowhere.org (Bart) wrote: >I have a //e with a Focus on it running PRODOS 8 2.0.3. every now and then >(and I cannot get it to repeat consistently) it will drop into what looks like >a shell when I type BYE. TAB to change drives, arrow for files and enter to >launch or change directory. WHat is this? How to get to it consistently? I >know I am asking a dumb question but,...?? It is the program selector and you get to it by typing BYE at the BASIC prompt. In order to automatically get to it every time you start the computer, you'd have to write a little BASIC program: 10 ? CHR$(4);"BYE" Then you'd save the program as STARTUP. However, make sure to RENAME your current STARTUP program to something else first otherwise you'd end up overwriting it. -------------------------------------------------------- Also noted in the following thread reply to this post is: Subject: Re: Apple //e shell? Newsgroups: comp.sys.apple2 From: dempson@actrix.gen.nz (David Empson) Date: Fri, 17 Dec 1999 23:37:49 +1300 Message-ID: <1e2zayo.1gfy45u18ne0xcN%dempson@actrix.gen.nz> References: Organization: Empsoft User-Agent: MacSOUP/2.4.2 NNTP-Posting-Host: 202.49.157.176 X-Original-NNTP-Posting-Host: 202.49.157.176 X-Trace: 17 Dec 1999 23:35:58 NZST, 202.49.157.176 Lines: 47 Bart wrote: > I have a //e with a Focus on it running PRODOS 8 2.0.3. every now and then > (and I cannot get it to repeat consistently) it will drop into what looks like > a shell when I type BYE. You should be able to get it consistently, assuming you are typing BYE while running BASIC.SYSTEM (Applesoft BASIC while booted ProDOS), and you are always running the same version of PRODOS and BASIC.SYSTEM. I wouldn't call it a "shell". It is actually the default program selector which is installed by ProDOS and invoked when a ProDOS application uses the QUIT call. (BASIC.SYSTEM does this when you use the BYE command.) If you quit from any ProDOS application (SYS file) then you should get the same program selector. There are actually two program selectors in ProDOS-8 1.9 and later: the original one, which prompts you to type in a prefix and pathname for the next application (yuck!) and the interactive one that lets you browse through volumes and subdirectories and pick a file visually. If you are running an Apple IIe with an 80-column card (or a IIgs or IIc) then you get the interactive one. A 40-column IIe (or a ][ or ][+) gets the old "type in the details" program selector. Third party applications can replace the program selector with their own code. For example, AppleWorks 3.0 and later installs a program selector called Birds Better Bye, which is similar in function to the newer ProDOS selector, but it works in 40-column mode and supports older machines. I co-wrote a program called QUITTER (or QUITTER.SYSTEM) which installs my own enhanced version of Birds Better Bye, adding a few more key commands and the ability to display twice as many files (two columns instead of one). If you go right back to early versions of ProDOS (1.0.x) then the program selector may be missing. BASIC.SYSTEM 1.0 doesn't have a BYE command, and the utility programs that came with the earliest system software (FILER and CONVERT) don't actually use the QUIT call: they have their own code to prompt you for another application to launch, which is similar to the original quit code. -- David Empson dempson@actrix.gen.nz Snail mail: P O Box 27-103, Wellington, New Zealand