Hi Ed/Steve,
QM uses the TERM environment variable to determine the default terminal type. Perhaps the Linux terminal emulation does too. I don’t know.
I have just tested with Ubuntu and the linux terminal type and it is working fine.
Please try the following little test program. This will display the characters sent by each keystroke until you enter a space. Use it to see what the cursor keys or others that are causing problems are actually sending.
loop
c = keyin()
until c = ' '
n = seq(c)
if n >= 32 then
display fmt(seq(c), '5L') : ' ' : dtx(seq(c), 4) : ' ' : c
end else display seq(c)
repeat
end
Martin
I published a keyboard map for AccuTerm which allows us to use standard keyboard keys to navigate QM TCL and SED:
http://www.pickwiki.com/cgi-bin/wiki.pl?AccuTermKeyboardMapping
Unfortunately, I haven't had time to work out what happens when we shell out to the OS where the mapping is different. I believe if you fire up AccuTerm and create a new connection type for host "Linux" that your key mapping will allow smooth navigation through the shell. While I haven't done it I expect it would be easy to save that mapping and then toggle to the QM mapping using a hotkey.
I hope that helps someone…
T
From: Ed Jahn
vt100 does not work :(
So far, "linux" seems to do best with arrow keys, so that is what I have been using.
The default is "xterm", which has its own strangeness. In "xterm", unlike the other types, TERM COLOR works -- but the arrow keys do not.
TERM DISPLAY shows what character sequences the terminal type sends. By writing a file with ED and hitting the keys, I confirmed that the sequences being sent are those that TERM DISPLAY shows.
Oddly, within ED the backspace, delete, right- and left-arrow keys work, contrary to what you would expect in a line editor, and even though the command line does not understand them.
If I can find out what sequences the command line editor needs, I could make a terminal type to send them.
On Tuesday, May 7, 2013 9:50:50 AM UTC-4, Steve Trimble wrote:
i might try vt100
i think that might be the default, but not 100% sure
Steve Trimble
Computerized Data Mgmt Inc
2705 Justin Matthews Dr
N Little Rock, AR 72116
(501) 615-8674 09:00am - 6:00pm CST
From: Ed Jahn <ejah....@gmail.com>
To: ope...@googlegroups.com
Sent: Tue, May 7, 2013 8:36:13 AM
Subject: what terminal type for ubuntu linux on intel pc?
After working in Windows for too many years, I am getting started in linux. Got a good deal on a Dell PC with pre-loaded with Ubuntu 2..10.
Hi Mike,
Following a bit of research by Ed, we have added a new terminfo definition named xterm-ubuntu for release 3.0-9.
Martin Phillips
Ladybridge Systems Ltd
17b Coldstream Lane, Hardingstone, Northampton NN4 6DB, England
+44 (0)1604-709200