Path: utzoo!utgpu!water!watmath!clyde!att!rutgers!mailrus!ames!amdahl!kevin From: kevin@amdahl.uts.amdahl.com (Kevin Clague) Newsgroups: comp.sys.amiga.tech Subject: Re: Standardization Keywords: Menus Message-ID: Date: 24 Oct 88 16:01:51 GMT References: <1314@nmtsun.nmt.edu> <2287@cadovax.UUCP> <221@antares.UUCP> Reply-To: kevin@amdahl.uts.amdahl.com (Kevin Clague) Organization: Amdahl Corporation, Sunnyvale, CA 94086 Lines: 42 In article <221@antares.UUCP> jms@antares.UUCP (joe smith) writes: >In article <2287@cadovax.UUCP> keithd@cadovax.UUCP (Keith Doyle) writes: >>One problem I have been struggling with somewhat with file requesters is >>that I would like to keep the file list around, but if you have multiple >>file requesters for different file operations, how many lists of files >>should you actually maintain? > >Keeping a list of what's in a directory is great, as long as you can >guarentee that nothing has changed the directory behind your back. Think >of how frustrating it would be if a program refused to acknowlege the >existance of a file that you had just created from another window. Keeping a list of the files around is pretty much a requirement, unless you plan on re-scanning the disk everytime the user scrolls the area you use to display the available files. I don't think Keith is keeping the files in a list to enhance performance, but to provide functionality. > >This is a worth-while idea; caching a list of file names. To make it >workable though requires a change to AmigaDOS. If programs kept a lock >on the directory that the list came from, then all we need is a new >function to tell AmigaDOS to send us a message whenever the directory >changes. The messsage is a signal to the program to flush its file name >cache. This would be a nice feature. I like the idea. >-- >+----------------------------------------------------------------------------+ >| TYMNET:JMS@F29 CA:"POPJ P," UUCP:{ames|pyramid}oliveb!tymix!antares!jms | >| INTERNET: (Office-1.ARPA is no more) PHONE:Joe Smith @ (408)922-6220 | >+----------------------------------------------------------------------------+ Kevin -- UUCP: kevin@amdahl.uts.amdahl.com or: {sun,decwrl,hplabs,pyramid,seismo,oliveb}!amdahl!kevin DDD: 408-737-5481 USPS: Amdahl Corp. M/S 249, 1250 E. Arques Av, Sunnyvale, CA 94086 [ Any thoughts or opinions which may or may not have been expressed ] [ herein are my own. They are not necessarily those of my employer. ]