Growing Book Manual

(Working commands with test case are in green color. Commands with errors are in red color)

Commands for Multi-level, Multi-Media Presentation

(ABSTRACT1) (ABSTRACT2 try 2|1 to 2|4) ABSTRACT3 Chapter_No Level_No: Create an abstraction of the chapter with Chapter_No at Level_No. Level 1 is title and a few keywords, Level 2 is title and immediate sub-sections, Level 3 includes all sub-sections, and Level 4 is the document itself.

(WEAVE1 try 2|audio|audio-tool) (WEAVE2) WEAVE3 Chapter_No Tag Tool: Weave the pieces in Chapter_No that are surrounded by < Tag > and < /Tag > into a presentation stream and then apply Tool to present it.

Commands for Increasing Awareness

(AWARE1 try 2|jung@cs.pitt.edu|7777x) (AWARE2) AWARE3 Chapter_No Name Password: In the chapter with Chapter_No, if Name and Password is in Author, Student or Teacher list, display info Name should be aware of.

(CHECK_AWARENESS1 try 2|jung@cs.pitt.edu|7777x) (CHECK_AWARENESS2) CHECK_AWARENESS3 Chapter_No Name Password: In the chapter with Chapter_No, search Author, Teacher and Student lists for matched Name and Password, and if found, display the Awareness Profile for Name.

(SET_AWARENESS1) (SET_AWARENESS2 try 3|jung@cs.pitt.edu|7777x|11111) SET_AWARENESS3 Chapter_No Name Password Profile: In the chapter with Chapter_No, search Author, Teacher and Student lists for matched Name and Password, and if found, add or reset the Awareness of Name to Name,Profile.

(SET_PRIVACY1 try 2|jung@cs.pitt.edu|7777x) (SET_PRIVACY2) SET_PRIVACY3 Chapter_No Name Password: In the chapter with Chapter_No, search Author, Teacher and Student lists for matched Name and Password, and if found, add Name to Privacy list.

CLEAR_PRIVACY Chapter_No Name Password: In the chapter with Chapter_No, search Author, Teacher and Student lists for matched Name and Password, and if found, remove Name from Privacy list. (try 2|jung@cs.pitt.edu|7777x)

Commands for Communication

(SEND_AUTHOR1 try 2|hello to author) (SEND_AUTHOR2) SEND_AUTHOR3 Chapter_No Message: Send Message to the Author(s) of Chapter_No.

(SEND_STUDENT1 try 3|hello to student) (SEND_STUDENT2) SEND_STUDENT3 Chapter_No Message: Send Message to the Student(s) of Chapter_No.

(SEND_TEACHER1 try 3|hello to teacher ) (SEND_TEACHER2) SEND_TEACHER3 Chapter_No Message: Send Message to the Teacher(s) of Chapter_No.

Commands for Searching the Growing Book

ADD_SUBJECT Chapter_No Chapter_password Word: First search for a Word in a chapter and if it is present, add the Word as a new subject of the chapter. (Try 2|sem010|trees.)


MATCHPAR NumKeyword Threshold YesWords NoWords PathName: A command to allow the user to enter the parameters for the keyword matching matching program. The paramters are stoblack in the file matchpar.dat in the specified local directory. (This command is for the PC version of the Growing Book.)
SEARCH_MESSAGE Word Teacher_name Teacher_password: Search for Word in the text file message.txt which is in the same directory as the Growing Book program. (try video|judy@ksi.edu|044hw)


SEARCH_STUDENT1 Student_Name Book_Password: Find all chapters that Student_Name is studying. (try changsk@ksi.edu|123)


ENROLLED Chapter_no Teacher_name Teacher_password: List students studying a chapter. (try 3|chang@cs.pitt.edu|B122L)


GET_STUDENT_INFO Chapter_no : Produce useful statistics on the students studying a chapter.(try 3)


Commands for Watermarking

ADD_WATERMARK1 Chapter_No Chapter_Password Key Watermark: In the chapter with Chapter_No, if Chapter_Password is correct, add Watermark to the html files of Chapter_No using Key. (try 3|sem010|12|abc returns blank page)

DISPLAY_WATERMARK1 Chapter_No Chapter_Password Key Watermark: In the chapter with Chapter_No, if Chapter_Password is correct, and Watermark provided matches the watermark in the document, display Watermark of the html files of Chapter_No using Key. (try 3|sem010|12|abc no output)

Commands for Managing the Growing Book

(ADD_AUTHOR1 try 3|sem010|bush|12a) (ADD_AUTHOR2) ADD_AUTHOR3 Chapter_No Chapter_Password Author Password: If Chapter_Password is correct, add Author,Password to the author(s) of Chapter_No.

(ADD_CENTER1) ADD_CENTER2 Chapter_No Chapter_Password Center (try 3|sem010|abcd) In the chapter with Chapter_No, if Chapter_Password is correct, add Center to Center_of_Excellence list.

(ADD_REFERENCE1) (ADD_REFERENCE2) ADD_REFERENCE3 Chapter_No Chapter_Password Reference: In the chapter with Chapter_No, if Chapter_Password is correct, add Reference to Reference list.
(ADD_REFERENCE1 eliminates blank line at top of file and chapter no, ADD_REFERENCE2 does not update main.txt)

(ADD_STUDENT1 try 3|sem010|bush|12b) (ADD_STUDENT2) ADD_STUDENT3 Chapter_No Chapter_Password Student Password: If Chapter_Password is correct, add Student,Password to the student(s) of Chapter_No.

(ADD_TEACHER1 try 3|sem010|clinton|13w) (ADD_TEACHER2) ADD_TEACHER3 Chapter_No Chapter_Password Teacher Password: If Chapter_Password is correct, add Teacher,Password to the teacher(s) of Chapter_No.

(ADD_TOOL1) (ADD_TOOL2 try 3|sem010|newtool add same tool twice) ADD_TOOL3 Chapter_No Chapter_Password Tool: In the chapter with Chapter_No, if Chapter_Password is correct, add Tool to Tool list.

(ADD_WHO_IS_WHO1 try 2|sem010|adam) (ADD_WHO_IS_WHO2) ADD_WHO_IS_WHO3 Chapter_No Chapter_Password Who: In the chapter with Chapter_No, if Chapter_Password is correct, add Who to who_is_who list.

(DROP_AUTHOR1) (DROP_AUTHOR2 try 3|sem010|chang@cs.pitt.edu ) DROP_AUTHOR3 Chapter_No Chapter_Password Author: If Chapter_Password is correct, drop Author,Password from the author(s) of Chapter_No.

DROP_CENTER1 Chapter_No Chapter_password Center: Drop center.(try 3|sem010|www.ksi.edu) DROP_CENTER2

DROP_REFERENCE1 Chapter_No Chapter_password Reference: Drop reference.(try 3|sem010|www.branden.edu) DROP_REFERENCE2

(DROP_STUDENT1) (DROP_STUDENT2 try 3|sem010|jung@cs.pitt.edu) DROP_STUDENT3 Chapter_No Chapter_Password Student: If Chapter_Password is correct, drop Student,Password drop the student(s) of Chapter_No.

DROP_STUDENT_ALL Chapter_No Chapter_Password Student: If Chapter_Password is correct, drop Student,Password drop the student(s) of Chapter_No. (try 3|sem010|changsk@ksi.edu)
(DROP_TEACHER1 try 3|sem010|chang@cs.pitt.edu drops nonexisting teacher) (DROP_TEACHER2) DROP_TEACHER3 Chapter_No Chapter_Password Teacher: If Chapter_Password is correct, drop Teacher,Password from the teacher(s) of Chapter_No.

DROP_TOOL1 Chapter_No Chapter_password Tool: Drop tool.(try 3|sem010|www.abs.com) DROP_TOOL2

DROP_WHO_IS_WHO1 Chapter_No Chapter_password who_is_who: Drop who_is_who.(try 3|sem010|guru@cs.pitt.edu) DROP_WHO_IS_WHO2

CH_TEA_PWD (try chang@cs.pitt.edu|B122L|111 first record must be preceded with blank line) | CH_STU_PWD | CH_AUT_PWD Name Old_Pwd New_Pwd: Change password


ADD_CHAPTER Chapter_No Chapter_Password Book_password: Add a new chapter. (try 4|x4x|123 )


DELETE_CHAPTER Chapter_No Chapter_password Book_password: Drop an old chapter.(try 4|x4x|123)