Questions and Answers related to the new SUN-computers Author: PDG (with the help of EO, BDS, PVO) For all other questions: contact PDG or BDS first (before EO) Jan. 11 Q: If I open a terminal-window, only a $-sign appears, and most commands don't work? A: uncomment the last line in .dtprofile (i.e. remove "# "), back-up your own .profile, copy ~olemans/.profile.sista to your .profile, and re-login. Q: How do I get the same window-behaviour as on the DEC's (the windows get active when you move the mouse in it, the windows raise when you click on the border)? A: Click on the "Style Manager"-icon on the Toolbar, choose "Window", select "Point In Window To Make Active", and un-select "Raise Window When Made Active". Q: When I use the "Mailer"-application, I get an dialog-box that says that "Mailer is unable to obtain exclusive access to this mailbox because..."? A: Uncheck "Use network aware mail file locking" in Mail Options/Advanced Q: I try the "AnswerBook"-application, but it doesn't work, and gives an error-message? A: Change in .profile AB_CARDCATALOG: remove "the ":" in the path AB_CARDCATALOG=/software/answerbook/:ab_cardcatalog. Q: How do I install Wabi (the SUN Windows-emulator)? A: Doe cd ~;tar xvf ~olemans/wabi.tar; Daarna kan je wabi intikken. Q: How do I change the right mouse button menu (the "Workspace Menu") so that it contains my favourite applications? A: Take a look at ~olemans/.dt/dtwmrc, and change your owm .dt/dtwmrc so that it contains an "Applications"-menu. Jan. 12 Q: How do I open a terminal-window? A: Or you click the small triangle above the "Editor"-icon, and choose the computer-screen icon, or choose "Programs/Terminal..." from the right mouse button menu (the "Workspace Menu") Q: The shortcut keys in e.g. the mailer-application don't work! A: Yes, I noticed that too... Q: If I open a dtterm with inverse window background, and if a work in vi, it happens that my inverse background becomes normal again (when pressing escape in command mode, or when backspacing at the left margin). A: Yes, it happens with me too. Jan. 15 Q: I like the scrollbar in my dtterm, but it doesn't go back far enough. How can I extend this scrollsize? A: Put the line Dtterm*saveLines 10s in your .Xdefaults-file (this sets your scroll-buffer to 10 screenlenghts). It starts working when you logout and login again. On the command-line: execute dtterm -sl 600 & (replace 600 with whatever you want). Q: If I use the File Manager, how can I associate an application with a file-type, such that the application is started if I click on the file? A: Take a look in the Answerbook about Advanced Users (it's not very easy). Q: How do I change the window-menu? A: Same answer. Q: How do I customize the front panel (e.g. add a terminal action, add a netscape startup icon,...)? A: To create an extra icon (with existing icon/action): add a .fp file in your ~/.dt/types directory. To create a complete new icon and action: create an icon using the Icon Editor, save it in ~/.dt/icons directory, create the action using Create Action, save it in ~/.dt/types directory (the extra file created in your home-directory may be removed afterwards). Examples can be found in ~degersem/.dt ~deschutt/.dt, ~favoreel/.dt,... Q: Is there an equivalent for .xsession? A: I don't think so, because your new session preserves all your windows and open applications. If you want always the same session when starting up, prepare that session, select style-manager/startup/set home session, en select return to home session na logout. Q: How can I change the repeat-rate of my keyboard? A: I don't know. Q: File-name completion doesn't work anymore with Esc-Esc? A: Add set -o emacs in your .profile Jan. 19 Q: Style Manager - Beep: I can't change any property of the beep? A: The window-manager we use doesn't support this (explained under the Help- button) Feb. 19 Q: Can someone who is remote logged in on a workstation, use the microphone, and e.g. listen to what the user at that workstation is doing? A: Normally not, because the audio-device (/devices/sbus@1f,0/SUNW*audio*) is read/write only for the console-login user. If someone (root, or the authorized user) changes the protections, it's possible. Mar. 19 . If you start a job in background on a SUN work station, you could use the following command: nice -19 job.bat > job.out 2>&1 & Make sure that the file job.bat is executable before starting the job: use chmod u+x job.bat. Everything that normally appears on the screen will be written to the file job.out. Examples of .bat files that can be used with matlab can be found in the directory ~deschutt/batch, e.g. example.bat. . The command nice -19 assigns a lower priority to your job. You can also use it to start up an interactive matlab session at a lower priority: nice -19 matlab . You can lower the priority of one of your running jobs by using the renice command: first determine the proces ID (PID) of your job and then use renice 19 PID to set the priority of your job (Note that you can only lower your priority). + Since it is not fair to consume all the CPU power of somebody else's work station, we suggest that in general you run your batch jobs or long interactive matlab sessions on your own/fixed work station. Furthermore, you should also set the priority of any batch job that you run on a SUN station to 19. Likewise, you could set the priority of long real-time interactive jobs (i.e. jobs that will consume more than, say, 120 min CPU time) to 19. Note that you can use the command top or ps -ef | more to get a list of the processes that are running on your machine. Apr 26 Q: How to use the floppy drives? A: Insert floppy, execute volcheck, floppy gets mounted on /floppy/floppy0 (you can use it as an ordinary directory, with the usual commands cp, rm, mv, ls). To get rid of the floppy: execute eject. To format a DOS-diskette: insert floppy, execute "fdformat -v -U -d", execute "eject floppy"