Bug 25461

Summary: sysinstall's fdisk and disklabel don't work in color xterms.
Product: Base System Reporter: Jens Schweikhardt <schweikh>
Component: binAssignee: freebsd-qa (Nobody) <qa>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.2-RELEASE   
Hardware: Any   
OS: Any   

Description Jens Schweikhardt 2001-02-28 19:40:01 UTC
When entering sysinstall's fdisk or disklabel menu from within an
xterm (or rxvt) with TERM=xterm-color, only the currently highlighted
line is visible. All other text is invisible.

How-To-Repeat: 
1. start an xterm
2. export TERM=xterm-color
3. run /stand/sysinstall in that xterm
4. chose 'Configure    Do post-install configuration of FreeBSD'
5. chose 'Fdisk        The disk Slice (PC-style partition) Editor'
6. chose a disk (press space)

In a plain xterm, the whole screen shows red background with only one
line with yellow text, e.g.

   8466255        945    8467199        -      6     unused        0

All other text is not displayed (it's red on red); you can see other
lines using the arrow keys, but only one line at a time is displayed.
Header and footer are always invisible.

If instead you do
5. chose 'Label            The disk Label editor'
the same effect manifests. In addition some highlighting is not properly
undone when moving from the first partition entry up to the last slice
entry, e.g. in my case when moving from the line with da0s1a to the line
with da0s2 (this happens at the console as well: the da0s1a stays
highlighted; under X11 it changes from yellow foreground to black
foreground.)

                         FreeBSD Disklabel Editor

Disk: da0       Partition name: da0s1   Free: 0 blocks (0MB)
Disk: da0       Partition name: da0s2   Free: 0 blocks (0MB)

Part      Mount           Size Newfs  Part      Mount           Size Newfs
----      -----           ---- -----  ----      -----           ---- -----
da0s1a    <none>          80MB *      da0s2e    <none>         941MB *
da0s1b    swap           128MB SWAP
da0s1e    <none>         600MB *
da0s1f    <none>         512MB *
da0s1g    <none>         128MB *
da0s1h    <none>          80MB *
da0s1d    <none>        1664MB *


Regards,

	Jens
-- 
Jens Schweikhardt http://www.schweikhardt.net/
SIGSIG -- signature too long (core dumped)
Comment 1 Kris Kennaway freebsd_committer freebsd_triage 2001-03-24 05:45:04 UTC
Responsible Changed
From-To: freebsd-bugs->jkh

jkh is Mr Sysinstall
Comment 2 jkh freebsd_committer freebsd_triage 2001-08-31 01:26:43 UTC
Responsible Changed
From-To: jkh->eric

Eric handles sysinstall problems now
Comment 3 jkh freebsd_committer freebsd_triage 2001-08-31 01:26:43 UTC
Responsible Changed
From-To: jkh->eric

Just Because
Comment 4 Eric Melville freebsd_committer freebsd_triage 2001-10-01 19:51:29 UTC
Responsible Changed
From-To: eric->freebsd-qa

assign idle sysinstall bugs to freebsd-qa, as suggested by murray
Comment 5 Johan Karlsson freebsd_committer freebsd_triage 2002-08-25 03:18:35 UTC
Responsible Changed
From-To: freebsd-qa->qa

Use short names for mailing list to make searches    
using the web query form work with the shown responsible. 

This also makes open PRs show up in the summery mail.
Comment 6 Jens Schweikhardt freebsd_committer freebsd_triage 2004-01-20 18:40:03 UTC
State Changed
From-To: open->closed

I (the originator) can't reproduce this on 5-CURRENT with 
current XFree86 and xterm. Everything works as expected.