From owner-freebsd-small Tue Oct 17 23: 5: 6 2000 Delivered-To: freebsd-small@freebsd.org Received: from ns1.qld.m2mtechnology.com (ns1.qld.m2mtechnology.com [203.24.40.1]) by hub.freebsd.org (Postfix) with ESMTP id 4661E37B4F9 for ; Tue, 17 Oct 2000 23:04:59 -0700 (PDT) Received: from hannama (ip132.qld.m2mtechnology.com [203.24.40.132]) by ns1.qld.m2mtechnology.com (8.9.3/8.9.3) with SMTP id QAA06942; Wed, 18 Oct 2000 16:04:18 +1000 (EST) Message-ID: <010601c038c9$43b214a0$842818cb@gc.deepsky.net> From: "Andrew Hannam" To: "Jeffrey S. Sharp" , References: <003401c03896$d835fac0$f4831b18@quark> Subject: Re: Arrow keys in terminal emulator Date: Wed, 18 Oct 2000 16:04:17 +1000 Organization: FamZon Systems MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 Disposition-Notification-To: "Andrew Hannam" X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Try using the FreeBSD "ansi" terminal type ----- Original Message ----- From: "Jeffrey S. Sharp" To: Sent: Wednesday, October 18, 2000 10:03 AM Subject: Arrow keys in terminal emulator > I hope this isn't too terribly off-topic... > > A FreeBSD embedded application I'm working on needs to allow login over > a serial line for field testing purposes. The field testers will most > likely be using Windows laptops with its Hyperterminal emulation > program. For maximum compatibility, I'm using the vt100 terminal type. > > Everything is working fine -- except for the arrow keys. I've tried > every permutation of Hyperterminal settings, but FreeBSD programs aren't > getting the correct escape sequences when I press arrow keys in the > terminal emulator. Emacs, for instance, just displays "ESC-" and waits > for more input. At least one of these three things must be hapenning: > > (1) Hyperterminal isn't transmitting the right sequences for arrow keys, > and I need to find another terminal emulator; > > (2) Some setting is wrong on the FreeBSD end, and the sequences aren't > being interpreted properly; or > > (3) You just can't use the arrow keys from within a terminal emulator. > > If anyone could suggest how I can get some function out of the arrow > keys, it would be greatly appreciated. > > =============================== > Jeffrey S. Sharp (XorAxAx) > jss@subatomix.com > > -----BEGIN GEEK CODE BLOCK----- > Version 3.12 > GCS/IT/MU d-@ s-:+ a21 C++(++++) UBL+(+++$)> P L+(+++$)> > E+> W++ N+(++) o? K? w++$> !O M(-) !V PS+ PE Y PGP- t+ > 5 X+ R(+) tv+ b+ DI++(+++) G++ e> h--- r+++ y+++ > ------END GEEK CODE BLOCK------ > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-small" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message