%! % Date: Fri, 25 Mar 88 21:11:08 EST % To: NeWS-makers@brillig.umd.edu % Subject: Re: Initial setup query % From: siegel@hc.dspo.gov (Josh Siegel) % % In article <186000001@uiucdcsb > kadie@uiucdcsb.cs.uiuc.edu writes: % > % >For the last week I've been using News instead of Suntools % >as my windowing system as I do software development. The % >biggest aggravation is that the News window starts out blank % >and I must spend 5 minutes opening the windows and applications % >that I like. % > % >Is there easy anyway to store a setup? With Suntools % >you can just set it up the way you want it and then % >ask it to automatically make an initialization file. % >Is there anything like this for New? % > % > % > % >Carl Kadie % >University of Illinois at Urbana-Champaign % >UUCP: {ihnp4,pur-ee,convex}!uiucdcs!kadie % >CSNET: kadie@UIUC.CSNET % >ARPA: kadie@M.CS.UIUC.EDU (kadie@UIUC.ARPA) % % % Below is what we use around here... it gives each user the % ability to set up a .NeWSrc... % % just put this code into /usr/NeWS/lib/user.ps % % --Josh Siegel % % NeWS startup code for '.NeWSrc' files in home directory. % % This is called from 'init.ps'. This code reads % commands out of a '.NeWSrc' file in you home directory. % This allows you to initilize menus and to prestart % jobs. (like suntools). % % Note: This file is superceeded by 'user.ps' files in % the directory from which the server is started. % BUT, this file superceeds the presentes of a 'user.ps' % file in your home directory. % /dspouserfilelen (HOME) getenv length def /dspouserfile dspouserfilelen 8 add string def (HOME) getenv dspouserfile copy pop dspouserfile dspouserfilelen (/.NeWSrc) putinterval dspouserfile LoadFile pop % -- % Josh Siegel (siegel@hc.dspo.gov) % I like using a C-47A "puff dragon" to go hunting with.