kadie@uiucdcsb.cs.uiuc.edu (03/23/88)
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)
mende@porthos.rutgers.edu (Bob Mende pie) (03/24/88)
In article <186000001@uiucdcsb> kadie@uiucdcsb.cs.uiuc.edu writes: > 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? If there wasn't *no one* would use it... Just give postscript commands in part of your user.ps file and you will get what you want... just make sure that the server is started *before* the user.ps is taken in $NEWSHOME/lib/NeWS/init.ps /Bob -- mende@aramis.rutgers.edu rutgers!aramis.rutgers.edu!mende mende@zodiac.bitnet I know that yow dont understand me... Nobody understands me!
siegel@hc.DSPO.GOV (Josh Siegel) (03/24/88)
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.
don@BRILLIG.UMD.EDU (Don Hopkins) (03/26/88)
I use the journalling facility in NeWS 1.1 to set up my screen. The last thing my user.ps file does is to invoke a journal file called "hello". systemdict /Journal known not { (NeWS/journal.ps) run } if /playdemo { % playbackfilename => - Journal begin State /Stopped eq { { PlaybackFile /PlaybackFile 3 -1 roll def newprocessgroup framebuffer setcanvas journalplay /PlaybackFile exch def } fork pop } if pop end } def (hello) playdemo You can journal keystrokes as well as mouse events! But I had to set my autorepeat threshold higher to avoid prrrrrrroblems when the journal file gets played back more slowly than it was recorded. (It journals key down and up events. An option to journal just the translated ASCII events would be useful.) % Set key repeat UserProfile begin /KeyRepeatThresh 1 60 div .8 mul userdefault /KeyRepeatTime 1 60 div 10 div userdefault end My "hello" journal file starts a console window, runs a psh in it, starts the debugger, iconifies it, and runs several remote terminal window and other programs from various menus, set up in my user.ps. I go visit the Coke machine while it's warming up. -Don
randy@NCIFCRF.GOV (03/30/88)
Specifically take a look at the "forkunix" primitive; one of our users here forks off a file (shell script) that looks alot like .suntools, but with "&"s on the end of each line. -- Randy Randy Smith @ NCI Supercomputer Facility c/o PRI, Inc. Phone: (301) 698-5660 PO Box B, Bldng. 430 Uucp: ...!uunet!ncifcrf.gov!randy Frederick, MD 21701 Arpa: randy@ncifcrf.gov