TEXT PROCESSING SYSTEM

Abstract: Disclosed is a text processing system such as a word processor and a electronic typewriter. The disclosed system comprises a plurality of text data memory means (52, 56, 81) including external memories, and title memory means (55, 57, 82) for storing the titles of the text data stored in the text data memory means in relation to the kind of the text data memory means. The titles of the text data stored in the title memory means are visually represented on the outputting means with being classified by the kind of the text data memory means.

Description: Background of the Invention This invention relates to a text processing system equipped with a display means and, more particularly, to an improved capable of visually representing the titles of text data, which are sotred in various data memories including a text memory, with classifying the titles in accordance with the kinds of data memories. Generally in the conventional text processing system such as an electronic typewriter equipped with a display unit, there are provided in its controller a plurality of kinds of data memories including a text memory to store a plurality of texts inputted from a keyboard and a phrase memory to store a plurality of phrases, and a plurality of title memories for storing the titles of data stored in the data memories. When a command is given to display the titles of the data in the text memory with selection of a list mode, the titles are sequentially represented on the display unit, in accordance with the data of the text title memory, in alphabetical order or in the order of storage dates from the latest one by depression of a cursor down-shift key. Meanwhile, when another command is given to display the titles of the data in the phrase memory with selection of a list mode, the titles are sequentially represented on the display in accordance with the data of the phrase title memory by depression of the cursor down-shift key. In a constitution where any external memory such as a RAM (Random Access Memory) card or a floppy disk is connected to the typewriter, if a command is given to display the titles of such external memory with selection of a list mode, the titles are visually represented by repeated depression of the cursor down-shift key, on the display sequentially in alphabetical order or from the latest one in accordance with the data of the title memories where the titles of the data in the external memory are stored. In the conventional electronic typewriter as above described, the titles of the data of the text memory and those of the phrase memory are displayed with distinction therebetween, but it is impossible to achieve simultaneous visual representation of such titles. Consequently, there exist some problems including that if the data memory storing a desired title is unknown, it becomes necessary to select a list mode each time and to give a command for displaying the titles of the data of the text memory or those of the phrase memory, hence complicating the manipulation for visual representation of the titles and deteriorating the operational efficiency in retrieval of the titles. Furthermore, in case any external memory is connected, manipulation for selecting such external memory is required, and title retrieval cannot be executed with facility since it is impossible to perform simultaneouys visual representation of the data titles of the external memory and those of the internal memories in the typewriter. It is therefore an aim of the invention to provide an improved text processing system. According to the present invention, there is provided a text processing system comprising: input means for inputting text data; output means for visually representing the input text data; a plurality of text data memory means for storing the input text data; title memory means for storing the titles of the text data stored in said text data memory means according to the type of said text data memory means in which said text data is stored; control means for controlling said output means to represent visually said titles of the text data stored in said title memory means together with an indication of the type of said text data memory means in which the text data is stored; and designating means for designating one of said titles represented on said outputting means. With the above constructed system, text data entered from the input means is written into the text date memory means, while the titles of the text data stored in the text data memory means are stored in the title memory means in relation to the kind of the text data memory means. In response to, for instance, a title display command entered from the input means, the titles of the text data stored in the text data memory means are classified in accordance with the kinds of the text data memory means based upon the data of the title memory means and are visually represented together on the output means by the control means. Then, an operator may designate one of the titles represented on the output means by the designating means. Thus, titles of text data stored in a plurality of kinds of text data memory means can be visually represented together on the output means while classified in accordance with the kind of text data memory means in which they are stored. Furthermore, titles of text data in the external memory can also be classified and, in preferred embodiments, represented simultaneously, whereby retrieval of titles is executed with rapidity and facility to consequently enhance the operational efficiency in such retrieval. The present invention will be further described hereinafter with reference to the following description of an exemplary embodiment and the accompanying drawings, in which: Fig. 1 is a perspective view of an electronic typewriter embodying the invention; Fig. 2 is a block diagram of a control system in the typewriter; Fig. 3 is a flow chart of title display control routines; and Figs. 4(a) and 4(b) illustrate an example of visually representing titles of data memories on an LCD display with division by kinds of the data memories. Fig. 1 illustrates an electric typewriter embodying the invention, wherein a keyboard 3 is disposed in a front portion of a body frame 2 of a typewriter 1, and a print mechanism PM is incorporated in the frame 2 behind the keyboard 3. And a two-line LCD (liquid crystal display) 75 is disposed in a rear portion of the keyboard 3 for visually representing input characters and symbols. The keyboard 3 is furnished with character keys 10 including alphabet keys, numeral keys and symbol keys, and also with various function keys as in any ordinary typewriter. Furthermore, the keyboard 3 has a mode changeover key 11 which is an on/off key to be depressed for alternately selecting a typewriter mode to print the input characters or a word processor mode to input and edit the characters, and also cursor shift keys 12 for shifting a cursor display position upward, downward, leftward and rightward respectively. Upon execution of undermentioned title display control, the next title is displayed in the cursor downshift key, and the preceding title is displayed by the cursor up-shift key. The print mechanism PM consists at least of a platen 20 for feeding a print sheet, a motor for actuating the platen, and a platen motor drive circuit; a carriage 22 supported by a guide 21 parallel with the platen 20, a motor for reciprocating the carriage 22 leftward and rightward, and a carriage motor drive circuit; a type wheel 24 housed in a wheel cassette 23, a motor for rotating the type wheel 24, and a wheel motor drive circuit; a print ribbon 26 housed in a ribbon cassette 25, a motor for taking up the print ribbon, and a ribbon motor drive circuit; a motor for selectively changing the position of the print ribbon 26, and a motor drive circuit; a print hammer for striking each type element 27 of the type wheel 24, a solenoid 28 for driving the print hammer, and a solenoid drive circuit; a correction ribbon 29 for erasing a printed character, and a mechanism for driving the correction ribbon 29 by the ribbon position changeover motor. The print mechanism PM is the same as employed in any ordinary electronic typewriter. Now the entire constitution of a control system in the electronic typewriter will be described below with reference to a block diagram shown in Fig. 2. Basically the typewriter 1 comprises a keyboard 3, a print mechanism PM, a display mechanism D and a controller C. Out of such components, the keyboard 3 and the print mechanism PM and the display mechanism D are connected to a main CPU (central processing unit) 30 of the controller C via a data bus and so forth. The controller C comprises a main CPU 30, a ROM (read only memory) 40 and a RAM (random access memory) 50 connected to the main CPU 30 via a data bus and so forth. A RAM card 80 serving as an external memory is connected also to the main CPU 30 via an input-output port. In a program memory 41 of the ROM 40, there are stored a control program for controlling the print mechanism PM and the display mechanism D in accordance with code data inputted from the character keys and the function keys of the keyboard 3, pattern data for classifying the titles by kinds and visually representing the same with distinction, and a control program used for undermentioned title display control. The RAM 50 comprises a current position memory for sequentially renewing the storing, in a typewriter mode, the current position of the carriage 22 (print head) relative to its absolute original position correspondingly to the print position; a line buffer 51 for sequentially storing, in a typewriter mode, the data such as printed characters correspondingly to the print position; the line buffer 51 for storing, in a memory mode, two-line data of characters and so forth inputted from the keyboard 3 or read out from a text memory 52 and visually representing on the display 75 a text memory 52 for storing the entire input data as file data; a cursor display position counter 53 for counting the cursor display position correspondingly to each display position on the display 75 in accordance with the shift of the cursor, a cursor position pointer 54 for indicating the address of the line buffer 51 in accordance with the data of the cursor display position counter 53; a plurality of memories for temporarily storing the results of computation executed in the main CPU 30; a title memory 55 for storing the titles of file data in the text memory 52; a phrase memory 56 for storing the data of phrases, short sentences and so forth; a title memory 57 for storing the titles of the phrase data in the phrase memory 56; a typewriter mode flag memory 58 for storing a typewriter mode flag which is set with selection of a typewriter mode by depression of the mode changeover key 11; a word-processor mode flag memory 59 for storing a word-processor mode flag set with selection of a word processor mode by depression of the mode changeover key 11; and a card connection flag memory 60 for storing a card connection flag set upon connection of a RAM card 80 serving as an external memory. When power is initially supplied, a typewriter mode is automatically selected to set a typewriter mode flag, and thereafter a word processor mode and a typewriter mode are selected alternately by every depression of the mode changeover key 11. In the typewriter mode, the main CPU 30 actuates the print mechanism PM in compliance with the control program to print the characters and symbols which correspond to the data inputted from the character keys, and stores the print data temporarily in the line buffer 51 correspondingly to the print position. In the memory mode, the main CPU 30 stores the input data of two print lines in the line buffer 51 while visually representing such data on the display 75, and further stores the data of one line sequentially in the text memory 52 in response to depression of the return key. The display mechanism D comprises an interface 70, a display CPU 71, a character generator 72, a display controller 73, and an LCD display 75 which are connected as illustrated. In the character generator 72, there are stored dot matrix display data of about 400 kinds for visually representing characters and symbols on the LCD display 75 in conformity with the code data. In response to the command data and the character data outputted from the main CPU 30 via the interface 70, the display CPU 71 reads out the corresponding display data from the character generator 72 and outputs the display data to the display controller 73. Then the display controller 73 writes the display data in the display RAM 74 while outputting to the LCD display 75 the display signal corresponding to the display data. Furthermore, in response to the cursor shift data fed from the main CPU 30 via the interface 70, the display CPU 71 executes cursor shift control for instructing the display controller 73 to indicate the address to which the cursor is to be shifted. The RAM card 80 includes a text memory 81 for storing a plurality of file data similarly to the text memory 52 of the RAM 50, and a title memory 82 for storing the titles of such file data. When the RAM card 80 is selected, the write data from the main CPU 30 is written in the text memory 81 via the data bus and so forth, and the read data from the text memory 81 is transferred to the main CPU 30. Now a description will be given on the title display control, which is executed by the controller C of the electronic typewriter, with reference to a flow chart illustrated in Fig. 3. When power is supplied to the typewriter 1, such control is started with its procedure advancing to step S1 (hereinafter referred to simply as S1, and other steps mentioned similarly) for initialization of selecting a typewriter mode and setting a typewriter mode flag. Next in S2, a key input is waited. Upon depression of any key, a decision is made in S3 as to whether the key input is from the mode changeover key 11 or not. In the case of the mode changeover key 11, a decision is made in S4 as to whether the typewriter mode or not from the data of the typewriter mode flag memory 58 and the word processor mode flag memory 59. And if the result of such decision is not the typewriter mode, the control procedure advances to S5 for selecting the typewriter mode and setting a typewriter mode flag. And then the procedure returns to S2 with a word processor mode flag reset. Meanwhile, when the result of the decision in S4 is Yes, the procedure advances to S6 for selecting a word processor mode and resetting a typewriter mode flag while setting a word processor mode flag. Next in S7, a decision is made as to whether the title of the text memory 52 is existent or not from the data of the title memory 55. And in case the title is existent, the procedure advances to S8 where the title stored first in the title memory 55 is visually represented in succession to an item "TEXT" on the display 75, and then the procedure advances to S9. For example, the first title "ABC" is represented as illustrated in Fig. 4 (a). If the result in S7 is No, the procedure advances to S9 where a decision is made as to whether the title of the phrase memory 56 is existent or not from the data of the title memory 57. And in case the title is existent, the procedure advances to S10 where the title stored first in the title memory 57 is visually represented in succession to an item "PHRASE" on the display 75, and then the procedure further advances to S11. For example, the first title "DEF" is represented as illustrated in Fig. 4 (a). Also in case the result in S9 is No, the procedure advances to S11 where a decision is made as to whether the RAM card 80 is connected or not according to the card connection flag of the card connection flag memory 60. And if connection of the RAM card 80 is detected, the procedure advances to S12 where a decision is made as to whether the title of the text memory 81 in the RAM card 80 is existent or not from the data of the title memory 82. And in case the title is existent, the procedure advances to S13 where the title stored first in the title memory 82 is visually represented in succession to an item "CARD" on the display 75, and then the procedure returns to S2. For example, the first title "GHI" is represented as illustrated in Fig. 4 (a). If the result of the decision in S11 or S12 is No, the procedure returns to S2. When the cursor down-shift key 12 is depressed with visual representation of a file name, the result in S14 becomes Yes through S2 and S3, so that in S15 the next title is represented in accordance with the data of the cursor position pointer 54 and the data of the title memories 55, 57 and 82 corresponding to the item (kind of TEXT, PHRASE or CARD) at the cursor display position. And subsequently the control procedure returns to S2. For example, in case the cursor is placed at the item "TEXT", the next title "XYZ" of the title memory 55 is represented as illustrated in Fig. 4 (b). Meanwhile, when the cursor up-shift key 12 is depressed with visual representation of a file name, the result in S16 becomes Yes through S2, S3 and S14, so that the procedure advances to S17 where the preceding title is visually represented in accordance with the data of the cursor pointer 54 and the data of the title memories 55, 57 and 82 corresponding to the item at the cursor display position. And subsequently the procedure returns to S2. For example, in case the cursor is placed at the item "TEXT", the preceding title "ABC" of the title memory 55 is represented as illustrated in Fig. 4 (a). Upon depression of any key other than the mode changeover key 11 and the cursor up-shift and down-shift keys 12, the control procedure advances through S2, S3, S14 and S16 to S18 for inputting or printing the character of the depressed character key 10 or executing the process relative to the depressed function key and subsequently returns to S2. In S18, the cursor is sequentially shifted in response to each depression of the cursor right-shift key 12 from position "T" of item "TEXT" to position "P" of item "PHRASE", then to position "C" of item "CARD" and so forth as illustrated in Fig. 4 (a). Meanwhile, in response to each depression of the cursor left-shift key 12, the cursor is sequentially shifted from position "T" of "TEXT" to position "C" of "CARD" and then to position "P" of "PHRASE". When any character key 10 or function key is depressed, the data related to the title of the data memory indicated by the cursor is visually represented, and thus the title control is completed. As described hereinabove, the titles of the individual data memories such as the text memory 52 and the phrase memory 56 are visually represented together in the display areas divided by the kinds of the data memories, so that any desired title can be retrieved with facility and rapidity. Furthermore, due to simultaneous visual representation of the titles stored in the title memory 82 of the RAM card 80, the location of the desired title is rendered definite to consequently enhance the operational efficiency. The embodiment mentioned is concerned merely with an exemplary case where titles are displayed when a word processor mode is selected. However, an exclusive display key may be provided separately so that the titles can be visually represented at any time by depression of such display key. The above embodiment is so contrived that the titles of the data memories are visually represented upon selection of a word processor mode, and the title display control is completed by depression of a character key 10 or a function key. However, it may be modified in such a manner that a menu including items of "new composition", "edit" and so forth is first displayed in response to selection of word processor mode, then the titles of the individual data memories are displayed when the "edit" is designated and, upon depression of a selector key provided separately, the data related to the displayed title of the data memory indicated by the cursor is represented to complete the title display control.

Claims: A text processing system comprising: input means for inputting text data; output means for visually representing the input text data; a plurality of text data memory means for storing the input text data; title memory means for storing the titles of the text data stored in said text data memory means according to the type of said text data memory means in which said text data is stored; control means for controlling said output means to represent visually said titles of the text data stored in said title memory means together with an indication of the type of said text data memory means in which the text data is stored; and designating means for designating one of said titles represented on said outputting means. A text processing system according to claim 1, wherein said text data memory means comprises a text memory for storing input text data as file data, and a phrase memory for storing input text data as phrase data. A text processing system according to claim 1 or 2, wherein said text data memory means further comprises an external memory. A text processing system according to claim 3 wherein said external memory comprises a random-access-memory card. A text processing system according to claim 1, 2, 3 or 4, wherein said title memory means comprises a title memory provided for each of said text data memory means. A text processing system according to any one of the preceding claims, wherein said control means sets separate display areas on said output means for each kind of said text data memory means. A text processing system according to claim 6 wherein said control means visually represents the kind of text data memory means and one of the titles of text data stored in said kind of the text data memory means in each display area. A text processing system according to claim 7 wherein said designating means comprises selection means for selecting one of the kinds of the data memory means represented on said output means, and scroll means for scrolling titles represented in the display area of the kind of text memory means selected by said selection means in accordance with the title stored in said title memory means.

Inventors: SASAKI, RYOICHI
Applicants: BROTHER KOGYO KABUSHIKI KAISHA
Application year: 1987
Main classification: B41J3
IPC codes: G06F12, B41J5, G06F17