TrivWriter Documentation

Introduction

TrivWriter is a free Palm application that can be used to create trivia sets, study guides, and other modules for Triv. Although it was designed to run on an actual Palm device, it can also be used on your PC or Macintosh by running it inside POSE (PalmOS Emulator), a free program from Palm Computing.

Table of Contents

Module Header Information

Module Info
Module Info

Each TrivWriter module contains a set of header fields that both identify the module (e.g., the name) and provide additional information to Triv users (using the Module Info menu option). Most of these fields are optional but highly recommended.

Note: on this screen and every other screen with text fields, the Graffiti "Next Field" (draw straight up then down) and "Previous Field" (draw straight down then up) characters can be used to move between fields.

Categories

Categories
Categories
Each TrivWriter module has 6 categories of questions. These are used in the Trivia Pizza and Triv Grid game variants in Triv but can be ignored if you prefer (e.g., set them to A, B, C, D, E, and F). The category name is restricted to 20 characters, but more importantly, the name should not overflow the width of the field on the screeen. Each category name should preferably begin with a different letter so that the Trivia Pizza pie piece labels are unique. Do not use any special characters in the category names (in particular, commas will be replaced with spaces). Category descriptions can be seen inside Triv using the Module Info menu option and cannot contain carriage returns (automatically replaced by spaces).

Tap on the number of the category that you want to edit or use the Page Down and Page Up hardware buttons to go to the next or previous category.

Questions

Questions
Questions
Each TrivWriter question consists of a question, an answer (and corresponding answer type), and an optional note. The category and difficulty are predetermined by the question number and cannot be changed.

There are 5 buttons at the bottom of the Questions screen:

If the Hardware Btns preference is checked, the first 4 of these buttons can also be activated via the corresponding hardware buttons (e.g., the Datebook button is the same as the "Previous" button).

Tap on the question number to bring up the "Go to Question" dialog box or use the Page Down and Page Up hardware buttons to go to the next or previous question. Note: the carriage return Graffiti stroke (top right to bottom left) is the same as tapping the OK button on the "Go to Question" screen.

Preferences

Preferences
Preferences

TrivWriter has several options that can be set via the Preferences menu option:

Menu Options

Different menus and menu options are available on the Header, Categories, Question, and Note screens.

  • TrivWriter Menu:
  • Edit Menu - This the standard Palm Edit menu.
  • Go Menu (called the Find menu on the Note screen):
  • Beam Menu - Beam the TrivWriter application and modules to another Palm device: Note: Use the Beam menu inside Triv to beam Triv modules.

    Importing Data

    Import
    Importing Data

    TrivWriter allows you to import data from Memo Pad records or Doc files. You can choose to either Create New Module or Append to Current module. Each record or file must begin with a #triv moduleName line, and in the case of Doc files, that should also be the name of the file. All other keywords are optional during importing and can be entered in TrivWriter later.

    Except for question and answer lines, each input line should begin with a pound sign (#). To begin a question or answer line with a pound sign, precede it with a backslash (\). Embedded carriage returns are not allowed. Blank lines are ignored. The complete list of keywords is:

    KeywordAbbreviation and UsageExampleComments
    #triv#triv moduleName#triv Trillionaire_2Required as the first line for both Doc files and Memo records. Should match the file name for Doc files. Do not use special characters that might cause trouble in file names such as semicolons and slashes. moduleName can be up to 25 characters long.
    #moduleType#m shortDescription#m GenusShort description of module (up to 31 characters).
    #writer#w authorName#w Robert JenAuthor of the module (up to 31 characters).
    #created#c creationDate#c July 1, 2003Date the module was created (up to 31 characters).
    #updated#u updatedDate#u July 8, 2003Date the module was last updated (up to 31 characters).
    #version#v versionNumber#v 1.1.0Version of module (up to 31 characters).
    #shortName#s categoryNumber name#s 4 GeographycategoryNumber must be between 1 and 6. name can be up to 20 characters long.
    #description#d categoryNumber description#d 4 geography and nature triviacategoryNumber must be between 1 and 6. description can be up to 255 characters long.
    #info#i extraInfo#i The others are New York's, New Hampshire's, and Delaware'sAdditional text displayed at end of the following question when its answer is revealed in Triv (up to 255 characters combined with the question).
    #note#n writerNotes#n Maybe replace choice d with DenverNotes on the following question for writer's use only (up to 2047 characters).
    #### comment## This is a comment that is completely ignoredComment that is not imported into TrivWriter.

    The remaining lines are question and answer line pairs (do not begin with a pound sign).

    Question lines can be up to 255 characters long. For example, What is the capital of Massachusetts?. Each module can have a maximum of 504 questions.

    Answer lines should be formatted according to answer type as documented for TrivWriter above except for multiple choice answers:

    When appending to the current module (primarily for Memo Pad records), the #triv keyword is required to identify the record, but is otherwise ignored. It is recommended that the other header tags only be used in the first record.

    Each imported record or file should have a multiple of 18 questions and will be padded to a multiple of 18 otherwise.

    Here is a sample input file:

    #triv MyFirstModule
    #m Genus
    #w Your Name
    #c July 1, 2003
    #u July 8, 2003
    #v 1.1.0
    
    ## Category information
    #s 1 Entertainment
    #d 1 movie, television, and music trivia
    #s 2 History
    #d 2 history and government trivia
    #s 3 Science
    #d 3 science and math trivia
    #s 4 Geography
    #d 4 geography and nature trivia
    #s 5 Literature
    #d 5 literature, art, and religion trivia
    #s 6 Sports
    #d 6 sports and games trivia
    
    ## Start of trivia questions
    
    #i Extra info for question 1
    #n Note for question 1
    ## Comment that won't be imported
    What is the capital of Massachusetts?
    Albany;*Boston;Concord;Dover
    
    What is the meaning of life?
    42
    ## Remaining questions omitted in this example
    

    Note that in addition to the character limits given above, data must also fit in the allotted spaces. You should view each question in TrivWriter to make sure it fits (i.e., 7 or fewer lines when wrapped, with multiple choice options counting as 4 of those lines).

    Import Error Descriptions

    If applicable, the error messages displayed during the import list the line number on which the error occurred and the beginning of the text which caused the error. Here is a complete, alphabetical list of the possible import errors with more details and possible ways to fix them:

    For each error displayed, there are three buttons you can tap:

    Other Documentation

    In the "Apps" folder, the file TrivWriterDoc.prc is a Doc-formatted version of this file. This file can be installed on your PalmPilot for reference if you have a Doc reader installed. You can download the free PalmReader (http://www.palmdigitalmedia.com/product/reader/browse/free).

    In the "Docs" folder the following files can also be found:

    Triv's VERSION.txt file contains additional release notes for TrivWriter (initially released with Triv 3.4.0).

    Updates and Contact Information

    TrivWriter Version 1.1.1, October 14, 2003
    TrivWriter is Copyright (C)2003 by Robert Jen.

    The latest copy of TrivWriter (bundled with Triv), Triv data modules, and other PalmPilot and Macintosh software can be found at http://www.rjen.com (specifically http://www.rjen.com/Pilot/Triv.html). Questions, comments, and any other email can be sent to the author Robert Jen at mailto:rjen@rjen.com. Your feedback is much appreciated.