Skip to content

Atari Portfolio address file reader

License

Notifications You must be signed in to change notification settings

simonrupf/PoFo_adr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Atari Portfolio address file reader

Little command line reader application for the Atari Portfolio address file format. While intended to store addresses, it is a neat little key/value database and can be used to store all kinds of information. Many Portfolio users stored other things in it, for example command references, notes or task lists.

Usage

The application mimics the hot keys and modes of the Address application on the Atari Portfolio. It has two modes: Initially the list of all database entries is presented. When an entry is selected via the cursor keys, pressing [Enter] switches to the selected page. Hitting [Escape] returns you to the list. Press it again to leave the application.

             press [Enter]
┌─────────┐---------------->┌─────────┐
│line mode│                 │page mode│
└─────────┘<----------------└─────────┘
             press [Escape]

Keys in line mode:

  • [Cursor Up] selects previous entry
  • [Cursor Down] selects next entry
  • [Enter] switches to page mode and displays selected entry
  • [Escape] closes the application

Keys in page mode:

  • [Page Up] selects previous entry
  • [Page Down] selects next entry
  • [Escape] switches to list mode

Build

The application is written in Rust 🦀 and you need to have cargo and rustc installed to build it. Example:

$ make help
Usage: make <target(s)>

Specify one or multiple of the following targets and they will be processed in the given order:
build           Build the binary for debug (default).
release         Build the binary for release.
lint            Run fmt & clippy on the code to come up with improvements.
help            Displays these usage instructions.
$ make release
cargo build --release
   Compiling libc v0.2.151
   Compiling ryu v1.0.5
   Compiling autocfg v1.1.0
   Compiling proc-macro2 v1.0.71
   Compiling cfg-if v1.0.0
   Compiling byteorder v1.3.4
   Compiling memchr v2.3.3
   Compiling unicode-ident v1.0.12
   Compiling serde v1.0.116
   Compiling rustversion v1.0.14
   Compiling quote v1.0.33
   Compiling log v0.4.11
   Compiling version_check v0.9.4
   Compiling regex-automata v0.1.9
   Compiling lock_api v0.4.11
   Compiling ahash v0.8.7
   Compiling lazy_static v1.4.0
   Compiling cfg-if v0.1.10
   Compiling parking_lot_core v0.9.9
   Compiling signal-hook v0.3.17
   Compiling csv-core v0.1.10
   Compiling signal-hook-registry v1.4.1
   Compiling once_cell v1.19.0
   Compiling syn v1.0.109
   Compiling itoa v0.4.6
   Compiling scopeguard v1.1.0
   Compiling smallvec v1.11.2
   Compiling zerocopy v0.7.32
   Compiling mio v0.8.10
   Compiling syn v2.0.43
   Compiling num-traits v0.2.12
   Compiling heck v0.4.1
   Compiling allocator-api2 v0.2.16
   Compiling paste v1.0.14
   Compiling hashbrown v0.14.3
   Compiling signal-hook-mio v0.2.3
   Compiling parking_lot v0.12.1
   Compiling bstr v0.2.13
   Compiling castaway v0.2.2
   Compiling either v1.9.0
   Compiling csv v1.1.3
   Compiling static_assertions v1.1.0
   Compiling itoa v1.0.10
   Compiling bitflags v2.4.2
   Compiling crossterm v0.27.0
   Compiling codepage-437 v0.1.0
   Compiling compact_str v0.7.1
   Compiling itertools v0.12.1
   Compiling strum_macros v0.26.1
   Compiling lru v0.12.2
   Compiling unicode-width v0.1.8
   Compiling indoc v2.0.4
   Compiling iana-time-zone v0.1.58
   Compiling unicode-segmentation v1.10.1
   Compiling cassowary v0.3.0
   Compiling chrono v0.4.33
   Compiling strum v0.26.1
   Compiling stability v0.1.1
   Compiling ratatui v0.26.0
   Compiling pofo_adr v0.2.2 (Projects/PoFo_adr)
    Finished release [optimized] target(s) in 42.98s
$ target/release/pofo_adr examples/ez-ref.adr
╔ examples/ez-ref.adr ═══════════════════════════════════════════════════ #122 ╗
║ ABACUS BOOKS  (616)698-0330                                                  ║
║ AC Adapter [HPC-401]                                                         ║
║ Address Book                                                                 ║
║ ADR file                                                                     ║
║ application                                                                  ║
║ app (applications)                                                           ║
║ ARTISAN SOFTWARE (209)239-1552                                               ║
║ ascii (American Standard Code)                                               ║
║ ATARI COMPUTER CORPORATION (408)744-0880 [cust serv] (408)745-2191 [BBS] (408║
║ ATARI EXPLORER MAGAZINE  (218)723-9202 [subscribe]                           ║
║ AUTOBYTE  (514)637-6232 [main]  (514)637-1491 [fax]                          ║
║ autoexec.bat                                                                 ║
║ AWARE ELECTRONICS  (302)655-3800 [main/fax]                                  ║
║ backup                                                                       ║
║ bar code scanner                                                             ║
║ batteries                                                                    ║
║ bit                                                                          ║
║ bit-mapped graphics                                                          ║
║ BSE  (714)832-4316 [main] (714)832-5381 [fax]                                ║
║ byte                                                                         ║
║ cable                                                                        ║
║ Calculator                                                                   ║
╚ Sun 20 Sep 20 15:46 ═════════════════════════════════════════════════════════╝