Rockbox

Tasklist

FS#322 - Text file viewer

Attached to Project: Rockbox
Opened by Gilles Roux (indigo99) - Monday, 30 September 2002, 03:27 GMT
Last edited by Daniel Stenberg (bagder) - Monday, 30 September 2002, 19:07 GMT
Task Type Patches
Category
Status Closed
Assigned To Daniel Stenberg (bagder)
Operating System
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Hi,

This patch allows to view text files using rockbox.
The viewer can be launched from the directory browser
by "playing" any text file having a ".txt" extension. Both
unix and dos text files are supported.
The viewer uses a 1k buffer so the disk will be accessed
after browsing a few pages. Since the file is not loaded
in memory entirely, it is possible to view very large files
without any delay.
The viewer works on the player and the recorder (only
tested on the simulator).

Key assignment
scroll down: down for the recorder, right for the player
scroll up: up for the recorder, left for the player
scroll right: right for the recorder, menu+right for the
player
scroll left: left for the recorder, menu+left for the player
exit: F1 for the recorder, stop for the player

Known issue
- The viewer will display uncoherent data if the size of
the lines displayed on the lcd exceeds the size of the
buffer (files with very long lines)

gilles.
This task depends upon

Closed by  Daniel Stenberg (bagder)
Monday, 30 September 2002, 19:07 GMT
Reason for closing:  Accepted
Additional comments about closing:  Logged In: YES
user_id=1110

Applied and committed to CVS.

Thanks!

I'd love to see a word-wrap version/option too, that'll wrap
the words at end of screen.
Comment by Daniel Stenberg (bagder) - Monday, 30 September 2002, 19:07 GMT

Applied and committed to CVS.

Thanks!

I'd love to see a word-wrap version/option too, that'll wrap
the words at end of screen.

Loading...