From owner-freebsd-questions@FreeBSD.ORG Tue Feb 20 16:10:35 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A209916B0A7 for ; Tue, 20 Feb 2007 16:10:35 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id 64A6913C4C5 for ; Tue, 20 Feb 2007 16:10:35 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from seis.bris.ac.uk ([137.222.10.93]) by dirg.bris.ac.uk with esmtp (Exim 4.66) (envelope-from ) id 1HJXKN-0001Bg-0q for freebsd-questions@freebsd.org; Tue, 20 Feb 2007 15:54:53 +0000 Received: from mech-aslap33.men.bris.ac.uk ([137.222.184.33]) by seis.bris.ac.uk with esmtp (Exim 4.66) (envelope-from ) id 1HJXJV-0007JI-Qa for freebsd-questions@freebsd.org; Tue, 20 Feb 2007 15:53:58 +0000 Received: from mech-aslap33.men.bris.ac.uk (localhost.men.bris.ac.uk [127.0.0.1]) by mech-aslap33.men.bris.ac.uk (8.13.8/8.13.4) with ESMTP id l1KFpvLX014628 for ; Tue, 20 Feb 2007 15:51:57 GMT (envelope-from mexas@bristol.ac.uk) Received: (from shterenl@localhost) by mech-aslap33.men.bris.ac.uk (8.13.8/8.13.4/Submit) id l1KFpvAk014627 for freebsd-questions@freebsd.org; Tue, 20 Feb 2007 15:51:57 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-aslap33.men.bris.ac.uk: shterenl set sender to mexas@bristol.ac.uk using -f Date: Tue, 20 Feb 2007 15:51:57 +0000 From: Anton Shterenlikht To: freebsd-questions@freebsd.org Message-ID: <20070220155157.GA14595@mech-aslap33.men.bris.ac.uk> Mail-Followup-To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i X-Spam-Score: -1.3 X-Spam-Level: - Subject: ssh to VMS - terminal problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Feb 2007 16:10:35 -0000 HI I connect to a VMS box from my FreeBSD laptop via ssh. When I run a full screen text editor (EDIT) my terminal screen behaves unpredictably: cursor jumps from place to place, keystrokes produce characters in unpredictable places, screen menu flows with the text rather than stay at the bottom. Hovewer, if I scroll the offending bit up of down from the screen and back into the screen I can see my changes. I assume the problem lies in some terminal incompartibility. My box is % uname -a 6.2-PRERELEASE FreeBSD #0: Wed Nov 22 09:36:22 GMT 2006 root@:/usr/obj/usr/src/sys/SC i386 % I had exactly the same problem with 6.1. I use sc driver. In a desperate attempt to resolve the problem I tried pcvt driver, but that seems to be faulty and no longer supported, freezes screen and the keyboard. However, I'm not sure if the actual driver has anything to do with my problem. At the moment I use % echo $TERM cons25 % but I tried several other terminals I found in /etc/termcap, including various VT terminals. This is when I tried to use pcvt instead of sc, because I thought that maybe a VT term requires pcvt driver. Does it make any sense? On the other hand I tried to change terminal settings on the VMS box, which are many. At present these look as follows: $ show terminal/full Terminal: _FTA20: Device_Type: VT100 Owner: MEXAS Input: 9600 LFfill: 0 Width: 80 Parity: None Output: 9600 CRfill: 0 Page: 24 Terminal Characteristics: Interactive Echo Type_ahead No Escape Hostsync TTsync Lowercase Tab Wrap Scope No Remote No Eightbit Broadcast No Readsync No Form Fulldup No Modem No Local_echo No Autobaud No Hangup No Brdcstmbx No DMA No Altypeahd Set_speed No Commsync Line Editing Overstrike editing No Fallback No Dialup Secure server No Disconnect No Pasthru No Syspassword No SIXEL Graphics No Soft Characters No Printer Port Numeric Keypad ANSI_CRT No Regis No Block_mode Advanced_video No Edit_mode DEC_CRT No DEC_CRT2 No DEC_CRT3 No DEC_CRT4 No DEC_CRT5 No Ansi_Color VMS Style Input Backspace $ I cannot remember which settings I tried and which I did not, but the possible number of combinations is too big to try all. If I run ssh from a terminal emulator in xorg, all seems fine. Perhaps somebody can suggest an option to try or perhaps I'm missing someting alltogeter? thanks anton