🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.windows.misc
5 messages
5 total messages Started by sau Stephen A Uhler Fri, 27 Jan 1989 20:45
Re: MGR installation
#1327
Author: sau Stephen A Uhler
Date: Fri, 27 Jan 1989 20:45
51 lines
2751 bytes
In article <484@ubc-cs.UUCP> you write:
  >I picked up mgr from uunet and tried to install it over the last
  >couple of days.  There are problems.  <text deleted>
  >
  >There are, however, two other bugs which bit me (i.e. they cause
  >make to fail):
  >
  >1:  sys/kbd.c has this silly line (line 23):
  >    #   include "<sys/termios.h>"
  >    This should probably be:
  >    #include <sys/termios.h>
It is actually
#include <sys/ttycom.h>
Sun is good at moving TIOCCONS around.
  >
  >2:  There is supposed to be a file called doc/usrman.out
  >    It doesn't exist.  I made an empty one to get make over it,
  >    assuming that mgr would run without whatever this document
  >    is supposed to be.
usrman.out got lost somewhere, A patch to the Makefile makes usrman.out
if it isn't there.
  >
  >Make complains of many errors while installing mgr, even with
  >these fixes.  All of them are reported with something like:
  >    "*** Error code 1: (ignored)"
The Makefile is weird!  In general if make ignores an error, all is OK.
  >
  >Some of them do look ignorable, but there are mysterious things
  >which look more serious.  e.g.: "mv mgr _mgr" fails because the
  >file mgr doesn't exist.  "ln mgr mgr" also fails.
I told you the Makefile was weird.
  >
  >Thus, even though I got make to run all the way through, mgr was
  >probably in a bad state.  This seemed to be indicated further by
  >the fact that running mgr causes a segmentation fault.  It will
  >run with -v or -V and print version information, but otherwise it
  >dies without touching the screen. 
This only happens on SUNOS-4.0.  A fix is coming.  If you can't wait,
change line 69 in src/blit/bitmap.c (in the mmap call) replacing
PROT_WRITE with PROT_READ|PROT_WRITE
  >
  >Has anyone out there got fixes for mgr?  I would like to try it 
  >out (as, I am sure, do many others on the net).  An informed 
  >posting to the net would be reasonable at this point.  Email to
  >me would be appreciated, but perhaps less helpful to other lost
  >soles.  
I sent these (and other) fixes to $alz, so hopefully you should see them soon. 
  >
  >BTW, I tried putting mgr on a SUN 3, running SunOS 4.0.  I don't
  >believe this is an oddball system.
When I sent MGR to be posted, I didn't have 4.0 (I still use 3.5).
Re: MGR installation
#1328
Author: Guy Harris
Date: Sat, 28 Jan 1989 07:45
16 lines
1166 bytes
>It is actually
>#include <sys/ttycom.h>
>Sun is good at moving TIOCCONS around.

Err, umm, where was MGR finding it in pre-4.0 releases?  If it was
including <sys/ioctl.h> to get it, it should have shown up in 3.x *and*
4.0, and not required this fiddling.  I suspect somebody has outsmarted
themselves here.... 

<sys/ttycom.h> isn't supposed to be directly included by programs.  It
exists so that both <sys/termios.h> and <sys/ioctl.h> can define the tty
driver stuff that's not "tied", if you will, to the BSD or S5 tty
driver.  TIOCCONS was moved to <sys/ttycom.h> so that a program could
get at it without dragging in all the V7/BSD stuff that dragging in
<sys/ioctl.h> defines; such a program would include <sys/termios.h>
(or <sys/termio.h>) instead.
Re: MGR installation
#1331
Author: Paul Allen
Date: Mon, 30 Jan 1989 21:48
35 lines
2094 bytes
I installed mgr on my Sun-3 (SunOS 3.4) last week.  As has been reported here, the makefiles
have a few problems, but I did manage to get working executables.  After I figured out how
to get printed copies of the man pages, I ran through them one by one to see how things ran.
These are my notes from that experience.  Note that I didn't spend any time investigating
any of this stuff.  If something didn't work, I just noted it and went on.

Cut fails with the message:
	sh: hm: not found
	/usr/mgr/bin/cut: Can't start (hm -s)

Iconmsgs complains about not finding a bounds file.

Lock put up a really pretty outer-space picture, but then wouldn't let me back in!  I had
to rlogin and kill it.

Maze briefly prints something about not finding a service.  When 2 mazes are running, they
don't know about each other.

Menu needs /bin/ksh.  Someone posted that csh works just fine, but I haven't tried it yet.

Typing the command "eval `set_termcap`" complained "unmatched '".

Snap doesn't do anything useful that I can see.  From the man page, I guess I expected to
be able to rubber-band a box bounding the pixels to be saved.  I couldn't get the mouse buttons
to do anything useful.  

Can anybody tell me what I'm doing wrong?  If your answer is RTFM, please send me a real toasty
flame!  It's going to be *cold* in Seattle when that air-mass that's been freezing Alaska starts
sliding south later this week!  :-)

Paul
-- 
------------------------------------------------------------------------
Paul L. Allen                       | pallen@atc.boeing.com
Boeing Advanced Technology Center   | ...!uw-beaver!ssc-vax!bcsaic!pallen
Re: MGR installation
#1332
Author: Eric S. Johnson
Date: Thu, 02 Feb 1989 04:06
10 lines
870 bytes
In article <9862@bcsaic.UUCP> paula@bcsaic.UUCP (Paul Allen) writes:
>Typing the command "eval `set_termcap`" complained "unmatched '".
>

This one ticked me off for a hour yesterday. Most likely you don't have
your SHELL environment variable set to /bin/csh. That one was in the 
manual. It just took me a while to figure out that it didn't recognize
/usr/local/tcsh as a csh.... ;-)

Ej
Re: MGR installation
#1344
Author: Howard Chu
Date: Thu, 09 Feb 1989 20:07
24 lines
1668 bytes
In article <19729@uflorida.cis.ufl.EDU> esj@manatee.cis.ufl.edu (Eric S. Johnson) writes:
>In article <9862@bcsaic.UUCP> paula@bcsaic.UUCP (Paul Allen) writes:
>>Typing the command "eval `set_termcap`" complained "unmatched '".
>>
>
>This one ticked me off for a hour yesterday. Most likely you don't have
>your SHELL environment variable set to /bin/csh. That one was in the 
>manual. It just took me a while to figure out that it didn't recognize
>/usr/local/tcsh as a csh.... ;-)

There's actually a more fundamental problem - you really need to:
	set noglob;eval `set_termcap`

This also tends to be a problem with people trying to use "tset -s" ...
They both spit out "set noglob" commands, but the command isn't accepted
until the entire string is unquoted/escaped, etc., which is too late.
Globbing occurs before command evaluation - thus you get the complaint
about the unmatched quote.
--
  /
 /_ , ,_.                      Howard Chu
/ /(_/(__                University of Michigan
    /           Computing Center          College of LS&A
   '              Unix Project          Information Systems
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads