The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
* [TUHS] Jerq menuhit/mhit
@ 2023-06-29 22:15 Noel Hunt
  2023-06-29 22:22 ` [TUHS] " Andrew Hume
  0 siblings, 1 reply; 8+ messages in thread
From: Noel Hunt @ 2023-06-29 22:15 UTC (permalink / raw)
  To: The Unix Heritage Society

The standard routine for drawing menus on the jerq was
'menuhit'. Items in the menu were centered, and the menu was
scrollable when a certain threshold number of items was
reached, and in addition, when the mouse pointer was in the
top (bottom) item of the menu and it was possible to scroll
in the appropriate direction, the menu was scrolled up or
down 1 line. The structure associated with these menus is
'Menu'.

There was however another menu-drawing routine, 'mhit', the
menus drawn by this being hierarchical, the structure NMenu,
which no longer contained text strings but an array of NItems.
NMenus also had provision for 'help' text to be displayed, a
simple string displayed on the screen, when button 1 was
pressed while an entry in the menu was selected.

The earliest version in the Eight Edition jerq code, also has
one function in the NMenu structure which is called when the
mouse pointer invokes a hierarchical menu. By Ninth Edition
this has been expanded, with 3 functions, one as above, one
invoked when an item is selected ('hit') and one when a
hierarchical menu is exited.

In the jerq code directories, under 'lib/jj', is a small 'ms'
document, 'A Library of Goo for the 5620', which lists
routines available in the library, and their authors. Andrew
Hume is listed as the author of 'mhit'.

Are there examples of code using these three menu functions
('dfn', 'hfn', 'bfn')?

There seems to have been little interest in hierarchical menus
at the labs, their use was quite limited. I found a program
in the Tenth Edition archive, 'bubble' (which seems to be a
program for displaying the three-dimensional structure of
molecules) which uses them. 'samuel' made heavy use of them,
including use of the 'hit' function, and Tom Cargill used
basically the same code in 'pads' wherein the routine was
called 'scripthit'.

The plain 'menuhit' survived into Plan9, but as far as I
know, it is only used by 'sam'.

^ permalink raw reply	[flat|nested] 8+ messages in thread
* [TUHS] Re: Jerq menuhit/mhit
@ 2023-07-02 15:14 Norman Wilson
  0 siblings, 0 replies; 8+ messages in thread
From: Norman Wilson @ 2023-07-02 15:14 UTC (permalink / raw)
  To: tuhs

I had an experience similar to Tom London's:

	To: alice!rob
	Subject: you've spoiled me

	I can't believe it.  I'm sitting here at home in front of my
	2621, and I can't work.

	Damn it.  I've got to get a blit at home.

When I left Bell Labs, I had an X11 workstation at work, but
only a simple terminal at home.  Having used a Jerqblit5620 for
years at both work and home, I found it incredibly limiting.

After a year or so I came across a reseller who had a lot of
off-lease 5620s for sale cheap (like USD 150 or so each).  I
asked around the university I now worked at, found a handful
of other people who wanted in, and then a local small company
who did System V system-administration consulting who wanted
some for themselves, and were willing to handle all the paperwork.
All that allowed us to negotiate the price down even more.

In the end I bought six, of which I think four are still working,
though I haven't turned any of them on for years.

None of the Unixes I used at the time came with 5620 support,
but the protocol for the basic window system built into the ROM
was well-documented and I managed to roll my own host support.
I also managed to cobble up my own binary-loading tools sufficient
to get sam working (I forget how I compiled the binary for the
terminal); that was rather more work, but it was worth it to
be able to have sam and multiple windows from home, even though
it was the ROM OS and therefore mpx rather than mux.

I remember porting my version of the host code to Ultrix,
SunOS 4, and IRIX.

My workplace at the time had a little bit of VAX/VMS around.
I didn't use that much but wanted to try porting my host code
to VMS as well.  VMS had had a C compiler for some years and
some sort of pseudo-terminal for a shorter time, so it ought
to have been possible.  I didn't get around to it before we
finally left VMS behind in the dustbin of history.  I wish I'd
found time to do it, just to show that there really was nothing
Unix-specific about the idea or the implementation.  It's just
a multiplexing protocol; it needs no kernel support except that
needed to run a command-line session not attached to a physical
terminal, and networking has long since made that available on
any competent OS.

Norman Wilson
Toronto ON

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-07-02 15:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-29 22:15 [TUHS] Jerq menuhit/mhit Noel Hunt
2023-06-29 22:22 ` [TUHS] " Andrew Hume
2023-06-30 15:28   ` Seth Morabito
2023-06-30 22:14     ` Rob Pike
2023-07-02  7:10       ` arnold
2023-07-02 14:13         ` Dave Brown
2023-07-02 14:27           ` arnold
2023-07-02 15:14 Norman Wilson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).