ftp.nice.ch/peanuts/GeneralData/Usenet/news/1989/CSN-89.tar.gz#/comp-sys-next/1989/Aug/defaults-database-goes-away...

This is defaults-database-goes-away... in view mode; [Up]


Date: Sun 16-Aug-1989 16:53:03 From: Unknown Subject: defaults database goes away... I have been using the Pseudo program in conjunction with the window-position program to keep all my terminals from popping up in exactly the same place. (Both programs are on cs.orst.edu through anonymous ftp.) To get it to work, I had to use two lines like % dwrite myterm Application /NextApps/Terminal % dwrite myterm Args '`window-position -l 0 369 152 0`' myterm is a link in my ~/Apps to /LocalApps/Terminal. Note that the manual for Pseudo got the syntax for the second line slightly wrong. Anyway, I noticed that while my myterm Pseudo-application worked fine for awhile, it has not been behaving for the last couple days. In addition, applications from the dock are not auto-starting properly as I have specified, and several things in the Preferences application have reverted to their default behavior after I have set them to other things (most seriously, boot device changes to OD from SD, and Public Window Server and UNIX expert options are unset. My only explanation for this behaviour is that the defaults database, accessible through dread, dwrite, dremove, the Preferences Application, and perhaps other applications, is disappearing. Does anyone know why this is happening? It just seems to magically be gone when I log in some morning. Has this happent to anyone else? | Dan Zerkle home:(805) 968-4683 morning:961-2434 afternoon:687-0110 | | dz@cornu.ucsb.edu dz%cornu@ucsbuxa.bitnet ...ucbvax!hub!cornu!dz | | Snailmail: 6681 Berkshire Terrace #5, Isla Vista, CA 93117 | | Disclaimer: If it's wrong or stupid, pretend I didn't do it. | >From: combs@sumex-aim.stanford.edu (Dave Combs)
Date: Sun 18-Aug-1989 03:30:25 From: Unknown Subject: Re: defaults database goes away... I have seen this problem happen semi-randomly...it's almost certainly a bug in 0.9 -- suddenly many or all of your Preferences will vanish... A temporary fix which I came up with is: (1) When you have your system as you want it to be, change to your home directory and do a "dread -l >.defaults" (2) In your .login file add the line "dwrite <~/.defaults" (3) In your .logout file add the line "dwrite <~/.defaults" This last step is helpful only for the rare case that you've changed the .defaults file (now the definitive listing of your preferences) and want this to be seen on your next login (necessary for Workspace options and any other preferences that are "looked at" before .login is run). I've still noticed a problem now and then that Workspace LaunchThese goes away and won't come back after the first new login. I don't understand this at all... General Note: I have "strings"ed all the Applications to try to get a list of ALL the defaults you can set and reset. This was only partly sucessful since I have limited patience looking thru the (huge) output generated. If anyone has a definitive list (or wants my list) please let me know... Charles >From: dcarpent@sjuvax.UUCP (D. Carpenter)

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Marcel Waldvogel and Netfuture.ch.