[comp.sys.next] Csh & key bindings

cloos@batcomputer.tn.cornell.edu (James H. Cloos Jr.) (02/25/89)

I've tried to set up my key bindings in csh w/ editmode=emacs.  I've had
some problems doing this.  My ~/.bindings looks like this:
bind-to-key	EndOfFile		\^]
bind-to-key	EraseLine		\^u
bind-to-key	InsertLiteralChar	\^^
bind-to-key	Repitition		\^v
bind-to-key	SaveMacroFile		\^x\^\\

I sometimes use rlogin or telnet to the NeXT, and when doing so am
constrained to use XON/XOFF, therefore rebinding SaveMacroFile to C-xC-\.
The others are set for aesthetic reasons.

The problem is that I get error messages that the functions Repetition and
SaveMacroFile do not exist, even though according the the man pages my
~/.bindings should work.

Further, C-u does not get rebound to EraseLine; it remains Repitition.
Also, rather than binding C-^ to InsertLiteralChar, ^ gets bound to
InsertLiteralChar.  Even C-] seems to misfunction (or more precisely not to
get bound to anything.)

Is this just an incredibly buggy implementation of the (NeXT)csh?  Or are
the manual pages out of date with the executable?  How do I get around
these problems?

Any help is appreciated.

-JimC

P.S.	Does anyone know the status of the attempt(s) to port X11 to the
	cubes?  (I'd like to get emacs in its own window w/o using
	Terminal -Shell emacs &)
--
James H. Cloos, Jr.          "Entropy isn't what it used to be."
jhc@Crnlvax5.BITNET            --c/o Fortune @ batcomputer.UUCP
jhc@Vax5.CCS.Cornell.ED		 #include <std_disclaimers.h>
cornell!vax1!vax5.cit.cornell.edu!jhc@rochester.UUCP
B-7 Upson Hall, Cornell Univ., Ithaca, NY 14853   +1 607 272 4519

marc@athena.mit.edu (Marc Horowitz) (03/02/89)

first, as to the status of X11, we are in the process of finding someone with
the time and expertise to try to port X.  There are some ideas people have,
but none have been tested, and the documentation is no help.  Basically, the
idea is to have an X server run in a window under DPS.  Supposedly, there
is a way to bypass DPS and have the NeXT hand you the address of a RAM buffer
you can write to directly which will then be interpreted as a window by the
window manager.  < I may have some of this wrong -- it is second-hand info. >

Second:
We have been very busy attempting to port our Athena stuff to the NeXT.  We
have been (mostly) successful in porting Kerberos, Hesiod, and Zephyr.

Third:
I was responsible for porting zephyr (our interclient communications system)
to the NeXT.  The normal run-the-client-in-a-shell programs work fine, but
I decided I would kill 2 birds w/ 1 stone and put IB front ends on them.
Without Objective-C documentation, this has been interesting, but I have most
of the problems solved.  These are the unsolved ones:

Text Object:
	If I set the string (using setText:), and the string has two lines
(separated by \n's), only the first is displayed.  The second line is there, 
and appears once I force the object to change, and can be read with
getSubstring:::.  How do I get multiple lines to display correctly?
Later, how will I insert text under program control at the end or in the
middle?  None of the methods in the documentation seem to work.

Menu Object:
	In the interface builder, I have the action from a button and a menu
item both connected to the same action (called send:).  When I click on the
button, it does exactly what it is supposed to do.  When I use the command-s
key I have assigned to this menu, I get some pointer lossage (replicable but
tough to pin down).  When I select the menu item directly, the program
seg faults without an error message.


		That's all for now.

		Marc Horowitz
		Project Athena Watchmaker