Subject: Re: sam confused, Q: arrow keys
Date: Tue, 30 May 1995 09:29:53 -0400 [thread overview]
Message-ID: <9505301229.AA12761@cheetah> (raw)
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>
> 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
next prev parent reply other threads:[~1995-05-30 12:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <9505291641.AA71874@rexsrvr2.summitis.com>
1995-05-29 15:43 ` Joerg Wittenberger
1995-05-30 13:29 ` hc05 [this message]
1995-05-30 14:00 ` Arnold D. Robbins
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).