Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!sdd.hp.com!cs.utexas.edu!rutgers!cbmvax!jesup From: jesup@cbmvax.commodore.com (Randell Jesup) Newsgroups: comp.sys.amiga.programmer Subject: Re: How do I update the CLI prompt from AL ? Keywords: prompt Assembly CLI Message-ID: <21738@cbmvax.commodore.com> Date: 20 May 91 06:36:42 GMT References: Reply-To: jesup@cbmvax.commodore.com (Randell Jesup) Organization: Commodore, West Chester, PA Lines: 17 In article amuser@cutmcvax.cs.curtin.edu.au (Bill Sharp-Smith AUG) writes: >In an assembly language program, I am using lock/unlock, examine, exnext >and currentdir from the DOS library to change directories, but the shell >prompt showing the current directory won't update. Under 2.0, use SetCurrentDirName(). Under 1.3 and before, you must modify it directly. Note this can be dangerous, since it has a maximum length, so limit the number of characters stuffed into it under 1.3 to 79. -- Randell Jesup, Keeper of AmigaDos, Commodore Engineering. {uunet|rutgers}!cbmvax!jesup, jesup@cbmvax.commodore.com BIX: rjesup Disclaimer: Nothing I say is anything other than my personal opinion. Thus spake the Master Ninjei: "To program a million-line operating system is easy, to change a man's temperament is more difficult." (From "The Zen of Programming") ;-)