From owner-freebsd-questions Tue Apr 30 13:47:23 2002 Delivered-To: freebsd-questions@freebsd.org Received: from router.darlow.co.uk (pc2-bigg2-0-cust101.ltn.cable.ntl.com [213.107.35.101]) by hub.freebsd.org (Postfix) with ESMTP id 9526637B417 for ; Tue, 30 Apr 2002 13:47:16 -0700 (PDT) Received: from there (neil@ideal.darlow.co.uk [192.168.0.2]) by router.darlow.co.uk (8.11.6/8.11.6) with SMTP id g3UKlEr49885 for ; Tue, 30 Apr 2002 21:47:15 +0100 (BST) (envelope-from neil@darlow.co.uk) Message-Id: <200204302047.g3UKlEr49885@router.darlow.co.uk> Content-Type: text/plain; charset="iso-8859-1" From: Neil Darlow To: freebsd-questions@freebsd.org Subject: RE: screen package - no resizing, doesn't recognize keyboard backspace Date: Tue, 30 Apr 2002 21:47:11 +0100 X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, The functionality of the screen terminal interface is defined in the termcap database (the source of which is located in /usr/share/misc/termcap). Look for a section beginning: SC|screen|VT 100 and read-up on cap_mkdb. The info file for screen describes various methods of adjusting the VT100 emulation performed by the program but quite possibly it may just be down to how you invoke the program. If you set the TERM environment variable before invoking screen you may achieve what you desire. For a bourne-compatible shell on the local system you would use: TERM=vt100 screen For a remote session over a SSH connection and a bourne-compatible shell you would use: TERM=vt100 ssh -l username remotehost screen I have found that setting TERM=vt100 helps with the functioning of Backspace and Delete keys for programs like emacs21. Regards, Neil Darlow M.Sc. -- 1024D/531F9048 1999-09-11 Neil Darlow GPG Fingerprint = 359D B8FF 6273 6C32 BEAA 43F9 E579 E24A 531F 9048 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message