Bug 248028 - serial console capabilities are not detected, just forced to vt100-nev
serial console capabilities are not detected, just forced to vt100-nev
Product: Fedora
Classification: Fedora
Component: anaconda (Show other bugs)
All Linux
low Severity medium
: ---
: ---
Assigned To: Joel Andres Granados
Depends On:
  Show dependency treegraph
Reported: 2007-07-12 14:51 EDT by Grzegorz Jaskiewicz
Modified: 2008-02-14 16:08 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-02-14 16:08:11 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
patch for inclusion of term=value argument. (3.00 KB, text/x-patch)
2008-02-13 15:06 EST, Joel Andres Granados
no flags Details

  None (edit)
Description Grzegorz Jaskiewicz 2007-07-12 14:51:44 EDT
Description of problem:

 serial console capabilities are not detected, just forced to vt100-nev

 here are ways to query console server about capabilities - "ESC CSI c", 
 in  response - nothing or "\033[?1;2c" means vt100, "\033[?62;1;2c" means 
 vt220 (colors and goodies). please use that in init.c (anaconda) instead of 
 hardcoding it for serial consoles, and (bah!) Xen consoles.

How reproducible:

 use xterm, or anything else - that is proper console termial with anaconda
 over serial console or xen serial. You get black/white output, no F keys 
 working, etc, etc.

Expected results:

 expected to work with proper console terminals.

I don't really know how to patch it, so that you guys won't reject patch.
My best shot would be changing setupTerminal, so before setting 
TERM=vt100-nav - it also sends "ESC CSI c" and checks the response.
Comment 1 Chris Lumens 2007-08-23 16:41:59 EDT
Changing product to Fedora devel since this isn't likely to make it into a RHEL
update release...
Comment 2 Joel Andres Granados 2008-02-13 15:05:54 EST
Think that adding an argument is the way to go here: term=value.  It will fall
back to vt100-nav (thats what it was doing).  
Comment 3 Joel Andres Granados 2008-02-13 15:06:33 EST
Created attachment 294828 [details]
patch for inclusion of term=value argument.
Comment 4 Joel Andres Granados 2008-02-14 05:42:03 EST
Before commiting:  What was the problem with using the utf8 command line
argument?  That activates vt110.
Comment 5 Joel Andres Granados 2008-02-14 16:08:11 EST
Tested on installations with serial cables and on xen installations and the
vt110, vt220 and vt520 terminal present the same behavior (as far as I can
tell).  If you feel compelled to getting this into rawhide please give a test
case in which vt220 or vt520 has advantages over vt110.

Note You need to log in before you can comment on or make changes to this bug.