From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from relay3.UU.NET ([192.48.96.8]) by hawkwind.utcs.utoronto.ca with SMTP id <24171>; Tue, 30 May 1995 08:40:41 -0400 Received: from uucp6.UU.NET by relay3.UU.NET with SMTP id QQyryo18625; Tue, 30 May 1995 08:40:32 -0400 Received: from rexago8.UUCP by uucp6.UU.NET with UUCP/RMAIL ; Tue, 30 May 1995 08:40:32 -0400 Received: by summitis.com (smail2.5) id AA26604; 30 May 95 08:32:25 EDT (Tue) Received: from summitis.com by rserv1.summitis.com; Tue, 30 May 1995 08:30 EDT Received: from cheetah by rexsrvr2.summitis.com (AIX 3.2/UCB 5.64/4.03) id AA163109; Tue, 30 May 1995 08:29:58 -0400 Received: by cheetah (AIX 3.2/UCB 5.64/4.03) id AA12761; Tue, 30 May 1995 08:29:55 -0400 From: hc05@summitis.com Message-Id: <9505301229.AA12761@cheetah> X-Mailer: exmh version 1.6 4/21/95 To: sam-fans@hawkwind.utcs.toronto.edu Cc: hc05@summitis.com Subject: Re: sam confused, Q: arrow keys In-Reply-To: (Your message of Mon, 29 May 95 11:43:55 D.) <9505291641.AA71874@rexsrvr2.summitis.com> <199505291543.AA10449@ibch10.inf.tu-dresden.de> Mime-Version: 1.0 Date: Tue, 30 May 1995 09:29:53 -0400 Content-Type: text/plain > Hello, > > I got sam a couple of days ago. I guess it's a nice thing. But I ran > into two problems with it: > > 1) sometimes I end up in a situation when the whole editing menu > (second mouse key) is displayed with parens around the topics and none > of the commands typed into the ~sam~ window has any effect. I neither > understand how I get into this situation nor how to escape from. All I > can do is to terminate sam. Any help? This means that sam is trying to process a command and hasn't finished. The fact that you are stuck there is bad. > > 2) The arrow keys: I'm sitting in front of an AIX. When I try to move > the cursor using the arrow keys they seem to have all the effect of > page up/down. I can't move character or line wise. How can I get an > usable key binding? You should first understand how sam was designed. The idea is that you use the keyboard for entering text, and the mouse for control. You are supposed to use the mouse to move the cursor, not the keyboard. Having said that, you can get the samx patches for sam, which give you arrow keys like you expect, the ability to define macros, and autoindent. I use the package mainly for autoindent (I would have quit using sam without it), but the arrow keys are handy too. BTW, I don't know offhand where to get the samx patches, but others do. > > 3) On different point (unrelated to sam): I attempt to compile 9term > for the AIX, but I failed. I had to change some code to open a pty (as > usual with AIX everything is a little different) into a mix of the two > kinds already in the file pty.c. After doing so I ended up with an > executable which opened a window. But the shell was obviewsly started > on a complete different pty!! (After some tries starting and killing > the 9term, I was left with a window where a couple of shells shared > ONE pty. Fancy.) Any idea where to look? Did someone succed to compile > 9term for the AIX (version 3)? I have a mostly working 9term for AIX 3.2.5. I had to rewrite the pty logic. It works mostly. The things that need work are the special keys like INTR and job-control, and it dies occasionally. I can send it to you if you want to tinker more. I don't use 9term much, so I haven't gotten around to finishing it. Beirne