From setantae@submonkey.net  Mon Jan 12 11:47:37 2004
Return-Path: <setantae@submonkey.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id B480916A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 12 Jan 2004 11:47:37 -0800 (PST)
Received: from shaft.techsupport.co.uk (shaft.techsupport.co.uk [212.250.77.214])
	by mx1.FreeBSD.org (Postfix) with ESMTP id D3BBB43D53
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 12 Jan 2004 11:47:25 -0800 (PST)
	(envelope-from setantae@submonkey.net)
Received: from cpc2-cdif3-6-0-cust204.cdif.cable.ntl.com
	([81.103.67.204] helo=shrike.submonkey.net ident=mailnull)
	by shaft.techsupport.co.uk with esmtp (TLSv1:DHE-RSA-AES256-SHA:256)
	(Exim 4.30; FreeBSD)
	id 1Ag820-000DUd-H7
	for FreeBSD-gnats-submit@freebsd.org; Mon, 12 Jan 2004 19:47:24 +0000
Received: from setantae by shrike.submonkey.net with local (Exim 4.30; FreeBSD)
	id 1Ag81y-0007IT-7Y
	for FreeBSD-gnats-submit@freebsd.org; Mon, 12 Jan 2004 19:47:22 +0000
Message-Id: <E1Ag81y-0007IT-7Y@shrike.submonkey.net>
Date: Mon, 12 Jan 2004 19:47:22 +0000
From: Sabahattin Gucukoglu <mail@sabahattin-gucukoglu.com>
Sender: Ceri Davies <setantae@submonkey.net>
Reply-To: Sabahattin Gucukoglu <mail@sabahattin-gucukoglu.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Unable To Use VT100 Terminal Emulator (TeraTirm Pro) To Install FreeBSD 5.2RC2 On I386 Over Serial Line
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         61264
>Category:       bin
>Synopsis:       sysinstall(8): unable To Use VT100 Terminal Emulator (TeraTirm Pro) To Install FreeBSD 5.2RC2 On I386 Over Serial Line
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    brucec
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 12 11:50:11 PST 2004
>Closed-Date:    Thu Jun 24 13:04:34 UTC 2010
>Last-Modified:  Thu Jun 24 13:04:34 UTC 2010
>Originator:     Sabahattin Gucukoglu
>Release:        FreeBSD 5.2-RC2
>Organization:
I Need More Of This
>Environment:
	N/A
	
>Description:
      Using either Hyperterminal or TeraTerm Pro - Windows-based VT100
      and ANSI terminal emulators - to follow instructions given in the
      handbook about installing FreeBSD headless (i.e. over serial line)
      aren't successful.  In particular, when VT100 terminal is selected
      for Sysinstall, the pageup/pagedn keys don't work as they are
      advertised, and the terminal is regularly corrupted - repeated
      lines, overlapping lines, uncleared screen resulting in bits of
      text that escaped the previous screen, etc.  I would use the ANSI
      terminal option for installation, because that would give me only
      7-bit plain old ASCII, but that's even more hopeless - down arrow
      in main menu somehow gets you the "Do you really want to exit"
      prompt, and the same happens when you pick "FreeBSD System
      Console".  The selection is made prior to entering sysinstall, by
      the boot floppies, by typing a number 1-5.  My reasons for doing
      this are that I am totally blind and, not being able to see the
      terminal screen, can't do the installation in any other way.  The
      hope was that if I could get FreeBSD installed with SSHD/TelnetD,
      the whole issue of accessibility aids would not be a problem - I
      might install them later if necessary or if system administration
      somehow became problematic, but at least I could administer the
      system from more accessible systems.  I could also instruct the
      bootloader to use - -P to kernel, giving me access through the
      serial port until those networking features were ready.

>How-To-Repeat:

    Connect Windows PC running either of these terminal emulators
    (preferably TeraTerm Pro as it needs zero extra configuration and
    which is freely available at
    http://hp.vector.co.jp/authors/VA002416/teraterm.html ) to a
    candidate box for FreeBSD 5.2-RC2.  Then, follow the handbook
    guidance for serial installation, and use the Windows PC as "Some
    sort of VT100/compatible terminal".  The only exception to this -
    when you first boot the floppy, rather than going through the
    lengthy bit about disconnecting/reconnecting the keyboard, you could
    just type "-h" at the bootstrap prompt, press enter, and you'll get
    stuff spewing on the terminal.  When you are through the kernel
    decompress/boot, use "VT100/Compatible" as the terminal choice when
    prompted (it should be option 2).  First, try the usage screen - tap
    pagedn, which is assigned the VT100 "Next" key.  From the main menu,
    choose Options (try using the cursors, you'll see what I mean, you
    may see screen corruption, but if not make the selection and then
    cursor around - - say DHCP.  Tap space to change the flag, and you
    should now definitely see some terminal corruption.  Also from your
    encounter with the usage screen or other submenus in this system
    like the custom install you may be able to see remnents of previous
    screens.

>Fix:

      Q&D Fix recommendation - redraw screen after every single
      dialog/menu.  Ugh...  but necessary.  That's what Debian GNU/Linux
      does & it works.  Any chance of a completely text-mode (i.e. no
      pretty graphics) installation process using only prompts for
      readline input?  :-)


>Release-Note:
>Audit-Trail:

From: Andy Farkas <andyf@speednet.com.au>
To: Sabahattin Gucukoglu <mail@sabahattin-gucukoglu.com>
Cc: FreeBSD-gnats-submit@freebsd.org, freebsd-bugs@freebsd.org
Subject: Re: misc/61264: Unable To Use VT100 Terminal Emulator (TeraTirm Pro)
 To Install FreeBSD 5.2RC2 On I386 Over Serial Line
Date: Tue, 13 Jan 2004 09:36:19 +1000 (EST)

 Sabahattin Gucukoglu wrote:
 
 > >Description:
 >       Using either Hyperterminal or TeraTerm Pro - Windows-based VT100
 >       and ANSI terminal emulators
 
 I would say the problem is with the emulators. I just tested with a
 genuine VT220 and there is no screen corruption. The up/down arrow keys
 work as expected, but the "Next Screen" and "Prev Screen" keys do not.
 
 --
 
  :{ andyf@speednet.com.au
 
         Andy Farkas
     System Administrator
    Speednet Communications
  http://www.speednet.com.au/
 
 
Responsible-Changed-From-To: freebsd-bugs->freebsd-qa 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sun Aug 29 05:25:29 GMT 2004 
Responsible-Changed-Why:  
sysinstall problem (perhaps?) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=61264 
Responsible-Changed-From-To: freebsd-bugs->brucec  
Responsible-Changed-By: brucec 
Responsible-Changed-When: Wed Jun 23 15:13:09 UTC 2010 
Responsible-Changed-Why:  
Take. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=61264 
State-Changed-From-To: open->closed  
State-Changed-By: brucec 
State-Changed-When: Thu Jun 24 12:59:55 UTC 2010 
State-Changed-Why:  
VT100 emulation does work when all the components are working correctly. I saw  
the screen corruption described when using both IVT and Tera Term (from 
http://ttssh2.sourceforge.jp) but only when running FreeBSD in a VirtualBox VM. 
When using VMWare Workstation the VT100 emulation worked correctly; I presume 
VirtualBox doesn't program the emulated serial port properly. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=61264 
>Unformatted:
