Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: [PATCH] Text file viewer

[PATCH] Text file viewer

From: <indigo99_at_netcourrier.com>
Date: Mon Sep 30 19:04:47 2002

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)

I also sumbited the patch on sourceforge.

gilles.

-------------------------------------------------------------
NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar...
Web/Wap : www.netcourrier.com
Téléphone/Fax : 08 92 69 00 21 (0,34 € TTC/min)
Minitel: 3615 NETCOURRIER (0,15 € TTC/min)


Received on 2002-09-30

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy