| Summary: | sysinstall's fdisk and disklabel don't work in color xterms. | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Jens Schweikhardt <schweikh> |
| Component: | bin | Assignee: | freebsd-qa (Nobody) <qa> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | 4.2-RELEASE | ||
| Hardware: | Any | ||
| OS: | Any | ||
Responsible Changed From-To: freebsd-bugs->jkh jkh is Mr Sysinstall Responsible Changed From-To: jkh->eric Eric handles sysinstall problems now Responsible Changed From-To: jkh->eric Just Because Responsible Changed From-To: eric->freebsd-qa assign idle sysinstall bugs to freebsd-qa, as suggested by murray 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. 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. |
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)