Archive-name: NEXTSTEP-Misc-FAQ Last-modified: Fri Aug 27 01:27:51 EDT 1993 Version: 3.0 Every four weeks (depending on the phase of the moon) a number of postings are made to comp.sys.next.announce which are a compilation of answers to frequently asked questions in the comp.sys.next.* Usenet newsgroups. The FAQ list is broken into sections and posted separately. These sections focus on various aspects of NEXTSTEP and NeXT machines. Items that appear within sections are not in any particular order, and get added and removed over time. Posting the sections separately allows people to find the sections interesting to them quickly. Within each section each question will be preceded by a "Subject:" field, allowing news readers to break up the file into separate questions. Each question has its own unique number. The FAQ is kept on-line at several ftp sites, including: cs.orst.edu sonata.cc.purdue.edu srawgw.sra.co.jp [133.137.4.3] Many FAQs, including this one, are available via FTP on the archive site rtfm.mit.edu in the directory pub/usenet/news.answers. The name under which this FAQ is archived appears in the Archive-nameline above. Questions marked with a "+" are new to this issue, and questions with changes since the last issue are marked by a "!". Submissions, corrections, comments, input, etc., should be directed to Nathan Janette . Disclaimer: We are not affiliated with any of the companies mentioned in this posting. If you have any corrections, additions, questions, or answers to add to this list, please send email to: This compilation is meant primarily as a service to the comp.sys.next community. Newsletter editors wishing to excerpt from this work for publication should consider using local electronic bulletin boards to disseminate this information rather than preparing hardcopies. This allows for readers to access the most recent information, and perhaps save a couple of trees. We do not collect any royalties, charge any fees, or compensate anyone in connection with this endeavor. TABLE OF CONTENTS: ------------------ F1. Is there any way to change the text in the title bar of a terminal window? F2. Can I put both a 68030 and a 68040 system board in a single NeXT cube? F3. Where is libc.a under 2.0? F4. How do I get pictures of people from remote sites to appear in Mail.app and NewsGrazer? F5. How do I access the "help" facilities in Mathematica 1.0? F6. How do I find out what are the defaults for a NeXT application? F7. How do I run NextApps remotely? F8. Why does UUCP hangs on outgoing connections after sending the password, but other communications software do not have a problem with it? F9. How do I access the NeXT's Digital Websters Dictionary from a program? F10. How do I remap the \ and | keys on my keyboard? F11. Why doesn't email registration to Mathematica work? F12. How do I stop NeXTMail/Sendmail adding\ ^Ms onto the end of lines? F13. Where can I get black spray paint for my NeXT? F14. What default affects menu location? F15. How to get Gourmet to boot up the Mathematica 2.0 kernel? F16. What dwrites affect the loginwindow? F17: How does one set UNIX man pages to be viewed in nroff format with DL like the standard manual pages? F18: Can I automatically have my ~/.signature file appended to mail I send with Mail.app? F19: How can I quickly find a file if I don't know it's directory? F20: Mail.app suddenly stopped working. When I double-click the Mail.app icon it loads and seems to start but then just terminates. How can I fix this ? F21: For some reason, after moving my home directory, my recyler no longer works? ____________________________________________________________________________ ~Subject: F1. Is there any way to change the text in the title bar of a terminal window? There is no way of changing the title bar of a Terminal.app window in 2.x; in 3.0 there is. Check Preferences (Title Bar): set CustomTitle, type in the title, and hit CR (or Set Window) and voila! [andre@ramsey.cs.laurentian.ca (Andre Roberge)] adds: Actually, there is a way to change the title bar of a Terminal.app window in 2.x (at least in 2.1 which is what I am using). It is somewhat limited but it might be useful to some. The trick is to make a symbolic link between /bin/csh (or whichever shell one wishes to use) and a file in / named "Whatever_you_want_to_appear_in_the_title_bar". Then select this new "shell" in the terminal preference and, voila!, you'll have your terminal window with /Whatever_you..... in the title bar. You can edit Stuart's titlebar interactively from the "Window..." Inspector (Command-3). Stuart provides emulation of certain Operating System Command (OSC) sequences which can be used to modify the titlebar under subprocess control. Stuart can change the title of the current window from the command line. In Stuart is possible to get more descriptive titles by linking /usr/ucb/rsh to /usr/hosts/. Then by adding /usr/hosts to your Stuart ShellPath you can then get the hostname into the title bar: $ dwrite StuartShellPaths :/usr/hosts You should then type in the hostname as the shell to invoke (disable the "Shell reads .login file" for this. You can also add hosts to your .Stuartrc file: Shell=golem.ps.uci.edu SourceDotLogin=NO WinLocX=545 WinLocY=563 Lines=24 | WinLocX=76 WinLocY=833 For the localhost, link /bin/csh to /usr/hosts/, or even better /usr/local/bin/tcsh instead of using rsh. [Garance A Drosehn ] adds: For what it's worth, I do this with a script called "telnet_to" and a (bash) function called "telnet_window". The function simply does a local soil_pars="-Lines 32 -Keypad YES -Reverse YES -Strict YES -TestExit YES"; soil -Shell "telnet_to $1" $soil_pars and the script is just: #!bin/sh /usr/ucb/telnet $* echo ' ' echo ' --> telnet exited, press enter to close window.' read -r Waste_Var exit 0 This has a number of advantages, not the least of which being that I can pop up a "telnet_window" to anywhere. I don't have to create links for each host (though I do create aliases for the most common hosts), and I can type "telnet_window" (or, e.g., "tel_aix") as a unix command. Also, if I lose the connection suddenly then the window stays around until I get a chance to see what happened. I use telnet instead of rsh because I generally connect to hosts which won't accept rsh's. ____________________________________________________________________________ ~Subject: F2. Can I put both a 68030 and a 68040 system board in a single NeXT cube? There is a company which plans to offer hardware (extra CPU boards) and software support solutions for the OD with Turbo NeXTcubes. For more information: Sam Goldberger Spherical Solutions smg@sphersys.net.netcom.com 415-383-7512 [Note that we have no first hand experience with this problem, we have compiled what we consider to be an accurate report. We acknowledge conflicting reports where appropriate.] In general Mach may be configured as a multiprocessor operating system; however, the NeXT kernel is only configured to deal with one processor. This configuration can not be changed without access to the kernel sources. [hopefully NeXT will offer a multiprocessor version of the NeXT operating system at some future date] Some have asked about the possibility of installing the 030 board for use as a printserver or other CPU-intensive task server. In this hypothetical setup, each CPU would run its own copy of the operating system (essentially two different computers sharing the same cube). This might be workable except for the fact that even if the NBIC (NextBus Interface Chip) chip is removed, the CPU board probes the bus for slot ID [**a conflicting report comes from Richard Dib who heard that someone ran a cube with the CPU in another slot]. You could do hardware modification to the 68030 board which would isolate it enough to use only the cube as a power supply, however you can not run two monochrome monitor heads off the cube power supply. In this case you would probably want to first boot the 68030 with a display head, set the boot prom to boot off ttya, and attach an ascii terminal to that serial port. ____________________________________________________________________________ ~Subject: F3. Where is libc.a under 2.0? >From the developer's release notes concerning the 2.0 NeXT Operating System Software available on-line with 2.0 extended: /NextLibrary/Documentation/NextDev/ReleaseNotes/OperatingSystem.rtf - libc.a is not shipped with release 2.0. All routines contained in libc.a are also contained in the shared library libsys.a which should be used instead of libc.a. libc.a is not shipped because as a normal archive it is impossible for improvements and system interface changes made to library routines to be applicable to existing applications without those applications being relinked. Applications referencing shared libraries, because they are bound at runtime, always access the most recent release. Release 1.0 applications linked against libc.a may not be compatible with release 2.0 until they are relinked with libsys.a. ~Subject: F4. How do I get pictures of people from remote sites to appear in Mail.app and NewsGrazer? Mail.app: In /LocalLibrary/Images/People put a tiff (64x64) in the form of person@remote.site.domain.tiff (all lowercase). In /LocalLibrary/Images/People/passwd add an entry for the person: person@remote.site.domain:*:-2:-2::/nodir:/noshell (person and sitename need to be all lowercase as well)... In the future anytime you get mail from the person their picture should appear. You can include an "aliases" file in /LocalLibrary/Images/People too. This allows you to use the same picture for somebody that might send you mail from accounts on many different sites, or for those people whose letters use several different routings. To do this, you include entries in this local aliases file like so: bkohler@ucrac1.ucr.edu:bkohler.gonzo.ucr.edu gonzo.ucr.edu!bkohler@uupsi2.uucp:bkohler.gonzo.ucr.edu There should then be a .tiff file called bkohler.gonzo.ucr.edu.tiff. There can be no CAPITAL LETTERS in this file. So even if the address in the From: field looks like gonzo.ucr.edu!bkohler@uupsi2.UUCP, keep the letters lowercase in the aliases file. As always, you have to restart Mail.app before these changes take effect. NewsGrazer: In /LocalLibrary/NewsGrazer/People put a tiff (64x64) in the form of person.remote.site.domain (all lowercase). This is a different naming convention from what Mail.app uses. There is a large archive of some 4000 or 5000 pictures prepared for this purpose. The name of this archive is Faces3.tar.Z and it is about 4.1 MBytes large. Currently it is available from several anon ftp sites (e.g. sonata.cc.purdue.edu) in: /pub/next/graphics/Images/icons/people. That image archive also contains a script which automatically creates proper alias and passwd files. ____________________________________________________________________________ ~Subject: F5. How do I access the "help" facilities in Mathematica 1.0? While the help dialog doesn't show anything, you can get the help info by clicking on the place where the slider bar should be. This tidbit doesn't seem to work on all systems though, and will be irrelevant once the new version of Mathematica comes out. [Which it has]. ____________________________________________________________________________ ~Subject: F6. How do I find out what are the defaults for a NeXT application? A command line utility for examining defaults is available from: sutro.sfsu.edu:/pub/wmdefaults1.0.tar.Z. A PD App, DefaultMgr.app, is available on the NeXT ftp archives. A more brute approach (done by DefaultMgr.app): Start the application under gdb, and then try the following sequence of commands: break *0x500976a commands 1 silent printf "%s: ", *$a2 output {char *}(4+$a2) echo \n cont end run [Carl Edman ] adds: DefaultMgr.app doesn't any longer work properly under 3.0. It still is able to manipulate defaults but can't any longer "investigate" apps to find out which defaults they use. ____________________________________________________________________________ ~Subject: F7. How do I run NextApps remotely? On the local machine make sure you have public window server access, this is set from the Preferences application. On the foreign NeXT machine run the application from a terminal window with the -NXHost . Both machines should be running the same version of NeXTstep. ____________________________________________________________________________ ~Subject: F8. Why does UUCP hangs on outgoing connections after sending the password, but other communications software do not have a problem with it? What is happening is that the remote machine is waiting for you to end your login or password by typing a "Return" (aka ^M or CR or CARRIAGE RETURN). UUCP ends a line by sending a LineFeed (aka ^J or LF). Since UUCP doesn't send the CR, the login sequence is never completed, and you will usually get one of two error messages: wanted "password:" (means that username needs to end with a CR) imsg waiting for SYNC< (means that password needs to end with CR) So how do you get UUCP to send CR, instead of LF? End the send string with the sequence \n\c. For instance this line in L.sys will send a LF after login, but a CR after password. myfeed Any DIR 9600 cub "" ATTD19095551212 9600 \ "" ogin:--ogin: Unext ssword: secret\n\c ____________________________________________________________________________ ~Subject: F9. How do I access the NeXT's Digital Websters Dictionary from a program? Get Jiro Nakamura's define program from the archiver servers: define.tar.Z. This will allow you to access the database from the command line. [Carl Edman ] adds: 'define' breaks under 3.0. ____________________________________________________________________________ ~Subject: F10. How do I remap the \ and | keys on my keyboard? NeXT introduced a new keyboard configuration with the 040 products. The \| keys which had been located on the main keyboard was moved to the numeric keypad. Many users have since complained about it, and a work around is to remap these keys using the demo application Keyboard (/NextDeveloper/Demos/Keyboard), Mike Carlton's keyboardfix program: cs.orst.edu:/pub/next/sources/next-interface/keyboardfix.tar.Z ...which lets you put these keys on shift-return or shift-delete. One can hope that there will be a choice of keyboards in the future. ____________________________________________________________________________ ~Subject: F11. Why doesn't email registration to Mathematica work? There is a bug with this option where the mail instead of being sent to Wolfram is stored in /tmp/email.message. This file seems to be suitable for mailing to register@wri.com ____________________________________________________________________________ ~Subject: F12. How do I stop NeXTMail/Sendmail adding\ ^Ms onto the end of lines? In /etc/sendmail.cf make this change: [old code] ##### UUCP Mailer specification ##### Muucp, P=/usr/bin/uux, F=msDFMhuU, S=13, R=23, [new code] ##### UUCP Mailer specification ##### Muucp, P=/usr/bin/uux, F=msDFMhuU, S=13, R=23, E=\n, [From: sanguish@digifix.com] This has been fixed in 3.1, and the default mailhost sendmail is UUCP oriented. ____________________________________________________________________________ ~Subject: F13. Where can I get black spray paint for my NeXT? Sprayon Paint Omni-Packblend 4Next-Black (icon black) LAV-16 25216 Call 1-800-777-2966 for the name of a dealer near you. It's nominally $2.75/16 oz. can. ____________________________________________________________________________ ~Subject: F14. What default affects menu location? dwrite GLOBAL NXMenuX dwrite GLOBAL NXMenuY ____________________________________________________________________________ ~Subject: F15. How to get Gourmet to boot up the Mathematica 2.0 kernel? Login as root, or get root privileges running 'su', and execute the following five commands: mkdirs /NextApps/Mathematica.app/Kernel/NeXT cd /NextApps/Mathematica.app/Kernel ln -s uuuuu/Mathematica.app/Kernel/Display Utilities cd NeXT ln -s vvvvv/math mathexe where uuuuu is the directory where Mathematica.app was placed (typically, /LocalApps) and vvvvv is the directory where the executable 'math' was placed (typically, /usr/local/bin) ____________________________________________________________________________ ~Subject: F16. What dwrites affect the loginwindow? [Jess Anderson writes:] Here, I hope, is the quasi-definitive story on dwrites that affect the loginwindow. I'm indebted to several people, notably Art Isbell, Kristian Koehntopp, Dan Danz, Louie Mamakos, John Kheit, Felix Lugo, and Paul Sears, for some of the information presented here. Remember that dwrites are not supported by NeXT; they may change with any subsequent system release. These I've checked out using 3.0; some or all may work with earlier releases, but I can't vouch for most of them. All these dwrites must be done as root. You can also run as root and use DefaultMgr to set them (which is a whole lot more convenient if you're intending to fiddle with some of them). After setting the things you want, restart the WindowServer by logging out of the current session and typing exit on the login panel. OK, here's what we know (or think we do :-): dwrite loginwindow DefaultUser Most new machines have set to me. This dwrite logs in user automatically. User must not have a password set, hence *don't* use this in a networked environment! dwrite loginwindow HostName "" dwrite loginwindow HostName localhost These cause your host name to appear on the login panel. You need quote marks only if there's a space in the name. The first form hard-codes the name into root's defaults database. The second form uses whatever name has been set as localhost in NetInfo, which is convenient for networked machines. The font, size, color, and position of the printed string are not accessible (drat!). dwrite loginwindow ImageFile This uses the tiff image pointed to instead of the standard one (in /usr/lib/NextStep/loginwindow.app/English.lproj/nextlogin.tiff, .lproj as appropriate for your main language) as the login panel. Be sure you get the pointer right, though, or you'll have to boot single-user to fix it. In practical terms, the image is constrained in various ways I won't detail here. dwrite loginwindow TimeToDim No relation to the dim time set by Preferences. The units are odd, I think. Felix reported them as 1/34 second. However, when I changed it to 1020, I got 15 seconds to dimming, and 680 gives 10 seconds, that I'm sure of. So I think the units are 1/68 second. Maybe Felix just thought it was too damn long! We all know it *seems* longer when you're not having fun waiting. :-) Whatever, the login screen dims to about half after this length of time. dwrite loginwindow MoveWhenIdle YES This causes the panel to move around approximately in Backspace bouncing-off-the-walls-tiff fashion. The point is to avoid burning the screen phosphors, as a static image would tend to do. The animation is controlled by the next couple dwrites. dwrite loginwindow MovementTimeout The units are seconds. The panel starts moving (assuming the preceding is set to YES) after this time. If you set it to be less than the TimeToDim time, the movement starts before the dimming occurs. I did not try zero. I can't stand waiting around for things to happen, so I use 10 seconds for both times. The default appears to be 5 minutes. dwrite loginwindow MovementScale No movement occurs if this is set to 1. But it looks like the units might be approximately pixels for each change of position (the frequency of which is controlled by the next dwrite). If you put a big number here, say 200, the image moves in big jumps, but I don't know if the 200 is divided up somehow between change in x- and y-coordinates. I wouldn't worry about it much, just set it to something you like. Since my image contains readable text, I want it to scroll smoothly around, so I use the apparently minimum value, 2. The default appears to be 10. dwrite loginwindow MovementRate The units are seconds. The image jumps by the amount above every this many seconds. The default is 0.0666 seconds. Bigger numbers mean slower motion. Since I don't like things being too jumpy or zooming around, I set this to 0.1 seconds. This makes my image ooze at a pace befitting an elderly person like me. dwrite loginwindow PowerOffDisabled YES This makes it a little harder to turn the machine off; you have to use the monitor or the minimonitor (-~) if it's set, rather than the key. dwrite loginwindow LoginHook dwrite loginwindow LogoutHook Pointers to the login and logout hooks, if used. It should be pointed out that some of these things (login/logout hooks, for example) are maybe more logically set where the loginwindow is invoked by the WindowServer, namely /etc/ttys. There are yet others. Here's the full list (thanks, Art): NXGetDefaultValue("loginwindow", "DebugHook") => 0x0 NXGetDefaultValue("loginwindow", "DryRun") => 0x0 NXGetDefaultValue("loginwindow", "WindowServerTimeout") => 0x0 NXRegisterDefaults("loginwindow", 0x16024) KeyMapPath: 0x12d97 "~/Library/Keyboards:/LocalLibrary/Keyboards:/NextLibrary/Keyboards" Keymap: 0x12de1 "/NextLibrary/Keyboards/USA" SwappedKeymap: 0x12e0a "No" LoginHook: 0x0 LogoutHook: 0x0 HostName: 0x0 ImageFile: 0x0 DefaultUser: 0x12e41 "me" PowerOffDisabled: 0x0 TimeToDim: 0x12e69 "2040" MoveWhenIdle: 0x12e0a "No" MovementTimeout: 0x12e8b "300.0" MovementRate: 0x12e9e "0.06666" MovementScale: 0x12eb4 "10" [Christopher J. Kane kane@cs.purdue.edu] Under NeXTSTEP 3.1, the login window has two buttons labeled "Reboot" and "Power" that allow a user to reboot and power down from the login window. In a public lab, this feature may be undesirable. The PowerOffDisabled default can be used to disable the buttons, but they are still shown in the window and push in when clicked (a bad user interface decision, IMHO). The program below patches the loginwindow.app to eradicate the restart and power buttons. It makes the loginwindow.app's LoginButton class instance method initWithImage:altImage:andString: a no-op (just return nil). This patch has been applied to the machines in the NeXT lab at Purdue (like sonata.cc.purdue.edu for instance), and no adverse effects have been noted. This program must be run as root, since it writes to the file /usr/lib/NextStep/loginwindow.app/loginwindow. An archive with a compiled executable has been submitted to sonata.cc.purdue.edu. -----cut here----------cut here----------cut here----- /* * Patches the loginwindow.app to eradicate the restart and power * buttons from the login window. * * Christopher J. Kane (kane@cs.purdue.edu) * Released into public domain; August 13, 1993. */ #include #include void main(int argc, char *argv[]) { unsigned char patch[8] = {0x0, 0x0, 0x42, 0x80, 0x4e, 0x5e, 0x4e, 0x75}; int file = open("/usr/lib/NextStep/loginwindow.app/loginwindow", O_WRONLY); if (-1==file) goto error; if (-1==lseek(file, 21170, SEEK_SET)) goto error; if (-1==write(file, patch, 8)) goto error; if (-1==close(file)) goto error; exit(0); error: fprintf(stderr, "%s: %s\n", argv[0], strerror(errno)); exit(1); } ____________________________________________________________________________ ~Subject: F17: How does one set UNIX man pages to be viewed in nroff format with DL like the standard manual pages? M17 is only applicable to NeXTStep 2.x. Beyond looking in the man pages under ixBuild, etc., what you want to do is put a few files (contents listed below file name) the .index directory: .roffArgs: -man displayCommand: tbl %s | nroff -man ixBuildOptions: -fman -Nwhatis -Ncat[1-8ln] -V Other options that people suggested for ixBuildOptions: -fman -Nwhatis -Ncat[1-8] -V /usr/local/man -fman -Nwhatis -V /usr/local/man/man* I don't think you need to explicitly name the directory in the first alternative, but you do in the second unless you want the cat* directories indexed as well. Note: Do NOT leave a trailing return after the line in ixBuildOptions; DL will barf. (I think someone said that, as shipped, the standard man .index/ ixBuildOptions had this problem.) [From: Eric D. Engstrom ] Can anyone tell me what the command line for this might be under NS 3.0? Short answer: RTM on ixbuild(1) - specifically the parameter "-g". In addition, I'd like to inform the newsgroup of a simple hack I setup on my own machine to create a unified DL target for all UN*X Manual pages (including system, local, gnu, whatever). This was easier under 2.x because IXBuild (pre IXKit) had more hacks in it... Basically, you need to setup a directory with sym-links to the various man-page directories; For example: (397)basilisk% pwd /LocalLibrary/Documentation/ManPages (398)basilisk% ls -alg total 728 drwxrwxr-x 2 eric wheel 1024 Mar 28 18:03 ./ drwxrwxr-x 11 root wheel 1024 Mar 27 00:41 ../ -rw-r--r-- 1 eric wheel 370 Feb 27 22:01 .README -rw-rw-r-- 1 eric wheel 872 Feb 27 17:11 .dir.tiff -rw-rw-r-- 1 eric wheel 20 Feb 27 17:11 .displayCommand -rw-rw-r-- 1 eric wheel 47 Feb 27 17:10 .index.iname -rw-rw-r-- 1 eric wheel 6 Feb 27 17:10 .index.itype -rw-r--r-- 1 eric wheel 729088 Mar 28 18:44 .index.store -rw-rw-r-- 1 eric wheel 5 Feb 27 17:11 .roffArgs lrwxrwxrwx 1 eric wheel 18 Feb 27 17:53 gnu -> /usr/local/gnu/man/@ lrwxrwxrwx 1 eric wheel 14 Feb 27 17:53 local -> /usr/local/man/@ lrwxrwxrwx 1 eric wheel 9 Feb 27 17:53 news -> /news/man/@ lrwxrwxrwx 1 eric wheel 35 Feb 27 17:53 system -> /usr/man/@ (399)basilisk% Notice that I also copied all the ".[a-z]*" files from the /usr/man/ directory as well. Then, use ixbuild -gl to (re)build the index. If your any of the links point to directories on other devices, add "d" to "-gl". "-v" will give you verbose output (like my writing style ;-). RTM under ixbuild(1) for more info. Unfortunantly, once the index is built, I've never successfully gotten DL to update it correctly. Instead I have to do it by hand using "ixbuild -ogldvc" (actualy, I setup a cron job to reindex weekly.) If you have troubles, try removing the .index.store file and rebuilding the entire database. I've had intermittent problems with ixbuild under 3.0. ____________________________________________________________________________ ~Subject: F18: Can I automatically have my ~/.signature file appended to mail I send with Mail.app? I want to automatically add additional header lines to mail going out from Mail.app (such as Reply-To or X-faces headers). Can this be done? [Carl Edman ] adds: Yes, on both counts. First create a simple text file the following content: #!/bin/sh { if test -r ${HOME}/.add-header; then cat ${HOME}/.add-header; fi cat - if test -r ${HOME}/.signature; then echo "--"; cat ${HOME}/.signature; fi }| /usr/lib/sendmail "$@" A good name for this file would be "sendmail-addheader". If you want to and can install it for system-wide use put this file in e.g. /usr/lib. Otherwise your private ~/Unix/bin directory is also fine. Make certain that this file has execute permission. To set that, use e.g. "chmod 755 /usr/lib/sendmail-addheader". Next, open up the preferences panel in Mail.app. Switch to the expert options. Change the Mailer option from "/usr/lib/sendmail" (which it should originally be) to "/usr/lib/sendmail-addheader" (or whatever the name of the file you created is). OK this and you should be set. >From now on your ~/.signature file should always be appended to all mail sent out with Mail.app. In addition if you have a file called add-header in your home-directory it should automatically be prepended to your outgoing mail. To implement a reply-to line, you would simply give it the following content: Reply-to: My Real Human Name IMPORTANT: Make certain that you have one and exactly one newline at the end of ~/.add-header. Anything might break outgoing mail. Beware ! BUG: The ~/.signature file is not added properly for NeXT mail containing attachments. The headers will still be added properly. This could be fixed but probably is more of a hassle than it is worth. ____________________________________________________________________________ ~Subject: F19: How can I quickly find a file if I don't know it's directory? The Unix 'find' command on the NeXT has the capability of quickly searching a database of all the files. This database is located in /etc/find.codes and has to be generated periodically. You can automatically generate this database, say twice a week at 3:15 a.m., by adding this line to your file /etc/crontab.local (you might have to create this file). 15 03 * * 2,5 root /usr/lib/find/updatedb > /usr/adm/updatedb.err After this has run, you can quickly find any file from a terminal by typing find pattern where pattern is a part of the file name you want (it is case-sensitive). [Carl Edman ] adds: Find still works under 3.0, but 'pattern' now has to match the entire filename (including the path) for a match to be recognized i.e. where under 2.x you would have: % find foobar Under 3.0 you: % find '*foobar*' (The "'" are neccessary to prevent the shell from expanding the wildcards itself). [From: sanguish@digifix.com] There is also a Find panel in 3.1 ____________________________________________________________________________ ~Subject: F20: Mail.app suddenly stopped working. When I double-click the Mail.app icon it loads and seems to start but then just terminates. How can I fix this ? [Carl Edman ] Usually the problem is caused by Mail.app being terminated with extreme prejudice such as by a power outage or 'kill -9'. Under those circumstances Mail.app may leave a lock file in your active mailbox. Due to a bug 3.0 Mail.app doesn't ask for permission to override this lock when started up again but just dies. Open a shell and look in ~/Mailboxes/Active.mbox. If this directory contains a file called .lock you have found the culprit. You can safely remove this file. ____________________________________________________________________________ ~Subject: F21: For some reason, after moving my home directory, my recyler no longer works? [From: eric%basilisk@src.honeywell.com (Eric D. Engstrom)] Basically, when you dump a file in the recycler, the workspace manager (attempts) to move it to one of the following locations: (note: no order implied here, 'cause I'm unsure of the actual order used) - $HOME/.NeXT/.NextTrash (Should always exist; unsure what happens if it doesn't) - /tmp/.NextTrash_$USER Automatically created if non-existent) - $MNT-POINT/.NextTrash/$USER (.NextTrash NOT automatically created if non-existent) Also, the workspace requires that the trash directory into which it puts the to-be-deleted file be on the same disk partition that the file originally came from (for speed, I assume). Also, an example of the permissions for the external disk .NextTrash directory (which is not automatically created) should be : (52)basilisk% ls -aldg /private/mnt2/local/.NextTrash drwxrwxrwt 3 root 1024 Dec 5 09:36 /private/mnt2/local/.NextTrash/ Notes: - /private/mnt2/local is the mount point. - do "chmod 1777 .NextTrash" to get the permissions right. Thus, if you moved your home directory from one partition to another, the one you left may not have a "recycler-repository" to use. _Use of uninitialized value in concatenation (.) or string at E:\listplex\SYSTEM\SCRIPTS\filearea.cgi line 455, line 862. ___________________________________________________________________________ Editor: nathan@laplace.csb.yale.edu -- Nathan Janette Voice: 203 432 5065 Systems Manager Fax: 203 432 3923 Brunger Lab Internet: nathan@laplace.csb.yale.edu Yale Univ Dept MB&B/HHMI "I'm a NeXTstep Man, I'm a NeXTcube Guy"