[BusyBox 0000215]: /bin/vi status line is too long, can't edit in portrait orientation QVGA

bugs at busybox.net bugs at busybox.net
Wed Sep 14 13:58:51 UTC 2005


A NOTE has been added to this issue. 
====================================================================== 
http://busybox.net/bugs/view.php?id=215 
====================================================================== 
Reported By:                stefan kemper
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   215
Category:                   Standards Compliance
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             04-06-2005 21:42 PDT
Last Modified:              09-14-2005 06:58 PDT
====================================================================== 
Summary:                    /bin/vi status line is too long, can't edit in
portrait orientation QVGA
Description: 
BusyBox v1.00 (2005.02.15-17:33+0000) multi-call binary
familiar 0.8.1  IPAQ 3850
Linux h3600 2.4.19-rmk6-pxa1-hh37 http://busybox.net/bugs/view.php?id=1 Tue Feb
22 19:37:13 CET 2005 armv4l
unknown

vi works fine in landscape, but in portrait mode on a QVGA screen the
status line is too long this causes severe usability issues as soon as the
cursor moves to a new line either with an insert mode enter or a command
mode up down traversal; there is an extra status line for each up or down
movement obscuring the files content. 

Switching from portrait to landscape and back, refreshes the screen till
the next up/down movement.
Looks like esc esc also causes a refresh.

Possible solutions:

1) I would be happy with
-- INSERT --
as the status line.

2) Checking for screen width and truncating the status line.

3) Or shortening the status line:
"filename" [Modified] line 10 of 8512 --1%--
Shortened status:
filename* 10/8512  100%



PS:
I'm missing the build spec of busybox on familiar 0.8.1, any ideas where
to fetch one, and I can build it myself.

Thanks.
Stefan



====================================================================== 

---------------------------------------------------------------------- 
 pgf - 09-14-05 06:58  
---------------------------------------------------------------------- 
i've posted a patch to help with this to the mailing list -- perhaps you
could try out that patch -- it truncates the status line correctly.  i
also have further changes to dynamically shorten the status line -- that
will be a configurable feature. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-06-05 21:42  stefan kemper  New Issue                                    
09-14-05 06:58  pgf            Note Added: 0000520                          
======================================================================




More information about the busybox-cvs mailing list