RD Controls Software Release No. 49.0<P> <b> USER_LANDFILL_SITE Logical</b>

RD Controls Software Release No. 49.0

USER_LANDFILL_SITE Logical

D.S. Baddorf

In an attempt to free the user from files which ``always have to live in the SYS$LOGIN directory (the user's home directory)'', a new convention is being declared. A new logical is available: USER_LANDFILL_SITE. The goal is for new programs, or old programs as they happen to be modified, to put their ``droppings'' in the directory pointed to by this logical. For example, the QDIRECTOR program (which allows you to choose which printer you want for Mass11) now will put its necessary file TALx.QDIR in the USER_LANDFILL_SITE: directory.

The system has defined USER_LANDFILL_SITE to point to SYS$LOGIN, so if the user does nothing, things will look just like they always have looked. If the user creates a new directory, by

$ CREATE/DIRECTORY [. something]
and redefines the logical in his LOGIN.COM file, by adding a line:
$ DEFINE USER_LANDFILL_SITE SYS$LOGIN_DEVICE:[ username.something]
then the TALx.QDIR file can be put in this directory and removed from the top level directory.

Another file that can be moved is the NOTE$NOTEBOOK.NOTE file. A logical can be defined in the LOGIN.COM file:

$ DEFINE NOTES$NOTEBOOK USER_LANDFILL_SITE:NOTES$NOTEBOOK.NOTE
and the file can be moved into your new directory:
$ SET DEFAULT SYS$LOGIN

$ SET NOTES$NOTEBOOK.NOTE

$ RENAME NOTES$NOTEBOOK.NOTE [. something]NOTES$NOTEBOOK.NOTE

$ SET PROTECTION=O:RW [. something]NOTES$NOTEBOOK.NOTE

This will remove one more file from the clutter in your top level directory.

Those who use the EPICURE or CRYO project areas will find that one or two more files have moved. The EPICS_LOGIN procedure now points logical PARAM_DIR to USER_LANDFILL_SITE if the user has defined the latter. If you choose to define the landfill logical, then you should delete the PARAM_SAVE.DIR in your top directory and any files it contains. They will in the future appear in the landfill site. If you don't define the landfill logical, LAST_WORK.DAT and LASTEDIT.EDT files will still go to the PARAM_SAVE directory.

MAIL files can also be moved from the user's top directory, as many of you already know. To accomplish this, choose a name for the mail directory ( MYMAIL for this example) and type

$ SET DEFAULT SYS$LOGIN

$ MAIL

MAIL> SET MAIL_DIRECTORY [.MYMAIL]

This will create the new subdirectory and move all the multitude of mail-related files into it, leaving much less clutter in the SYS$LOGIN directory.

Keywords: defaults, logical

Distribution:

normal

Security, Privacy, Legal

rwest@fsus04.fnal.gov