Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Feb 2001 20:31:40 +0100 (CET)
From:      schweikh@schweikhardt.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/25461: sysinstall's fdisk and disklabel don't work in color xterms.
Message-ID:  <200102281931.f1SJVeQ01783@hal9000.schweikhardt.net>

next in thread | raw e-mail | index | archive | help

>Number:         25461
>Category:       bin
>Synopsis:       sysinstall's fdisk and disklabel don't work in color xterms.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 28 11:40:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Jens Schweikhardt
>Release:        FreeBSD 4.2-RELEASE i386
>Organization:
An Open Pod Bay Door
>Environment:

FreeBSD hal9000.schweikhardt.net 4.2-RELEASE FreeBSD 4.2-RELEASE #0: Mon Feb 26 22:36:59 CET 2001     toor@hal9000.schweikhardt.net:/usr/src/sys/compile/HAL9000  i386
>Description:

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)
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102281931.f1SJVeQ01783>