home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / question / 13771 < prev    next >
Encoding:
Text File  |  1992-11-22  |  70.7 KB  |  1,906 lines

  1. Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!rutgers!cmcl2!adm!news
  2. From: postmaster@ntsc-rd.navy.mil (SMTP MAILER)
  3. Newsgroups: comp.unix.questions
  4. Subject: Mail not delivered yet, still trying
  5. Message-ID: <34198@adm.brl.mil>
  6. Date: 22 Nov 92 17:57:36 GMT
  7. Sender: news@adm.brl.mil
  8. Lines: 1896
  9.  
  10.  
  11.  ----Mail status follows----
  12. Have been unable to send your mail to <rubel@ntsc-rd.navy.mil>,
  13. will keep trying for a total of three days.
  14. At that time your mail will be returned.
  15.  
  16.  ----Transcript of message follows----
  17. Date: 21 Nov 92 10:56:00 EST
  18. From: info-unix@BRL.MIL
  19. Subject: INFO-UNIX Digest  V17#002
  20. To: "rubel" <rubel@ntsc-rd.navy.mil>
  21. cc: "slosser" <slosser@ntsc-rd.navy.mil>
  22.  
  23. Return-Path: <info-unix-request@sem.brl.mil>
  24. Received: from SEM.BRL.MIL by ntsc-rd.navy.mil with SMTP ; 
  25.           Sat, 21 Nov 92 10:52:59 EST
  26. Received: from SEM.BRL.MIL by SEM.BRL.MIL id aa23909; 21 Nov 92 6:04 EST
  27. Received: from sem.brl.mil by SEM.BRL.MIL id aa23669; 21 Nov 92 5:43 EST
  28. Date:       Sat, 21 Nov 92 10:43:46 EST
  29. From:       The Moderator (Mike Muuss) <Info-Unix-Request@BRL.MIL>
  30. To:         INFO-UNIX@BRL.MIL
  31. Reply-To:   INFO-UNIX@BRL.MIL
  32. Subject:    INFO-UNIX Digest  V17#002
  33. Message-ID:  <9211210543.aa23669@SEM.BRL.MIL>
  34.  
  35. INFO-UNIX Digest          Sat, 21 Nov 1992              V17#002
  36.  
  37. Today's Topics:
  38.      Frequently Asked Questions about Unix (4/7) [Biweekly posting]
  39.                         Re: IS UNIX DEAD (long)
  40.                              IS UNIX DEAD?
  41.                            Re: IS UNIX DEAD?
  42.                 Re: Whence Unix? (was Re: IS UNIX DEAD?)
  43.                       simple bulletin board wanted
  44.                 Sun 386i and multiple disks???  Argh!!!
  45.                           Postscript in Latex
  46.                         Re: Postscript in Latex
  47.                         Re: IS UNIX DEAD? (long)
  48.                     Configuring dial-up for SUN 3/60
  49.                      Has anyone installed uniquid?
  50.                         Telnet as a term program
  51.                               sed puzzler
  52.                     Re: configuring xntpd for HP-UX
  53.                          Need info on X Courses
  54.                         Directory tree with pic
  55.                           Time synchronization
  56.                     Re: UNIX --> DOS remote printing
  57.                   C++ Debugger for Motif  -----> HELP
  58.                              scan question
  59.                                 rn help
  60.              Can linux run on IBM PS/60? any other can do?
  61.                                   Re:
  62.             How do I REALLY setup for 'cu' and 'uucico' use?
  63.                              modem question
  64.                              ESIX feedback
  65.                Is there a nice menuing system available?
  66.           Printing Postscript thumbnails?  Mpage doesn't work.
  67.                                  SetUID
  68. -----------------------------------------------------------------
  69.  
  70. From: Ted M A Timar <tmatimar@empress.com>
  71. Subject: Frequently Asked Questions about Unix (4/7) [Biweekly posting]
  72. Date: 6 Nov 92 06:01:05 GMT
  73. Expires: 4 Dec 1992 06:00:17 GMT
  74. Followup-To: comp.unix.questions
  75. Approved: news-answers-request@MIT.Edu
  76. Supersedes: <unix-faq/part4_719816413@athena.mit.edu>
  77. NNTP-Posting-Host: pit-manager.mit.edu
  78. X-Last-Updated: 1992/10/21
  79. To:       info-unix@sem.brl.mil
  80.  
  81. Archive-name: unix-faq/part4
  82. Version: $Id: part4,v 2.0 92/10/20 12:07:10 tmatimar Exp $
  83.  
  84. These seven articles contain the answers to some Frequently Asked
  85. Questions often seen in comp.unix.questions and comp.unix.shell.
  86. Please don't ask these questions again, they've been answered plenty
  87. of times already - and please don't flame someone just because they may
  88. not have read this particular posting.  Thank you.
  89.  
  90. These articles are divided approximately as follows:
  91.  
  92.       1.*) General questions.
  93.       2.*) Relatively basic questions, likely to be asked by beginners.
  94.       3.*) Intermediate questions.
  95.       4.*) Advanced questions, likely to be asked by people who thought
  96.        they already knew all of the answers.
  97.       5.*) Questions pertaining to the various shells, and the differences.
  98.       6.*) An overview of Unix variants.
  99.       7.*) An comparison of configuration management systems (RCS, SCCS).
  100.  
  101. This article includes answers to:
  102.  
  103.       4.1)  How do I read characters from a terminal without requiring the user
  104.               to hit RETURN?
  105.       4.2)  How do I check to see if there are characters to be read without
  106.               actually reading?
  107.       4.3)  How do I find the name of an open file?
  108.       4.4)  How can an executing program determine its own pathname?
  109.       4.5)  How do I use popen() to open a process for reading AND writing?
  110.       4.6)  How do I sleep() in a C program for less than one second?
  111.       4.7)  How can I get setuid shell scripts to work?
  112.       4.8)  How can I find out which user or process has a file open or is using
  113.             a particular file system (so that I can unmount it?)
  114.       4.9)  How do I keep track of people who are fingering me?
  115.       4.10) Is it possible to reconnect a process to a terminal after it has
  116.             been disconnected, e.g. after starting a program in the background
  117.             and logging out?
  118.       4.11) Is it possible to "spy" on a terminal, displaying the output
  119.             that's appearing on it on another terminal?
  120.  
  121. If you're looking for the answer to, say, question 4.5, and want to skip
  122. everything else, you can search ahead for the regular expression "^4.5)".
  123.  
  124. While these are all legitimate questions, they seem to crop up in
  125. comp.unix.questions or comp.unix.shell on an annual basis, usually
  126. followed by plenty of replies (only some of which are correct) and then
  127. a period of griping about how the same questions keep coming up.  You
  128. may also like to read the monthly article "Answers to Frequently Asked
  129. Questions" in the newsgroup "news.announce.newusers", which will tell
  130. you what "UNIX" stands for.
  131.  
  132. With the variety of Unix systems in the world, it's hard to guarantee
  133. that these answers will work everywhere.  Read your local manual pages
  134. before trying anything suggested here.  If you have suggestions or
  135. corrections for any of these answers, please send them to to
  136. tmatimar@empress.com.
  137.  
  138. 4.1)  How do I read characters from a terminal without requiring the user
  139.       to hit RETURN?
  140.  
  141.       Check out cbreak mode in BSD, ~ICANON mode in SysV.
  142.  
  143.       If you don't want to tackle setting the terminal parameters
  144.       yourself (using the "ioctl(2)" system call) you can let the stty
  145.       program do the work - but this is slow and inefficient, and you
  146.       should change the code to do it right some time:
  147.  
  148.       #include <stdio.h>
  149.       main()
  150.       {
  151.         int c;
  152.  
  153.         printf("Hit any character to continue\n");
  154.         /*
  155.          * ioctl() would be better here; only lazy
  156.          * programmers do it this way:
  157.          */
  158.         system("/bin/stty cbreak");        /* or "stty raw" */
  159.         c = getchar();
  160.         system("/bin/stty -cbreak");
  161.         printf("Thank you for typing %c.\n", c);
  162.  
  163.         exit(0);
  164.       }
  165.  
  166.       You might like to check out the documentation for the "curses"
  167.       library of portable screen functions.  Often if you're interested
  168.       in single-character I/O like this, you're also interested in
  169.       doing some sort of screen display control, and the curses library
  170.       provides various portable routines for both functions.
  171.  
  172. 4.2)  How do I check to see if there are characters to be read without
  173.       actually reading?
  174.  
  175.       Certain versions of UNIX provide ways to check whether characters
  176.       are currently available to be read from a file descriptor.  In
  177.       BSD, you can use select(2).  You can also use the FIONREAD ioctl
  178.       (see tty(4)), which returns the number of characters waiting to
  179.       be read, but only works on terminals, pipes and sockets.  In
  180.       System V Release 3, you can use poll(2), but that only works on
  181.       streams.  In Xenix - and therefore Unix SysV r3.2 and later - the
  182.       rdchk() system call reports whether a read() call on a given file
  183.       descriptor will block.
  184.  
  185.       There is no way to check whether characters are available to be
  186.       read from a FILE pointer.  (You could poke around inside stdio
  187.       data structures to see if the input buffer is nonempty, but that
  188.       wouldn't work since you'd have no way of knowing what will happen
  189.       the next time you try to fill the buffer.)
  190.  
  191.       Sometimes people ask this question with the intention of writing
  192.         if (characters available from fd)
  193.             read(fd, buf, sizeof buf);
  194.       in order to get the effect of a nonblocking read.  This is not
  195.       the best way to do this, because it is possible that characters
  196.       will be available when you test for availability, but will no
  197.       longer be available when you call read.  Instead, set the
  198.       O_NDELAY flag (which is also called FNDELAY under BSD) using the
  199.       F_SETFL option of fcntl(2).  Older systems (Version 7, 4.1 BSD)
  200.       don't have O_NDELAY; on these systems the closest you can get to
  201.       a nonblocking read is to use alarm(2) to time out the read.
  202.  
  203. 4.3)  How do I find the name of an open file?
  204.  
  205.       In general, this is too difficult.  The file descriptor may
  206.       be attached to a pipe or pty, in which case it has no name.
  207.       It may be attached to a file that has been removed.  It may
  208.       have multiple names, due to either hard or symbolic links.
  209.  
  210.       If you really need to do this, and be sure you think long
  211.       and hard about it and have decided that you have no choice,
  212.       you can use find with the -inum and possibly -xdev option,
  213.       or you can use ncheck, or you can recreate the functionality
  214.       of one of these within your program.  Just realize that
  215.       searching a 600 megabyte filesystem for a file that may not
  216.       even exist is going to take some time.
  217.  
  218. 4.4)  How can an executing program determine its own pathname?
  219.  
  220.       Your program can look at argv[0]; if it begins with a "/", it is
  221.       probably the absolute pathname to your program, otherwise your
  222.       program can look at every directory named in the environment
  223.       variable PATH and try to find the first one that contains an
  224.       executable file whose name matches your program's argv[0] (which
  225.       by convention is the name of the file being executed).  By
  226.       concatenating that directory and the value of argv[0] you'd
  227.       probably have the right name.
  228.  
  229.       You can't really be sure though, since it is quite legal for one
  230.       program to exec() another with any value of argv[0] it desires.
  231.       It is merely a convention that new programs are exec'd with the
  232.       executable file name in argv[0].
  233.  
  234.       For instance, purely a hypothetical example:
  235.     
  236.     #include <stdio.h>
  237.     main()
  238.     {
  239.         execl("/usr/games/rogue", "vi Thesis", (char *)NULL);
  240.     }
  241.  
  242.       The executed program thinks its name (its argv[0] value) is
  243.       "vi Thesis".   (Certain other programs might also think that
  244.       the name of the program you're currently running is "vi Thesis",
  245.       but of course this is just a hypothetical example, don't
  246.       try it yourself :-)
  247.  
  248. 4.5)  How do I use popen() to open a process for reading AND writing?
  249.  
  250.       The problem with trying to pipe both input and output to an
  251.       arbitrary slave process is that deadlock can occur, if both
  252.       processes are waiting for not-yet-generated input at the same
  253.       time.  Deadlock can be avoided only by having BOTH sides follow a
  254.       strict deadlock-free protocol, but since that requires
  255.       cooperation from the processes it is inappropriate for a
  256.       popen()-like library function.
  257.  
  258.       The 'expect' distribution includes a library of functions that a
  259.       C programmer can call directly.  One of the functions does the
  260.       equivalent of a popen for both reading and writing.  It uses ptys
  261.       rather than pipes, and has no deadlock problem.  It's portable to
  262.       both BSD and SV.  See the next answer for more about 'expect'.
  263.  
  264. 4.6)  How do I sleep() in a C program for less than one second?
  265.  
  266.       The first thing you need to be aware of is that all you can
  267.       specify is a MINIMUM amount of delay; the actual delay will
  268.       depend on scheduling issues such as system load, and could be
  269.       arbitrarily large if you're unlucky.
  270.  
  271.       There is no standard library function that you can count on in
  272.       all environments for "napping" (the usual name for short
  273.       sleeps).  Some environments supply a "usleep(n)" function which
  274.       suspends execution for n microseconds.  If your environment
  275.       doesn't support usleep(), here are a couple of implementations
  276.       for BSD and System V environments.
  277.  
  278.       The following code is adapted from Doug Gwyn's System V emulation
  279.       support for 4BSD and exploits the 4BSD select() system call.
  280.       Doug originally called it 'nap()'; you probably want to call it
  281.       "usleep()";
  282.  
  283.       /*
  284.         usleep -- support routine for 4.2BSD system call emulations
  285.         last edit:    29-Oct-1984    D A Gwyn
  286.       */
  287.  
  288.       extern int    select();
  289.  
  290.       int
  291.       usleep( usec )                /* returns 0 if ok, else -1 */
  292.         long        usec;        /* delay in microseconds */
  293.         {
  294.         static struct            /* `timeval' */
  295.             {
  296.             long    tv_sec;        /* seconds */
  297.             long    tv_usec;    /* microsecs */
  298.             }    delay;        /* _select() timeout */
  299.  
  300.         delay.tv_sec = usec / 1000000L;
  301.         delay.tv_usec = usec % 1000000L;
  302.  
  303.         return select( 0, (long *)0, (long *)0, (long *)0, &delay );
  304.         }
  305.  
  306.       On System V you might do it this way:
  307.  
  308.       /*
  309.       subseconds sleeps for System V - or anything that has poll()
  310.       Don Libes, 4/1/1991
  311.  
  312.       The BSD analog to this function is defined in terms of
  313.       microseconds while poll() is defined in terms of milliseconds.
  314.       For compatibility, this function provides accuracy "over the long
  315.       run" by truncating actual requests to milliseconds and
  316.       accumulating microseconds across calls with the idea that you are
  317.       probably calling it in a tight loop, and that over the long run,
  318.       the error will even out.
  319.  
  320.       If you aren't calling it in a tight loop, then you almost
  321.       certainly aren't making microsecond-resolution requests anyway,
  322.       in which case you don't care about microseconds.  And if you did,
  323.       you wouldn't be using UNIX anyway because random system
  324.       indigestion (i.e., scheduling) can make mincemeat out of any
  325.       timing code.
  326.  
  327.       Returns 0 if successful timeout, -1 if unsuccessful.
  328.  
  329.       */
  330.  
  331.       #include <poll.h>
  332.  
  333.       int
  334.       usleep(usec)
  335.       unsigned int usec;        /* microseconds */
  336.       {
  337.         static subtotal = 0;    /* microseconds */
  338.         int msec;            /* milliseconds */
  339.  
  340.         /* 'foo' is only here because some versions of 5.3 have
  341.          * a bug where the first argument to poll() is checked
  342.          * for a valid memory address even if the second argument is 0.
  343.          */
  344.         struct pollfd foo;
  345.  
  346.         subtotal += usec;
  347.         /* if less then 1 msec request, do nothing but remember it */
  348.         if (subtotal < 1000) return(0);
  349.         msec = subtotal/1000;
  350.         subtotal = subtotal%1000;
  351.         return poll(&foo,(unsigned long)0,msec);
  352.       }
  353.  
  354.       Another possibility for nap()ing on System V, and probably other
  355.       non-BSD Unices is Jon Zeeff's s5nap package, posted to
  356.       comp.sources.misc, volume 4.  It does require a installing a
  357.       device driver, but works flawlessly once installed.  (Its
  358.       resolution is limited to the kernel HZ value, since it uses the
  359.       kernel delay() routine.)
  360.  
  361. 4.7)  How can I get setuid shell scripts to work?
  362.  
  363.       [ This is a long answer, but it's a complicated and frequently-asked
  364.         question.  Thanks to Maarten Litmaath for this answer, and
  365.         for the "indir" program mentioned below. ]
  366.  
  367.       Let us first assume you are on a UNIX variant (e.g. 4.3BSD or
  368.       SunOS) that knows about so-called `executable shell scripts'.
  369.       Such a script must start with a line like:
  370.  
  371.     #!/bin/sh
  372.  
  373.       The script is called `executable' because just like a real (binary)
  374.       executable it starts with a so-called `magic number' indicating
  375.       the type of the executable.  In our case this number is `#!' and
  376.       the OS takes the rest of the first line as the interpreter for
  377.       the script, possibly followed by 1 initial option like:
  378.  
  379.     #!/bin/sed -f
  380.  
  381.       Suppose this script is called `foo' and is found in /bin,
  382.       then if you type:
  383.  
  384.     foo arg1 arg2 arg3
  385.  
  386.       the OS will rearrange things as though you had typed:
  387.  
  388.     /bin/sed -f /bin/foo arg1 arg2 arg3
  389.  
  390.       There is one difference though: if the setuid permission bit for
  391.       `foo' is set, it will be honored in the first form of the
  392.       command; if you really type the second form, the OS will honor
  393.       the permission bits of /bin/sed, which is not setuid, of course.
  394.  
  395.       ----------
  396.  
  397.       OK, but what if my shell script does NOT start with such a `#!'
  398.       line or my OS does not know about it?
  399.  
  400.       Well, if the shell (or anybody else) tries to execute it, the OS
  401.       will return an error indication, as the file does not start with
  402.       a valid magic number.  Upon receiving this indication the shell
  403.       ASSUMES the file to be a shell script and gives it another try:
  404.  
  405.     /bin/sh shell_script arguments
  406.  
  407.       But we have already seen that a setuid bit on `shell_script' will
  408.       NOT be honored in this case!
  409.  
  410.       ----------
  411.  
  412.       Right, but what about the security risks of setuid shell scripts?
  413.  
  414.       Well, suppose the script is called `/etc/setuid_script', starting
  415.       with:
  416.  
  417.     #!/bin/sh
  418.     
  419.       Now let us see what happens if we issue the following commands:
  420.  
  421.     $ cd /tmp
  422.     $ ln /etc/setuid_script -i
  423.     $ PATH=.
  424.     $ -i
  425.  
  426.       We know the last command will be rearranged to:
  427.  
  428.     /bin/sh -i
  429.  
  430.       But this command will give us an interactive shell, setuid to the
  431.       owner of the script!
  432.       Fortunately this security hole can easily be closed by making the
  433.       first line:
  434.  
  435.     #!/bin/sh -
  436.  
  437.       The `-' signals the end of the option list: the next argument `-i'
  438.       will be taken as the name of the file to read commands from, just
  439.       like it should!
  440.  
  441.       ---------
  442.  
  443.       There are more serious problems though:
  444.  
  445.     $ cd /tmp
  446.     $ ln /etc/setuid_script temp
  447.     $ nice -20 temp &
  448.     $ mv my_script temp
  449.  
  450.       The third command will be rearranged to:
  451.  
  452.     nice -20 /bin/sh - temp
  453.  
  454.       As this command runs so slowly, the fourth command might be able
  455.       to replace the original `temp' with `my_script' BEFORE `temp' is
  456.       opened by the shell!  There are 4 ways to fix this security hole:
  457.  
  458.     1)  let the OS start setuid scripts in a different, secure way
  459.         - System V R4 and 4.4BSD use the /dev/fd driver to pass the
  460.         interpreter a file descriptor for the script
  461.  
  462.     2)  let the script be interpreted indirectly, through a frontend
  463.         that makes sure everything is all right before starting the
  464.         real interpreter - if you use the `indir' program from
  465.         comp.sources.unix the setuid script will look like this:
  466.  
  467.         #!/bin/indir -u
  468.         #?/bin/sh /etc/setuid_script
  469.  
  470.     3)  make a `binary wrapper': a real executable that is setuid and
  471.         whose only task is to execute the interpreter with the name of
  472.         the script as an argument
  473.  
  474.     4)  make a general `setuid script server' that tries to locate the
  475.         requested `service' in a database of valid scripts and upon
  476.         success will start the right interpreter with the right
  477.         arguments.
  478.  
  479.       ---------
  480.  
  481.       Now that we have made sure the right file gets interpreted, are
  482.       there any risks left?
  483.  
  484.       Certainly!  For shell scripts you must not forget to set the PATH
  485.       variable to a safe path explicitly.  Can you figure out why?
  486.       Also there is the IFS variable that might cause trouble if not
  487.       set properly.  Other environment variables might turn out to
  488.       compromise security as well, e.g. SHELL...  Furthermore you must
  489.       make sure the commands in the script do not allow interactive
  490.       shell escapes!  Then there is the umask which may have been set
  491.       to something strange...
  492.  
  493.       Etcetera.  You should realise that a setuid script `inherits' all
  494.       the bugs and security risks of the commands that it calls!
  495.  
  496.       All in all we get the impression setuid shell scripts are quite a
  497.       risky business!  You may be better off writing a C program instead!
  498.  
  499. 4.8)  How can I find out which user or process has a file open or is using
  500.       a particular file system (so that I can unmount it?)
  501.  
  502.       Use fuser (system V), fstat (BSD), ofiles (public domain) or
  503.       pff (public domain).  These programs will tell you various things
  504.       about processes using particular files.
  505.  
  506.       A port of the 4.3 BSD fstat to Dynix, SunOS and Ultrix
  507.       can be found in archives of comp.sources.unix, volume 18.
  508.  
  509.       pff is part of the kstuff package, and works on quite a few systems.
  510.       Instructions for obtaining kstuff are provided in question 3.10.
  511.  
  512. 4.9)  How do I keep track of people who are fingering me?
  513.  
  514.       Generally, you can't find out the userid of someone who is
  515.       fingering you from a remote machine.  You may be able to
  516.       find out which machine the remote request is coming from.
  517.       One possibility, if your system supports it and assuming
  518.       the finger daemon doesn't object, is to make your .plan file a
  519.       "named pipe" instead of a plain file.  (Use 'mknod' to do this.)
  520.  
  521.       You can then start up a program that will open your .plan file
  522.       for writing; the open will block until some other process (namely
  523.       fingerd) opens the .plan for reading.  Now you can whatever you
  524.       want through this pipe, which lets you show different .plan
  525.       information every time someone fingers you.
  526.  
  527.       Of course, this may not work at all if your system doesn't
  528.       support named pipes or if your local fingerd insists
  529.       on having plain .plan files.
  530.  
  531.       Your program can also take the opportunity to look at the output
  532.       of "netstat" and spot where an incoming finger connection is
  533.       coming from, but this won't get you the remote user.
  534.  
  535.       Getting the remote userid would require that the remote site be
  536.       running an identity service such as RFC 931.  There are now three
  537.       RFC 931 implementations for popular BSD machines, and several
  538.       applications (such as the wuarchive ftpd) supporting the server.
  539.       For more information join the rfc931-users mailing list,
  540.       rfc931-users-request@kramden.acf.nyu.edu.
  541.  
  542.       There are two caveats relating to this answer.  The first is that
  543.       many NFS systems won't allow the recognize the named pipe
  544.       correctly.  This means that trying to read the pipe on another
  545.       machine will either block until it times out, or see it as a
  546.       zero-length file, and never print it.
  547.  
  548.       The second problem is that on many systems, fingerd checks that
  549.       the .plan file contains data (and is readable) before trying to
  550.       read it.  This will not cause remote fingers to miss your .plan
  551.       file entirely.
  552.  
  553. 4.10) Is it possible to reconnect a process to a terminal after it has
  554.       been disconnected, e.g. after starting a program in the background
  555.       and logging out?
  556.  
  557.       Most variants of Unix do not support "detaching" and "attaching"
  558.       processes, as operating systems such as VMS and Multics support.
  559.       However, there are two freely redistributable packages which can
  560.       be used to start processes in such a way that they can be later
  561.       reattached to a terminal.
  562.  
  563.       The first is "screen," which is described in the
  564.       comp.sources.unix archives as "Screen, multiple windows on a CRT"
  565.       (see the "screen-3.2" package in comp.sources.misc, volume 28.)
  566.       This package will run on at least BSD, System V r3.2 and SCO UNIX.
  567.  
  568.       The second is "pty," which is described in the comp.sources.unix
  569.       archives as a package to "Run a program under a pty session" (see
  570.       "pty" in volume 23).  pty is designed for use under BSD-like
  571.       system only.
  572.  
  573.       Neither of these packages is retroactive, i.e. you must have
  574.       started a process under screen or pty in order to be able to
  575.       detach and reattach it.
  576.  
  577. 4.11) Is it possible to "spy" on a terminal, displaying the output
  578.       that's appearing on it on another terminal?
  579.  
  580.       There are a few different ways you can do this, although none
  581.       of them is perfect:
  582.  
  583.       * kibitz allows two (or more) people to interact with a shell
  584.         (or any arbitary program).  Uses include:
  585.  
  586.     - watching or aiding another person's terminal session;
  587.     - recording a conversation while retaining the ability to
  588.       scroll backwards, save the conversation, or even edit it
  589.       while in progress;
  590.     - teaming up on games, document editing, or other cooperative
  591.       tasks where each person has strengths and weakness that
  592.       complement one another.
  593.  
  594.         kibitz comes as part of the expect distribution.  See question 3.9.
  595.  
  596.         kibitz requires permission from the person to be spyed upon.  To
  597.         spy without permission requires less pleasant approaches:
  598.  
  599.       * You can write a program that grovels through Kernel structures
  600.         and watches the output buffer for the terminal in question,
  601.         displaying characters as they are output.  This, obviously, is
  602.         not something that should be attempted by anyone who does not
  603.         have experience working with the Unix kernel.  Furthermore,
  604.         whatever method you come up with will probably be quite
  605.         non-portable.
  606.  
  607.       * If you want to do this to a particular hard-wired terminal all
  608.         the time (e.g. if you want operators to be able to check the
  609.         console terminal of a machine from other machines), you can
  610.         actually splice a monitor into the cable for the terminal.  For
  611.         example, plug the monitor output into another machine's serial
  612.         port, and run a program on that port that stores its input
  613.         somewhere and then transmits it out *another* port, this one
  614.         really going to the physical terminal.  If you do this, you have
  615.         to make sure that any output from the terminal is transmitted
  616.         back over the wire, although if you splice only into the
  617.         computer->terminal wires, this isn't much of a problem.  This is
  618.         not something that should be attempted by anyone who is not very
  619.         familiar with terminal wiring and such.
  620.  
  621. -- 
  622. Ted Timar - tmatimar@empress.com
  623. Empress Software, 3100 Steeles Ave E, Markham, Ont., Canada L3R 8T3
  624.  
  625. -----------------------------
  626.  
  627. From: Josef Moellers <mollers.pad@sni.de>
  628. Subject: Re: IS UNIX DEAD (long)
  629. Date: 6 Nov 92 11:37:36 GMT
  630. Sender: josef@uranium.sto.pdb.sni.de
  631. To:       info-unix@sem.brl.mil
  632.  
  633. In <RICH.92Nov4093932@rich.kastle.com> rich@kastle.com (Richard Krehbiel) writes:
  634.  
  635. >In article <1992Nov3.003038.12400@ultb.isc.rit.edu> axi0349@ultb.isc.rit.edu (A.X. Ivasyuk) writes:
  636.  
  637. >>   papresco@undergrad.math.waterloo.edu (Paul Prescod) wrote:
  638. >>       axi0349@ultb.rit.edu (Anatoly Ivasyuk) wrote:
  639. >>   >  > 1) Unix is case sensitive
  640. >>   [stuff deleted]
  641. >>   >Fine, then it should be like OS/2, which is case perserving but not
  642. >>   >case sensitive.  Therefore the file can be named "myFiLe" but I can
  643. >>   >access it with del myfile.
  644. >>
  645. >>   Hmmm...  Interesting proposal.  What if you have two files: "myFiLe" and
  646. >>   "myfile".  Which of these will "del myfile" delete?
  647.  
  648. >As far as OS/2 (and AmigaDOS, BTW) goes, only one file matching the
  649. >pattern (unix parlance) [Mm][Yy][Ff][Ii][Ll][Ee] can exist in a
  650. >directory.
  651.  
  652. Geez, I can't count how often I saved a version of a file by typing
  653.     mv Driver.o Driver.O
  654.     mv source.c source.C
  655.  
  656. My 2ct:
  657. UNIX doesn't have these "user friendlyness" of DOS, because it isn't DOS
  658. that's user friendly, it's the applications that were written for it.
  659. One OS is no more "user friendly" than the other.
  660.  
  661. DOS runs on el cheapo hardware (couple-o hundred $s will buy You an AT),
  662. UNIX (at least in the past) did require a somewhat bigger hardware.
  663. So, in the past, just about everyone who could program, wrote something
  664. for DOS.
  665.  
  666. If these people would change to UNIX, the UNIX surely would win.
  667. -- 
  668. | Josef Moellers        | c/o Siemens Nixdorf Informationssysteme AG  |
  669. |  USA: mollers.pad@sni-usa.com    | Abt. STO-XS 113       | Riemekestrasse   |
  670. | !USA: mollers.pad@sni.de    | Phone: (+49) 5251 835124 | D-4790 Paderborn |
  671.  
  672. -----------------------------
  673.  
  674. From: Harley Hahn <harley@engrhub.ucsb.edu>
  675. Subject: IS UNIX DEAD?
  676. Date: 9 Nov 92 08:54:20 GMT
  677. Sender: news@hub.ucsb.edu
  678. To:       info-unix@sem.brl.mil
  679.  
  680. This is number 9 in a series of 22 responses to the question:
  681.  
  682. What do you think about the Byte magazine cover that asked:
  683. IS UNIX DEAD?
  684.  
  685. (moderated by Harley Hahn)
  686.  
  687.  ----------
  688. From: sleepy!pat@bcstec.ca.boeing.com (Pat Eyler)
  689.  
  690. At risk of sounding inflammatory, Is Microsoft Dead?  with NT not 
  691. yet out the door, they are trying to fight and win the 'software 
  692. war' with a weapon like DOS.  This does not seem to be the way to 
  693. go.  Especially with such packages as Linux and 386BSD becoming 
  694. more stable, more 'feature rich', and easier to find and install  
  695. (and the price :) )....
  696.  
  697. It looks to me like Unix is alive and picking up speed. 
  698.  
  699. ==========
  700.  
  701.  
  702. -----------------------------
  703.  
  704. From: Budi Rahardjo <rahardj@ccu.umanitoba.ca>
  705. Subject: Re: IS UNIX DEAD?
  706. Date: 10 Nov 92 02:01:38 GMT
  707. Sender: news@ccu.umanitoba.ca
  708. Nntp-Posting-Host: antares.cc.umanitoba.ca
  709. To:       info-unix@sem.brl.mil
  710.  
  711. papresco@undergrad.math.waterloo.edu (Paul Prescod) writes:
  712.  
  713. >>How much is NT projected to cost?
  714.  
  715. >NT will be priced to SELL.  It depends on the competition at the time.  Right
  716. >now Bill Gates is sweating about OS/2, so it will probably be in the$200-$300
  717. >range.
  718.  
  719. Yes, but when will it be available ? Solaris 2.0 will be ready by then.
  720.  
  721. >>Support and handholding comes free on the net.  I'm seeing a number of
  722. >>places in trade magazines that offer support for Linux and BSD:
  723. >>installation, troubleshooting, consulting, and so on.  So you get the
  724. >>OS for free and pay a small fee for support.  Competitive, at least.
  725.  
  726. >Huh?  What net?  I've never heard of the net?  I just want to get a computer
  727. >to run my carpentry business on, and this guy tells  me to get a modem
  728. >and a TCP/IP connection?  Huh?  Whadda ya mean?
  729.  
  730. Then buy UnixWorld magazine, look at the ads.
  731. There's "Ready-to-Run Software, Inc." which will deliver all those
  732. publicly available software. They even have 1-800 numbers.
  733. (That's just an example).
  734.  
  735.  
  736. >I dont' know how many times I've told people, "Yes, Telix/Telemate/4dos/pkzip
  737. >is shareware, but it's actually GOOD." and they look at me with an "Who are
  738. >you kidding" look.  If nobody makes a profit from it, nobody has to improve
  739. >it.  Worse, if nobody's survival depends on it, it never has to be upgraded.
  740.  
  741. Which remind me of articles I read in comp.lang.perl, that some guy
  742. didn't want to use perl just because it's not a commercial software.
  743.  
  744. It's strange, but I found several share/freeware, pd, and gnu programs
  745. to bet better supported. Look at perl.... 
  746. If Joe User prefers a comercial program why not go with SCO or NeXTstep.
  747.  
  748. -- budi
  749. -- 
  750. Budi Rahardjo <Budi_Rahardjo@UManitoba.Ca>
  751. Unix Support - Computer Services - University of Manitoba
  752.  
  753. -----------------------------
  754.  
  755. From: "Chris A. Anderson" <caa@unify.com>
  756. Subject: Re: IS UNIX DEAD?
  757. Date: 10 Nov 92 17:22:10 GMT
  758. Sender: news@unify.com
  759. Followup-To: comp.unix.questions
  760. To:       info-unix@sem.brl.mil
  761.  
  762. In article <BxD9vM.MAJ@undergrad.math.waterloo.edu> papresco@lambert.uwaterloo.ca (Paul Prescod) writes:
  763. > It's you that doesn't have the clue:  I've said it 100 times.  We need ONE Unixish
  764. > operating system that does ALL of these things.  Telling users: Unix is great because
  765. > Nextstep is easy, and Solaris is graphical, and Linux is free will get Unix NOWHERE!!!
  766. > It's like saying Microsoft products are perfect because Excel is powerful, DOS is popular
  767. > and Windows is easy to use.  The one product has NO effect on the rest!!!
  768. > Excel is expensive, DOS is crap and Windows (well I guess that's crap too!)
  769.  
  770. Ok.  Fine.  Go do it.
  771.  
  772. Chris
  773. -- 
  774. +------------------------------------------------------------+
  775. |  Chris Anderson, Unify Corp.                caa@unify.com  |
  776. +------------------------------------------------------------+
  777.  
  778. -----------------------------
  779.  
  780. From: rivero@mdcbbs.com
  781. Subject: Re: Whence Unix? (was Re: IS UNIX DEAD?)
  782. Date: 9 Nov 92 13:04:49 GMT
  783. Nntp-Posting-Host: vxd1
  784. Nntp-Posting-User: rivero
  785. To:       info-unix@sem.brl.mil
  786.  
  787. In article <Bx9vDB.8HI@unix.amherst.edu>, twpierce@unix.amherst.edu (Tim Pierce) writes:
  788. > In article <1992Nov5.155838.12398@bilver.uucp> bill@bilver.uucp (Bill Vermillion) writes:
  789. >>In article <1992Nov2.123843.2787@global.hacktic.nl> peter@global.hacktic.nl (Peter Busser) writes:
  790. >>
  791. >>>UNIX was designed by hackers for hackers (or by programmers for programmers,
  792. >>>whichever you like best). But it is flexible, programmable, etc. so it could be
  793. >>>made to a real end-user system. And why not?
  794. >>
  795. >>I thought Unix was written by Bell as a word-processing system
  796. >>to enable them write their the phone company manuals. 
  797. > I heard that, but I also heard that Thompson's *primary* goal was to
  798. > find a machine for playing Space War.  What's the story?
  799.  
  800.   The way I heard it was that the Bell Labs had a wide variety of machines
  801. which had accumulated, and UNIX was developed so that all the different
  802. machines would have the same "front end", thereby making it easier for
  803. users to move from machine to machine. In order to make UNIX system
  804. independant, it was written in a high level language for which a compiler was
  805. avalable on all the different machines. The name UNIX was supposed to
  806. signify that it was the universal operating system. At the time, the idea of
  807. different machines having identical operating systems was not only
  808. unheard of, but considered dangerous by computer vendors. Seems that having to
  809. learn a new OS was one of the key reasons customers stayed with a vendor year
  810. after year. A universal OS made it easier for customers to look
  811. at other machines, and "horror of horrors" actually change hardware vendors!!!!
  812.  
  813.   In the long run, UNIX's portability and popularity won out. Bell labs
  814. announced their UNIX release amidst a flurry of press statements which implied
  815. that it was an officially developed Bell product, and not the result of an ad
  816. hoc "back room" effort by the programmers.
  817.  
  818.  
  819.  
  820. <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  821. |  Michael Rivero rivero@mdcbbs.com  "Middle-aged Mutant Ninja Animator" |
  822. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  823. |      If Thomas Jefferson were alive today, he'ld be ASSASSINATED!      |
  824. <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  825.  
  826. -----------------------------
  827.  
  828. From: Alan Braggins <alanb@sdl.mdcbbs.com>
  829. Subject: Re: Whence Unix? (was Re: IS UNIX DEAD?)
  830. Date: 10 Nov 92 09:00:47 GMT
  831. Nntp-Posting-Host: 134.244.153.114
  832. To:       info-unix@sem.brl.mil
  833.  
  834. >>>>> On 9 Nov 92 13:04:49 GMT, rivero@mdcbbs.com said:
  835.  
  836. >   The way I heard it was that the Bell Labs had a wide variety of machines
  837. > which had accumulated, and UNIX was developed so that all the different
  838. > machines would have the same "front end", thereby making it easier for
  839. > users to move from machine to machine. In order to make UNIX system
  840. > independant, it was written in a high level language for which a compiler was
  841. > avalable on all the different machines. The name UNIX was supposed to
  842. > signify that it was the universal operating system. At the time, the idea of
  843. > different machines having identical operating systems was not only
  844. > unheard of, but considered dangerous by computer vendors. Seems that having to
  845. > learn a new OS was one of the key reasons customers stayed with a vendor year
  846. > after year. A universal OS made it easier for customers to look
  847. > at other machines, and "horror of horrors" actually change hardware vendors!!!
  848.  
  849. From the introduction to the Unix Programmers Guide, and the introduction
  850. to K&R -
  851.  
  852. "Ken Thompson came across a DEC PDP-7 machine sitting unused..."
  853. "The features of the UNIX system...history...back to 1969."
  854. "...acquistion of a PDP-11.." "By 1972 the innovative idea of pipes... 
  855. recoded in higher level languages (first B, then C), and had been dubbed
  856. with the name UNIX (coined by Brian Kernighan)."
  857. "1971, the system began to be used for applications within AT&T Bell
  858. Laboratories, and shortly thereafter (1974) was made available at low
  859. cost and without support to colleges and universities"
  860. "In 1979 ... AT&T began offering supported versions"
  861.  
  862. "the language B, which was written by Ken Thompson in 1970 for the
  863. first UNIX system on the DEC PDP-7"
  864.  
  865.  
  866. UNIX is a registered trademark of AT&T. AT&T is a modem test command.
  867.  
  868. --
  869.      Alan Braggins, alanb@sdl.mdcbbs.com, abraggins@cix.compulink.co.uk
  870. Shape Data - A division of EDS-Scicon Limited.   Cambridge, UK +44-223-316673
  871.    "Any technology distinguishable from magic is insufficiently advanced."
  872.  "My employer does not necessarily share my views - but I'm working on it."
  873.  
  874. -----------------------------
  875.  
  876. From: "Andrew H. Lue" <andre@uts.amdahl.com>
  877. Subject: simple bulletin board wanted
  878. Date: 9 Nov 92 19:06:37 GMT
  879. To:       info-unix@sem.brl.mil
  880.  
  881. I would like to install a bulletin board on my Unix system.
  882. This would be used as a forum for technical discussion.  Most importantly,
  883. it must be accessible by a specific group of users and no one else.
  884. I do not need distributed facilities as it will run on a single computer.
  885. It would be nice if it had a straightforward user interface as some
  886. of the news readers do.
  887.  
  888. Does anyone have any recommendations?
  889.  
  890. I don't want to use a mail group because people often complain about
  891. receiving too much mail, which they often don't read.
  892. -- 
  893. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  894.  
  895.   Andrew Lue                           andre@uts.amdahl.com
  896.  
  897.   DISCLAIMER:  The content of this article is an expression
  898.                of me, not of Amdahl Corporation...
  899.                ... which is my employer, of course.
  900.  
  901. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  902.  
  903. -----------------------------
  904.  
  905. From: Ralph Seguin <gilgalad@quip.eecs.umich.edu>
  906. Subject: Sun 386i and multiple disks???  Argh!!!
  907. Date: 10 Nov 92 05:16:56 GMT
  908. Sender: "Mr. News" <news@zip.eecs.umich.edu>
  909. To:       info-unix@sem.brl.mil
  910.  
  911.  
  912. Howdy.  Sorry to waste bandwidth, but I RTFM, or what little I had
  913. available, and could not seem to solve this problem.  I just
  914. got a Sun 386i and I cannot get it to recognize anything other
  915. than the internal disk.  I have tried the standard range of
  916. SCSI IDs, and the machine seems to freak out nomatter what.
  917. Has anybody seen this before?  Is my machine hosed?  Known problem
  918. with the 386i?  This is a 386iRR250 with 8M, 300M disk, color
  919. monitor.  I'm trying to hook 3 different disks:  Fujitsu 2624SA,
  920. Elite 1 and Wren 7.
  921.  
  922.             Thanks, Ralph
  923.  
  924. -----------------------------
  925.  
  926. From: Dinkar Bhat <bhat@cs.columbia.edu>
  927. Subject: Postscript in Latex
  928. Date: 10 Nov 92 05:17:32 GMT
  929. Sender: The Daily News <news@cs.columbia.edu>
  930. To:       info-unix@sem.brl.mil
  931.  
  932. I am sorry if this is not the right news group for this question
  933. , but I need help desperately. How do we include Postscript files
  934. in Latex. I created pictures on the Mac and converted them to PS
  935. and then I want to include them in the Latex file. Any help
  936. is greatly appreciated.
  937.  
  938. Dinkar.
  939. (bhat@cs.columbia.edu)
  940.  
  941. -----------------------------
  942.  
  943. From: Dinkar Bhat <bhat@cs.columbia.edu>
  944. Subject: Re: Postscript in Latex
  945. Date: 10 Nov 92 20:47:44 GMT
  946. Sender: The Daily News <news@cs.columbia.edu>
  947. To:       info-unix@sem.brl.mil
  948.  
  949. Sorry for the wrong posting (will post to comp.text.tex). 
  950. But I got a lot of very helpful replies.  Thanks to one and all.
  951.  
  952. Dinkar.
  953.  
  954. -----------------------------
  955.  
  956. From: "Felix S. Gallo" <rhodesia@wixer.cactus.org>
  957. Subject: Re: IS UNIX DEAD? (long)
  958. Date: 10 Nov 92 05:53:11 GMT
  959. Sender: "Felix S. Gallo" <rhodesia@wixer.cactus.org>
  960. Followup-To: comp.unix.questions
  961. To:       info-unix@sem.brl.mil
  962.  
  963. papresco@napier.uwaterloo.ca (Paul Prescod) writes:
  964. >Why is it, in VI if I try to save a file without a name it doesn't prompt
  965. >me for a name?  Instead it kicks me back to vi.  Or if I try to quit without
  966. >saving.  Why doesn't it ask me "Save y/n."  There is no reason VI couldn't
  967. >have an "expert" mode that got rid of messages for those that don't want
  968. >them.
  969.  
  970. Hey, why doesn't my toaster ask me for confirmation if I press the little
  971. bar without inserting any bread?
  972.  
  973. As a matter of fact, there are implementations of vi (which is not a
  974. monolithic single-source program) which do this.  There are also 
  975. *innumerable* easy editors which you may install on your fine system.
  976.  
  977. >Why is it, in VI that there is no way (I know of) to get help, or exit,
  978. >without knowing the exit key?  What doesn't "h" in command mode present
  979. >ANY kind of help?
  980.  
  981. Why doesn't my hard drive realize that I didn't really want to delete
  982. that data?  Why don't I have a team of ergonomics specialists sitting
  983. at my desk doing all my typing by dictation?
  984.  
  985. Again, vi is not a drop-in replacement for Microsoft Write.  It's
  986. an extremely powerful editor of text files.  If you want to whine,
  987. consider asking Microsoft why they don't have a command line in
  988. their editors.
  989.  
  990. >Why is it, in RN that when I hit 'h' to ask about how to find a command,
  991. >it doesn't give me a menu "message read commands","post commands" "misc
  992. >commands."  Instead it makes me read two pages of (mostly useless) commands.
  993.  
  994. The command you wanted to use was doubtless on one of those two pages.
  995. What do you want, hypertext pop up windows?  The common Unix user wants
  996. to get work done.
  997.  
  998. >Why don't Unix "tools" have a convention about help and exit keys AT THE
  999. >VERY LEAST.  
  1000.  
  1001. Control-C works for me.  That, or Control-Z kill %1.
  1002.  
  1003. >Where am I supposd to get help about VI?  The man pages tell me nothing
  1004. >except how to load it.
  1005.  
  1006. Your lack of attentiveness is simply not our problem.  The bottom of
  1007. every man page I've seen about 'vi' contains a pointer to the actual
  1008. vi manual.
  1009.  
  1010. >Why do I have 12 function keys on my keyboard that seem to do absolutely
  1011. >nothing?
  1012.  
  1013.  
  1014. dumb question is this?  Are you blaming your keyboard manufacturer's
  1015. ills on Unix, or are you incoherently expecting that Unix assign some
  1016. sort of meaning to every key assignable?
  1017. >
  1018. >Why doesn't VI use the jkl; keys for cursor movement, since your fingers
  1019. >are already on them.  Or why not use keys somewhere far from them.  A
  1020. >person can easily get confused.
  1021.  
  1022. Whose fingers are already on them?  Not mine.  If you're having a hard
  1023. time moving your fingers one key away, might I recommend not using
  1024. a computer?  These things are dangerous.
  1025.  
  1026. >Why doesn't help do anything in SH (and others).
  1027.  
  1028. 'help' is not /bin/sh's problem.  /bin/bash seems to have taken up
  1029. that banner, but it's pretty clear to me that 'help' as a shell level
  1030. command could shadow a system-specific 'help' which could actually
  1031. provide a useful function.
  1032.  
  1033. It seems to me that you're yet another user who's been dropped into
  1034. Unix cold, without any sort of manual or helpful administrator around.
  1035. You have my sympathy for being clueless.
  1036.  
  1037. >Why doesn't help do anything in VI?
  1038.  
  1039. You already asked this question.
  1040.  
  1041. >Why does VI default to beeping at you when you try to type as opposed to
  1042. >editing?
  1043.  
  1044. Because you're Making a Mistake, and vi appropriately tells you so.
  1045.  
  1046. >Why is it that if I want to WordProcess in VI I have to remember to hit return at the end of the line otherwise bizarre things happen.  Why not just wrap, beep, or slide over (i.e. let the line go long). 
  1047.  
  1048. Again, you're confused.  My vi, and every vi I have used, has dealt with
  1049. too-long lines in a rational manner.  All my vis also have word-wrap,
  1050. which you would discover if you took the time to read the man page and
  1051. read the manual listed at the end of the man page.
  1052.  
  1053. >Is there a wordwrap mode in VI?  And if so, why doesn't it kick in when I
  1054. >use VI from RN?
  1055.  
  1056. a) yes.  b) because your .exrc file is not set up correctly.
  1057.  
  1058. >Inquiring minds want to know.
  1059.  
  1060. Hey, I'm getting into the rhythm of this.  Let me try:
  1061.  
  1062. Why is it that people who have no idea how to use Unix and who think
  1063. that it should operate at the lowest common denominator keep asking
  1064. stupid questions?
  1065. -- 
  1066.  ----------------------------------------------------------------------------
  1067. Felix Sebastian Gallo                              rhodesia@wixer.cactus.org
  1068.  ----------------------------------------------------------------------------
  1069.  
  1070. -----------------------------
  1071.  
  1072. From: Tim Pierce <twpierce@unix.amherst.edu>
  1073. Subject: Re: IS UNIX DEAD? (long)
  1074. Date: 10 Nov 92 06:02:05 GMT
  1075. To:       info-unix@sem.brl.mil
  1076.  
  1077. In article <gglass07.721361955@ursa> gglass07@ursa.calvin.edu (Gideon Glass) writes:
  1078.  
  1079. >Listen, if you don't like VI, don't use it.  Can't you get the point?
  1080. >Those of us who like UNIX use it.
  1081.  
  1082. Or get ourselves another editor.  I got Emacs.  My users don't like
  1083. Emacs.  I got Pico.  My users are happier now.
  1084.  
  1085. Unix has survived without marketing with a mostly technical audience
  1086. for years.  It will continue to do so.
  1087.  
  1088. -- 
  1089. ____ Tim Pierce                / 
  1090. \  / twpierce@unix.amherst.edu / I use antlers in all of my decorating.
  1091.  \/ (BITnet: TWPIERCE@AMHERST) / 
  1092.  
  1093. -----------------------------
  1094.  
  1095. From: Bill Vermillion <bill@bilver.uucp>
  1096. Subject: Re: IS UNIX DEAD? (long)
  1097. Date: 10 Nov 92 16:46:47 GMT
  1098. To:       info-unix@sem.brl.mil
  1099.  
  1100. In article <BxGu2H.A62@undergrad.math.waterloo.edu> papresco@napier.uwaterloo.ca (Paul Prescod) writes:
  1101. >Why is it, in VI  .....
  1102.  
  1103. >Why doesn't VI use the jkl; keys for cursor movement, since your fingers
  1104. >are already on them.  Or why not use keys somewhere far from them.  A
  1105. >person can easily get confused.
  1106.  
  1107. That is one of the nice features of vi.   The hjkl keys are where you
  1108. normally place your fingers and in command mode h moves you left, j
  1109. down, k up and l right.   I guess you just didn't try them.   And if
  1110. your terminal is configured properly you can use the arrow keys too.
  1111.  
  1112. >Why is it that if I want to WordProcess in VI I have to remember to hit return at the end of the line otherwise bizarre things happen.  Why not just wrap, beep, or slide over (i.e. let the line go long). 
  1113.  
  1114. Yes - I noticed that you let the words continue on a very long line.
  1115. But since vi needs to be a program editor too, there are options of
  1116. continuing long lines, or to have them wrap just like vi is doing for
  1117. me right now.   set wrapmargin=5 will do nicely.
  1118.  
  1119. >Inquiring minds want to know.
  1120.  
  1121. It appears you didn't inquire of your FM too much :-)
  1122.  
  1123.  
  1124. -- 
  1125. Bill Vermillion - bill@bilver.oau.org  bill.vermillion@oau.org
  1126.                 - bill@bilver.uucp 
  1127.                 - ..!{peora|tous|tarpit}!bilver!bill
  1128.  
  1129. -----------------------------
  1130.  
  1131. From: Budi Rahardjo <rahardj@ccu.umanitoba.ca>
  1132. Subject: Re: IS UNIX DEAD? (long)
  1133. Date: 10 Nov 92 21:15:21 GMT
  1134. Sender: news@ccu.umanitoba.ca
  1135. Nntp-Posting-Host: kenobi.cc.umanitoba.ca
  1136. To:       info-unix@sem.brl.mil
  1137.  
  1138. papresco@napier.uwaterloo.ca (Paul Prescod) writes:
  1139.  
  1140. >In article <sherman.721291094@foster> sherman@unx.sas.com (Chris Sherman) writes:
  1141. >>In <1992Nov6.113324.6348@global.hacktic.nl> peter@global.hacktic.nl (Peter Busser) writes:
  1142. >>
  1143. >>
  1144. >>>Wow! ODT uses Motif, NeXT uses NeXTStep, A/UX uses finder and SVR4.2 uses
  1145. >>>OPEN LOOK, I guess. That makes four different UNIXes with four different
  1146. >>>user interfaces. With NT or OS/2 you only need to learn only *1* user
  1147. >>>interface.
  1148. >>
  1149. >>Suppose you don't like it...
  1150.  
  1151. >You get another one...like Norton Desktop, NewWave, PM (for OS/2).  Or you
  1152. >could write your own...just like in Unix.  
  1153.  
  1154. But then the user has to learn another user interface, which you don't
  1155. want to.
  1156.  
  1157. -- budi
  1158. -- 
  1159. Budi Rahardjo <Budi_Rahardjo@UManitoba.Ca>
  1160. Unix Support - Computer Services - University of Manitoba
  1161.  
  1162. -----------------------------
  1163.  
  1164. From: Budi Rahardjo <rahardj@ccu.umanitoba.ca>
  1165. Subject: Re: IS UNIX DEAD? (long)
  1166. Date: 10 Nov 92 21:28:44 GMT
  1167. Sender: news@ccu.umanitoba.ca
  1168. Nntp-Posting-Host: kenobi.cc.umanitoba.ca
  1169. To:       info-unix@sem.brl.mil
  1170.  
  1171. papresco@napier.uwaterloo.ca (Paul Prescod) writes:
  1172.  ...
  1173. >Why is it, in VI that there is no way (I know of) to get help, or exit,
  1174. >without knowing the exit key?  What doesn't "h" in command mode present
  1175. >ANY kind of help?
  1176.  
  1177. have you ever used 'lvi' (or 'nvi') ?
  1178.  
  1179.  ...
  1180. >Where am I supposd to get help about VI?  The man pages tell me nothing
  1181. >except how to load it.
  1182.  
  1183. Get a good Unix (vi) book/reference card.
  1184.  
  1185. >Why do I have 12 function keys on my keyboard that seem to do absolutely
  1186. >nothing?
  1187.  
  1188. That's on your machine not on mine. My function keys work properly.
  1189.  
  1190. >Why doesn't VI use the jkl; keys for cursor movement, since your fingers
  1191. >are already on them.  Or why not use keys somewhere far from them.  A
  1192. >person can easily get confused.
  1193.  
  1194. Hmm.. I can use jkl and arrow keys to move the cursor. What's the problem ?
  1195.  
  1196. >Why doesn't help do anything in SH (and others).
  1197.  
  1198. Well, 'help' does print a usefull information on my machine.
  1199.  
  1200.  ...
  1201. >Why does VI default to beeping at you when you try to type as opposed to
  1202. >editing?
  1203.  
  1204. Looka at the bottom right on your screen (presumable you are using vedit),
  1205. there's the word "INSERT MODE" or "APPEND MODE" or whatever mode you're in.
  1206.  
  1207. >Why is it that if I want to WordProcess in VI I have to remember to hit return at the end of the line otherwise bizarre things happen.  Why not just wrap, beep, or slide over (i.e. let the line go long). 
  1208.  
  1209. So just set it to wrap it automatically (for example set wrapmargin=10).
  1210.  
  1211. >Is there a wordwrap mode in VI?  And if so, why doesn't it kick in when I
  1212. >use VI from RN?
  1213.  
  1214. set your .exrc file
  1215.  
  1216. >Inquiring minds want to know.
  1217.  
  1218. Before bad mouthing on vi, and UNIX, read books, magazines, and relax :-)
  1219. BTW, why do associate VI with UNIX ? If you don't like vi find something
  1220. else, like pico, ce, and zillion of others.
  1221. [I can list strange things with MS-DOS, Windows editors. But what's the
  1222. point ?]
  1223.  
  1224. You seem to have an old UNIX environment.
  1225.  
  1226. -- budi
  1227. -- 
  1228. Budi Rahardjo <Budi_Rahardjo@UManitoba.Ca>
  1229. Unix Support - Computer Services - University of Manitoba
  1230.  
  1231. -----------------------------
  1232.  
  1233. From: Ivo Mokros <mokros@chekov.uu.net>
  1234. Subject: Re: IS UNIX DEAD? (long)
  1235. Date: 11 Nov 92 00:18:41 GMT
  1236. Sender: Usenet News <news@bmerh85.bnr.ca>
  1237. To:       info-unix@sem.brl.mil
  1238.  
  1239. In article <BxG6q9.LLI@undergrad.math.waterloo.edu> papresco@undergrad.math.waterloo.edu (Paul Prescod) writes:
  1240.  
  1241. [ stuff deleted ]
  1242. >>
  1243. >>Support and handholding comes free on the net.  I'm seeing a number of
  1244. >>places in trade magazines that offer support for Linux and BSD:
  1245. >>installation, troubleshooting, consulting, and so on.  So you get the
  1246. >>OS for free and pay a small fee for support.  Competitive, at least.
  1247. >
  1248. >Huh?  What net?  I've never heard of the net?  I just want to get a computer
  1249. >to run my carpentry business on, and this guy tells  me to get a modem
  1250. >and a TCP/IP connection?  Huh?  Whadda ya mean?
  1251. >
  1252. History repeats itself.  I remember people aguing that nobody could possibly need
  1253. more than 64K in their computers.  When computers were first invented, noone could
  1254. conceive of any application other than calculating trajectories of projectiles.
  1255. Only a few years ago, who would have thought that a carpentry business would need
  1256. a computer at all?
  1257.  
  1258. Networking is the next logical step in computing, and the capenter who informs
  1259. him/herself on the net (in trades.carpentry.how.to.make.more.money perhaps?)
  1260. will be further ahead than the status quo oriented competion.
  1261.  
  1262. >And where am I supposed to GET this free OS with no access to the net in
  1263. >the first place?  And how much is this "small fee" for support?  $300?
  1264. >$400? $500?  and how long is it for?
  1265. >
  1266. >Users get a "nice warm feeling" from BUYING things in a store.  
  1267.  
  1268. Because of bullying by large corporations like MicroSoft who can't stand the
  1269. fact that someone would write software without trying to become rich doing it.
  1270. If your friends still want that "warm fuzzy", they can send money to the author,
  1271. or just throw it in the river if they want.
  1272.  
  1273. >
  1274. >I dont' know how many times I've told people, "Yes, Telix/Telemate/4dos/pkzip
  1275. >is shareware, but it's actually GOOD." and they look at me with an "Who are
  1276. >you kidding" look.  If nobody makes a profit from it, nobody has to improve
  1277. >it.  Worse, if nobody's survival depends on it, it never has to be upgraded.
  1278.  
  1279. These people are wrong.  There are gigabytes of free software on the net, and
  1280. the users update and improve the code all the time.  
  1281.  
  1282. My $0.02:
  1283.  
  1284. Unix if firmly entrenched in the technical and large database markets.  There is NO
  1285. WAY that Windows NT or OS/2 can make any inroads into this market.  According to the
  1286. December 91 issue of UNIX WORLD, the top 5 Unix hardware vendors (Sun, HP, IBM, DEC, AT&T)
  1287. sold 11.79 billion dollars worth of Unix systems.  This is not a dead segment of the
  1288. computing market.  The company for which I work has over 9000 unix workstations and servers
  1289. installed, and growing.  The same is true of other large corporations.  There is no question
  1290. that UNIX IS NOT DEAD.  The question is whether it can become the OS of choice on the 
  1291. desktop.  I hope that Roel Pieper (sp?) can market Unix well enough to compete with Windows NT.
  1292. I installed SVR4 on my 486, and found the installation only marginally more difficult than
  1293. installing DOS5 and Windows 3.1.  I don't believe that NT will be any easier to install
  1294. that Unix.  If users still find this too difficult, they can buy the system preinstalled.
  1295.  
  1296.  ------------------
  1297. Ivo Mokros
  1298. mokros@bnr.ca
  1299.  
  1300. -----------------------------
  1301.  
  1302. From: Nicholas Kramer <nk24+@andrew.cmu.edu>
  1303. Subject: Re: IS UNIX DEAD? (long)
  1304. Date: 11 Nov 92 02:20:42 GMT
  1305. To:       info-unix@sem.brl.mil
  1306.  
  1307.  
  1308. Excerpts from netnews.comp.unix.questions: 7-Nov-92 Re: IS UNIX DEAD?
  1309. (long) by Peter Busser@global.hack 
  1310. >There is no standard. Just think of Motif as CAT ,D2 and OPEN LOOK as DIR.
  1311. >And many applications use their own user interface. It has hardly anything
  1312. >to do with minimizing the learning curve. UNIX has an elegant kernel
  1313. >interface but not an elegant user interface.
  1314.  
  1315.  This is about as trivial as it gets: Complaining because there are two
  1316. GUIs and not one: Open Look and Motif. Let's face it, the average user
  1317. doesn't have ANY preference with regards to Macintosh vs. MS-Windows.
  1318. What makes you think that the average user will give any more of a shit
  1319. about Motif vs. Open Look? Believe it or not, I think some of these
  1320. average users may actually appreciate having a choice.
  1321.  
  1322.  BTW, I do think you all are overestimating the power of the "average
  1323. user" when it comes to deciding the course of the PC world. The "average
  1324. user" couldn't afford to buy a machine powerful enough to run GUIs when
  1325. they first came out, but look where we went... Yeah, Joe Stupid may be a
  1326. large part of it, but he ain't the only thing determining what the next
  1327. operating system will be. (We all gotta keep in mind that not every
  1328. "average user" is stupid to the core, as several of the "common user
  1329. advocates" have suggested.)
  1330.  
  1331.  
  1332.                         Nick
  1333.  
  1334. -----------------------------
  1335.  
  1336. From: Bruce MacDonald <Bruce_MacDonald@mindlink.bc.ca>
  1337. Subject: Configuring dial-up for SUN 3/60
  1338. Date: 10 Nov 92 07:08:32 GMT
  1339. Sender: Usenet <news@deep.rsoft.bc.ca>
  1340. To:       info-unix@sem.brl.mil
  1341.  
  1342.  
  1343. My roomate has a Sun 3/60 that he is trying to get a dial-up modem to
  1344. work with.  Here he is now... (Greg Lypowy)
  1345.  
  1346. First off, let me say that this my first foray into UNIX systems
  1347. administration.  I have a USRobotics 14400 Sportster, and I am trying to
  1348. configure the system for dial-up off of Serial port ttya.
  1349.  
  1350. The problem is, the modem answers the phone and everything, but does not
  1351. offer the remote system a login prompt, or any feedback for that matter.  I
  1352. have done the following:
  1353.  
  1354.         - created the ttyd0 special file in /dev
  1355.         - included a ttyd0 entry in /etc/ttytab, to the effect of:
  1356.                 ttyd0   "/usr/etc/getty d2400"  dialup   on
  1357.                 (2400 was chosen only as a test speed).
  1358. Now the getty runs fine, and I can see the modem receiving info from the
  1359. remote system.  But she won't talk to the other system.
  1360.  
  1361. Am I just leaving out something obvious?  Any help would be greatly
  1362. appreciated!
  1363.  
  1364.                 Greg.
  1365.  
  1366.  
  1367. --
  1368. Bruce MacDonald
  1369. Database Systems Consultant
  1370.  
  1371. Email: Bruce_MacDonald@mindlink.bc.ca
  1372.  
  1373. -----------------------------
  1374.  
  1375. From: Peter Steele <peter@merlin.acadiau.ca>
  1376. Subject: Has anyone installed uniquid?
  1377. Date: 10 Nov 92 12:42:02 GMT
  1378. Sender: news@dragon.acadiau.ca
  1379. Nntp-Posting-Host: merlin
  1380. To:       info-unix@sem.brl.mil
  1381.  
  1382. I recently learned of a package called uniquid for managing
  1383. unique user id's across multiple Unix systems. I picked up
  1384. the source but haven't beem able to get it to build. Has
  1385. anyone tried installing this package?
  1386. --
  1387. Peter Steele        Unix Services Manager            peter.steele@acadiau.ca 
  1388. Acadia Univ., Wolfville, NS, Canada B0P 1X0  902-542-2201  Fax: 902-542-4364
  1389.  
  1390. -----------------------------
  1391.  
  1392. From: Stephen Wayne Miller <atario@cats.ucsc.edu>
  1393. Subject: Telnet as a term program
  1394. Date: 10 Nov 92 13:15:26 GMT
  1395. NNTP-Posting-Host: si.ucsc.edu
  1396. To:       info-unix@sem.brl.mil
  1397.  
  1398.  
  1399. (I wasn't sure which group was more appropriate for this message, so.)
  1400.  
  1401. I'm trying to get telnet to act somewhat like a term program in that I want
  1402. it to be able to send and receive at least text files.  I can even be ok
  1403. with an I/O redirect and no interaction for that telnet session (like
  1404. "% telnet vms.company.com < script_file").  However, depending on the
  1405. machine I telnet to, lots or little of the file's text is ignored as input.
  1406. Any suggestions??  (No, the machine is not ftp-able.)
  1407.  
  1408. (Please e-mail as I don't read these newsgroups.)
  1409. -- 
  1410.   __     | atario@cats.ucsc.edu | "Oh no!  Toonces, look out!  AIIIEEEE!"  --SNL
  1411.  (_      | Delphi:  ATARIO      | "This is only an exhibition.  This is not a
  1412.  __)teve | "Happy happy!        |  competition.  So please . . . no wagering."
  1413.          |  Joy joy!"  --R & S  |              --Late Night with David Letterman
  1414.  
  1415. -----------------------------
  1416.  
  1417. From: Randy Mullis <sasrem@herald.unx.sas.com>
  1418. Subject: sed puzzler
  1419. Date: 10 Nov 92 16:14:36 GMT
  1420. Sender: Noter of Newsworthy Events <news@unx.sas.com>
  1421. Originator: sasrem@herald.unx.sas.com
  1422. Nntp-Posting-Host: herald.unx.sas.com
  1423. To:       info-unix@sem.brl.mil
  1424.  
  1425.  
  1426. Hi, I would desparately like some help with a sed problem that has been
  1427. driving me crazy.  
  1428.  
  1429. To spare you from having to read the details that follow, here is the 
  1430. basic question:  In sed you can use [^\\] to create a match on "not 
  1431. backslash".  Is there a way to specify "not \xe"?
  1432.  
  1433.  
  1434. Okay, here are the details. I want a substitution command to substitute
  1435. one space for all the material between a start indicator and an end
  1436. indicator.
  1437.  
  1438. The start indicator is a backslash followed by two x's and some
  1439. miscellaneous other characters.  The end indicator is a backslash
  1440. followed by 'xe'.  The start and end can be on different lines, on the 
  1441. same line, or more than one to a line.
  1442.  
  1443. The program I wrote to do this is:
  1444.  
  1445. if [ "$#" -eq "0" ]
  1446. then
  1447.     echo "noindx: arg count error" >&2
  1448.     echo "usage: noindx file [...]" >&2
  1449.     exit 1
  1450. fi
  1451.  
  1452. for FILE in $@
  1453. do
  1454.     if [ ! -s $FILE ]
  1455.     then
  1456.         echo "file \"$FILE\" does not exist" >&2
  1457.         continue
  1458.     fi
  1459.  
  1460. sed   '/[^^]\\xx[^ =]*[= ][^\\]*\\xe[ ]*[^$]/b block1
  1461.        /\\x[^e]*[= ]/b block2
  1462.        /\\xe/b block3
  1463.        :block1
  1464.            s/\\xx[^ =]*[ =][^\\]*\\xe / /g
  1465.        :block2
  1466.            /\\xe$/!s/\\xe/&\
  1467. /g
  1468.        :block3
  1469.            /^\\x[^e].*[= ]/!s/\\x[^e]*[= ]/\
  1470. &/g
  1471. '   $FILE |
  1472.  
  1473. sed  '  /^\\xx[^ =]*[= ][^\\]*\\xe[ ]*$/d
  1474.         /^\\xx[^ =]*[= ]/,/[^\\]*\\xe[ ]*$/d'  > $FILE.new
  1475.  
  1476. done
  1477.  
  1478. This seemed to be the answer UNTIL I was told that there may be another
  1479. backslash construct between the \xx.. start indicator and the \xe end 
  1480. indicator.  This means that I cannot use the [^\\] as a terminating 
  1481. condition.  
  1482.  
  1483. The basic question, then, is this: is there a way in sed to specify
  1484. "not (\xe)" as a terminating condition?  Any help would be appreciated.
  1485. -- 
  1486. ____________________________________________________________
  1487. Randy Mullis (sasrem@unx.sas.com)
  1488. Systems Administrator, Publications Division
  1489. SAS Institute Inc.
  1490.  
  1491. -----------------------------
  1492.  
  1493. From: "A.P.J. Ouwendijk" <ouwendyk@prso.pttnwb.nl>
  1494. Subject: Re: configuring xntpd for HP-UX
  1495. Date: 10 Nov 92 16:34:43 GMT
  1496. Sender: The Daily News <news@pttdis.pttnwb.nl>
  1497. Nntp-Posting-Host: ux98.pttnwb.nl
  1498. To:       info-unix@sem.brl.mil
  1499.  
  1500. In article <1992Nov9.145633.10651@murdoch.acc.Virginia.EDU>, prs9k@brain.med.virginia.edu (Phil Scarr) writes:
  1501. |> I have compiled and installed the adjtime and xntpd programs but I
  1502. |> cannot seem to get them to query our university's ntp servers.  I could
  1503. |> really use some pointers on how to go about configuring them to work
  1504. |> with my system.  Thanks.
  1505.  
  1506. Try comp.protocols.time.ntp    :-)
  1507.  
  1508. -- 
  1509.         Anthon Ouwendijk               E-Mail: ouwendyk@prso.pttnwb.nl
  1510.    __o  PTT Telecom b.v.  o__          Voice:  +31 70 3434572
  1511.  _`\<,  's-Gravenhage     ,>/'_
  1512. (_)/(_) The Netherlands  (_)\(_)       #include    <std/disclaimer.h>
  1513.  
  1514. -----------------------------
  1515.  
  1516. From: Brad Appleton <brad@ssd.csd.harris.com>
  1517. Subject: Need info on X Courses
  1518. Date: 10 Nov 92 16:58:12 GMT
  1519. NNTP-Posting-Host: hcx1.ssd.csd.harris.com
  1520. To:       info-unix@sem.brl.mil
  1521.  
  1522. I need to find out information about companies that offer 
  1523. training courses in X and/or Motif Programming.
  1524.  
  1525. If you know of such a company, please tell me the company name
  1526. and the phone-number or e-mail address to contact.
  1527.  
  1528. If you are associated with such a company, please e-mail me
  1529. information regarding your various X/Motif courses including
  1530. the following:
  1531.  
  1532.    1) a list of training site locations
  1533.  
  1534.    2) course descriptions (goals, duration, prerequisites)
  1535.  
  1536.    3) course costs
  1537.  
  1538.    4) course dates?
  1539.  
  1540.  
  1541. advTHANXance!
  1542. ______________________ "And miles to go before I sleep." ______________________
  1543.  Brad Appleton           brad@ssd.csd.harris.com       Harris Computer Systems
  1544.                             uunet!travis!brad          Fort Lauderdale, FL USA
  1545. ~~~~~~~~~~~~~~~~~~~~ Disclaimer: I said it, not my company! ~~~~~~~~~~~~~~~~~~~
  1546.  
  1547. -----------------------------
  1548.  
  1549. From: Thomas Gabrysch <gab@adpgate.uucp>
  1550. Subject: Directory tree with pic
  1551. Date: 10 Nov 92 18:48:45 GMT
  1552. To:       info-unix@sem.brl.mil
  1553.  
  1554. I need an example of a directory tree created with the pic
  1555. troff processor.
  1556.  
  1557. Thanky you,
  1558. - Thomas
  1559.  
  1560.  ------------------------------
  1561.  Thomas Gabrysch
  1562.  
  1563.  adpgate.uucp!adpplz!gab
  1564.  adpgate!adpplz!gab@apple.com
  1565.  -------------------------------
  1566.  
  1567. -----------------------------
  1568.  
  1569. From: Ron Morley <rmorley@mis.mi04.zds.com>
  1570. Subject: Time synchronization
  1571. Date: 10 Nov 92 19:53:40 GMT
  1572. To:       info-unix@sem.brl.mil
  1573.  
  1574. Hello all,
  1575.     I need to synchronize the time between three HP/UX 8.02 machines and a 
  1576. Novell file server.  I called HP tech support and found out that HP does not
  1577. implement a remote time daemon for such a task.  They suggested that I try the
  1578. InterNet for solutions.  I need to get the time from the Novell server.
  1579.  
  1580. Thanks in advance,
  1581. Ron Morley
  1582. Zenith Data Systems
  1583. St. Joseph, Mi. 
  1584.  
  1585. email: R.Morley@mis.mi04.zds.com
  1586.  
  1587. -----------------------------
  1588.  
  1589. From: Timothy Writer <twriter@rd.hydro.on.ca>
  1590. Subject: Re: UNIX --> DOS remote printing
  1591. Date: 10 Nov 92 20:26:33 GMT
  1592. To:       info-unix@sem.brl.mil
  1593.  
  1594. karell@cs.Helsinki.FI (Esa Karell) writes:
  1595.  
  1596. >Hi,
  1597.  
  1598. >Is anyone aware of packages (PD or commercial) that
  1599. >allow UNIX boxes to send print requests to a DOS box
  1600. >on a lan?
  1601.  
  1602. Sure.  I use Beame & Whiteside NFS (BWNFS) concurrently with a Novell
  1603. network.  BWNFS comes with a TSR called BWLPD.  Once BWLPD is running on
  1604. a DOS box, you simply need a printcap entry to direct print requests to
  1605. the DOS box.  This is explained in the manual.
  1606.  
  1607. BWNFS is not the only TCP/IP and NFS package which provides a printer
  1608. daemon (TSR).  I believe Wollongong and FTP software also provide one,
  1609. there may be others.  However, IMHO BWNFS is far superior.  BWNFS is
  1610. available from:
  1611.  
  1612.     Beame & Whiteside Software Ltd.
  1613.     P.O. Box 8130
  1614.     Dundas, Ontario
  1615.     L9H 5E7
  1616.     CANADA
  1617.  
  1618.     Phone: (416) 765-0822
  1619.     Fax: (416) 765-0815
  1620.  
  1621. One caveat:  Don't try this without a decent memory manager such as QEMM
  1622. or 386Max (I use 386Max).
  1623.  
  1624. Tim
  1625.  
  1626. P.S.  I have no affiliation with Beame & Whiteside, I'm just a happy
  1627. customer.
  1628.  
  1629. -- 
  1630. Tim Writer                 phone:  (416) 231-4111 ext. 6990
  1631. Ontario Hydro Research Division         fax:    (416) 237-9285
  1632. Toronto, Ontario             e-mail: twriter@rd.hydro.on.ca
  1633. CANADA
  1634.  
  1635. -----------------------------
  1636.  
  1637. From: Ioi Kim Lam <ioi@pixmap.seas.upenn.edu>
  1638. Subject: C++ Debugger for Motif  -----> HELP
  1639. Date: 10 Nov 92 20:57:31 GMT
  1640. Sender: news@NOC2.DCCS.UPENN.EDU
  1641. Followup-To: comp.windows.x.motif
  1642. Nntp-Posting-Host: pixmap.seas.upenn.edu
  1643. To:       info-unix@sem.brl.mil
  1644.  
  1645. Newsgroups: comp.windows.x.motif,comp.unix.programmer,comp.unix.questions,comp.windows.x,g++.help
  1646. Subject: C++ Debugger with Motif
  1647. Followup-To: 
  1648. Distribution: world
  1649. Organization: University of Pennsylvania
  1650. Keywords: 
  1651.  
  1652.  
  1653. I am using X11R4 on the SunOS. I am writing Motif programs in C++, using the
  1654. GNU compiler g++. Does anyone know how to debug these programs. I tried
  1655. gdb-3.2 and gdb-3.5 but they don't seem to understand the C++
  1656. function-name convention. Gdb-4.4 gives an segmentation fault with the
  1657. Motif program, although it can debug normal C++ programs under Unix. I
  1658. tried UPS but it always shows the header file instead of the source file. 
  1659.  
  1660. Are there any public-domain X-Debugger available that can support C++?
  1661.  
  1662. Please reply to ioi@eniac.seas.upenn.edu
  1663.  
  1664. Thank you in advance.
  1665.  
  1666. -----------------------------
  1667.  
  1668. From: "Elizabeth A. Evans" <uevans@med.unc.edu>
  1669. Subject: scan question
  1670. Keywords: scan mv'ing files
  1671. Date: 10 Nov 92 21:13:24 GMT
  1672. Sender: usenet@samba.oit.unc.edu
  1673. Originator: uevans@cahaba
  1674. Nntp-Posting-Host: cahaba.med.unc.edu
  1675. To:       info-unix@sem.brl.mil
  1676.  
  1677. This isn't really a *Unix* question, but I couldn't decide on a better
  1678. newsgroup...
  1679.  
  1680. Has anyone figured out a way to write a key definition in scan that
  1681. allows a user to tag a set of filenames and then move that tagged set
  1682. to an interactively specified subdirectory?  I've looked in the doc
  1683. files we got with the distribution and don't see anything that looks
  1684. hopeful, but with all the creative energy out here on the net... :-)
  1685.  
  1686. Thanks in advance.
  1687.  
  1688. -- Libby
  1689.  
  1690. -----------------------------
  1691.  
  1692. From: Timothy Winslow <poohbear@solaria.mil.wi.us>
  1693. Subject: rn help
  1694. Date: 10 Nov 92 21:28:33 GMT
  1695. To:       info-unix@sem.brl.mil
  1696.  
  1697. I use rn (please do not try to convince me to use another reader, I am happy
  1698. I use rn, and don't care to switch).
  1699.  
  1700. I need a small favor of someone.  Can you please tell me how to shut off
  1701. subject search mode?  It always turns this on, and I hate it.  I prefer
  1702. reading messages in a forward newsgroup item number manor.
  1703.  
  1704. Please write e-mail, as I do not read this group.
  1705.  
  1706. Thank you.
  1707.  
  1708. -- 
  1709. Weird Al is a God!                    CO Life is for me!
  1710.        poohbear@solaria.mil.wi.us                  or 
  1711.                                     Timothy_Winslow@solaria.mil.wi.us
  1712. Life is strange, but so are you!            I like me!    :P
  1713.  
  1714. -----------------------------
  1715.  
  1716. From: DAVIDHO@arizvm1.ccit.arizona.edu
  1717. Subject: Can linux run on IBM PS/60? any other can do?
  1718. Date: 10 Nov 92 23:16:28 GMT
  1719. Nntp-Posting-Host: arizvm1.ccit.arizona.edu
  1720. To:       info-unix@sem.brl.mil
  1721.  
  1722. Does anybody know if there is any Unix system can run on IBM PS2/60?
  1723. I heard of SCO Xenix 286? How good is it? Can it run X?
  1724.  
  1725. Do I have any other choice?
  1726. Any comment is appreciated. Please send to my email address.
  1727.  
  1728. davidho@dopey.rc.arizona.edu
  1729.  
  1730. David Ho
  1731.  
  1732. -----------------------------
  1733.  
  1734. From: Dances With Babes <tesco@bumetb.bu.edu>
  1735. Subject: Re:
  1736. Date: 10 Nov 92 23:23:39 GMT
  1737. Sender: news@bu.edu
  1738. To:       info-unix@sem.brl.mil
  1739.  
  1740.  
  1741.  
  1742. We are experiencing technical difficulties trying to get a Sun workstation
  1743. to recognize the Page-Up and Page-Down keys of a PC keyboard. We are telneted
  1744. in via TCP/IP using a TERM setting of vt220 and we also have a Wyse-370 
  1745. terminal connected as the console with a setting TERM setting of vt220.
  1746.  
  1747. We have even tried to map the keys through vi ... to no avail.
  1748. The terminfo file has no discernable entries for Page-Up and Page-Down for
  1749. TERM of vt220.
  1750.  
  1751. Anyone run into this problem or have any suggestions?
  1752. Please respond to tesco@bumetb.bu.edu
  1753.  
  1754. thanks...
  1755.  
  1756. -----------------------------
  1757.  
  1758. From: Chris Perez <chris@neon.rain.com>
  1759. Subject: How do I REALLY setup for 'cu' and 'uucico' use?
  1760. Date: 10 Nov 92 23:35:41 GMT
  1761. To:       info-unix@sem.brl.mil
  1762.  
  1763. I'm looking to get my Dell UNIX SVR4 2.2 to 'cu' out through
  1764. tty01h.  Yes, I've done lots of work on the files in an attempt
  1765. to get it running.  I'm looking to talk with someone at length off-line
  1766. about this.
  1767.  
  1768. Thanx,
  1769.  
  1770. Christopher Perez - chris@neon.rain.com
  1771. "Do NOT use this brain.  Abnormal."  The warning Igor ignored...
  1772.  
  1773. -----------------------------
  1774.  
  1775. From: Gary Merrick <gam@sun_jimh.mentorg.com>
  1776. Subject: modem question
  1777. Date: 11 Nov 92 01:33:01 GMT
  1778. Sender: Gary Merrick <gam@sun_jimh>
  1779. Nntp-Posting-Host: sun_jimh.mentorg.com
  1780. To:       info-unix@sem.brl.mil
  1781.  
  1782. I am posting this for a friend. Please respond via email to
  1783. david_liu.san_jose_02@pdxml1.mentorg.com.
  1784.  
  1785. Are well-known brands of modems worth the price?
  1786.  
  1787. I have noticed a considerable price difference between
  1788. the "big name" brands of modems (like Hayes & Telebit),
  1789. and the lesser-known ones with similar capabilities.
  1790. Are there any advantages to paying extra money for a
  1791. big name brand of modem?
  1792.  
  1793. Two modems I'm presently considering purchasing are the
  1794. Logicode Quicktel 1414XV, and a similar one from Boca.
  1795. If anybody thinks this would be a poor choice, please
  1796. let me know.
  1797.  
  1798. Thanks in advance.
  1799.  
  1800. -----------------------------
  1801.  
  1802. From: Roupen Nahabedian <nahabed@ntmtv.uucp>
  1803. Subject: ESIX feedback
  1804. Keywords: ESIX
  1805. Date: 11 Nov 92 01:41:14 GMT
  1806. Sender: news@ntmtv
  1807. Originator: nahabed@nmtvs296
  1808. Nntp-Posting-Host: nmtvs296
  1809. To:       info-unix@sem.brl.mil
  1810.  
  1811. I would like to hear from those who've used ESIX's (4.0.4) run-time 
  1812. system and development kit. How is it (pluses, minuses)? Is it 
  1813. worthwhile? ...
  1814.  
  1815. Thanks,
  1816. Roupen N.
  1817. --- 
  1818.  
  1819. -----------------------------
  1820.  
  1821. From: Russell Mosemann <mosemann@unlinfo.unl.edu>
  1822. Subject: Is there a nice menuing system available?
  1823. Keywords: menu
  1824. Date: 11 Nov 92 02:39:23 GMT
  1825. NNTP-Posting-Host: unlinfo.unl.edu
  1826. To:       info-unix@sem.brl.mil
  1827.  
  1828.  
  1829.    Is there a nice (customizeable, of course) menuing system available
  1830. that I could put new users into?  I've been playing around with
  1831. simple_menu, and I was wondering if there were any others I haven't seen.
  1832. --
  1833. Russell
  1834. mosemann@unl.edu
  1835.  
  1836. -----------------------------
  1837.  
  1838. From: Jason L Tibbitts III <tibbs@math.uh.edu>
  1839. Subject: Printing Postscript thumbnails?  Mpage doesn't work.
  1840. Date: 11 Nov 92 03:50:14 GMT
  1841. Sender: USENET News System <usenet@menudo.uh.edu>
  1842. Nntp-Posting-Host: karazm.math.uh.edu
  1843. To:       info-unix@sem.brl.mil
  1844.  
  1845. I'm looking for a program to take a postscript file and print it with
  1846. several pages on one physical page (hopefully up to 32 thumbnails).  I have
  1847. mpage, but even though it advertises that it works on postscript files, it
  1848. doesn't.  I think it produces bad postscript code, because it does grind
  1849. for a while and actually spool something to the printer, but nothing
  1850. prints.  (It works fine on text files, though.)
  1851.  
  1852. Is there anything else out there that will do what I'm after?
  1853.  
  1854. Thanks!
  1855. --
  1856.  Jason L. Tibbitts III - tibbs@math.uh.edu - 713/743-3466 - 685PGH
  1857. System Administrator:  University of Houston Mathematics Department
  1858.  Houston Centers for Advanced Scientific and Molecular Computation
  1859. Blob Shop Programmers: Database consulting and graphics programming
  1860.  
  1861. -----------------------------
  1862.  
  1863. From: "Jethro H. Greene" <jhgreen@cs.sandia.gov>
  1864. Subject: SetUID
  1865. Date: 11 Nov 92 03:54:08 GMT
  1866. Sender: jhgreen@cs.sandia.gov
  1867. Followup-To: poster
  1868. Originator: jhgreen@cs.sandia.gov
  1869. To:       info-unix@sem.brl.mil
  1870.  
  1871. I am trying to give certain paople (not in my group) read permission in 
  1872. all of my files.  I am now experimenting in using shell scripts with the 
  1873. SetUID bit set.  What kind of file does a SetUID script have to be?  Can
  1874. it simply be
  1875.  
  1876.     cat > reader
  1877.     (A bunch of password stuff)
  1878.     cat
  1879.     ^D
  1880.  
  1881.     chmod 4711 reader
  1882.  
  1883.  
  1884.     ---or---
  1885.     would I have to actually copy the script from the /usr/bin directory?
  1886.  
  1887. I don't really want to take the risk of experimenting with SetUID because 
  1888. I know that it is dangerous.  Could someone explain SetUID to me or suggest
  1889. a good source?
  1890.  
  1891.  
  1892. Thanks in advance,
  1893. Jed
  1894. ---
  1895.  
  1896. -----------------------------
  1897.  
  1898.  
  1899. End of INFO-UNIX Digest
  1900. ***********************
  1901.