pbiron@weber.ucsd.edu (Paul Biron) (09/11/90)
Hi all, Is there a list of the defaults which are recognized by the applications which are bundled with the cube? How about for various PD apps (e.g. Stuart)? In case you're wondering what I'm talking about, the defaults that I'd like info are the ones stored in your ~/.NeXT/.NeXTDefaults.{D,L} files and read by "conforming" apps on startup and viewable by entering the command : % dread -l at the command-line (in Terminal, Shell, Stuart, etc). For instance, Terminal (and Shell) recognizes the Shell default, whose value is the name of the program to run in the terminal window (usually /bin/csh), but you can fire up Terminal from the command-line with the -Shell argument to have it run something else (e.g. % Terminal -Shell 'vi myfile'), and as soon as that program exists the Terminal window is closed. The reason for asking is that Stuart doesn't seem to recognize this default and I'm trying to figure out how to tell the Workspace Manager to fire up Stuart and run vi when a text file is clicked on (instead of running Edit - yuck!! :-( Maybe this is something for NextAnswers? Having such a list might also help others who are writing applications land on some rough guidelines (NOTE : I'm NOT recommending Nazi-like standards which everyone must follow, just simple guidelines) for suitable default names and functions. p.s. I love my Cube, but am dissapointed by the lack of GOOD documentation (Digital Librarian DOESN'T compensate for pis-poor documentation). Thanx, Paul Biron pbiron@ucsd.edu (619) 534-5758 Central University Library, Mail Code C-075-R Social Sciences DataBase Project University of California, San Diego, La Jolla, Ca. 92093
pbiron@weber.ucsd.edu (Paul Biron) (09/11/90)
In article <2910@network.ucsd.edu> pbiron@ucsd.edu (Paul Biron) writes: >Hi all, > >Is there a list of the defaults which are recognized by the >applications which are bundled with the cube? How about >for various PD apps (e.g. Stuart)? > > >The reason for asking is that Stuart doesn't seem to recognize >this default and I'm trying to figure out how to tell the >Workspace Manager to fire up Stuart and run vi when a >text file is clicked on (instead of running Edit - yuck!! :-( > > >Thanx, > >Paul Biron pbiron@ucsd.edu (619) 534-5758 Well, I guess I spoke too soon! I figured out that Stuart DOES recognize the Shell default, but doesn't do full path searching, so you have to give the full path name of the program to run in the window (BTW, Shell does the same thing, but Terminal does do path searching) : e.g. % Stuart -Shell '/usr/ucb/vi somefile' I figured this out after I went home last night [Scott, thanx for your reply, I just saw it when I got in this morning, I'll read it in a bit and get back to you]. My request for a complete list of defaults is still open. Paul Biron pbiron@ucsd.edu (619) 534-5758 Central University Library, Mail Code C-075-R Social Sciences DataBase Project University of California, San Diego, La Jolla, Ca. 92093