Abstract:
A character input/display apparatus comprises means for inputting information, means for designating a cursor position, a memory for storing the input information, a display having a first display unit for displaying a layout of the information stored in the memory and a second display unit for displaying a portion of the information stored in the memory, and control means for displaying a cursor on the first display unit and the second display unit in different manners.

Description:
This application is a continuation of application Ser. No. 702,679, filed Feb. 19, 1985, now abandoned. 
    
    
     BACKGROUND OF THE INVENTION 
     1. Field of the Invention 
     The present invention relates to a character input/display apparatus and more particularly to a character input/display apparatus which displays an input character data from a keyboard. 
     2. Description of the Prior Art 
     An example of prior art input/display apparatus for displaying input data from a keyboard is one that uses a CRT screen display. However, when a screen display is used, the overall system is of large scale and the cost thereof increases. A one-line display for displaying one line of input data has been known. It allows a small scale system and reduces the overall cost, but since only one line of data is displayed operability in inputting, editing and correcting data is poor. 
     SUMMARY OF THE INVENTION 
     It is an object of the present invention to provide a character input/display apparatus which uses a small size display unit such as a one-line display unit and allows effective utilization of the display by cursor display system and control, improves operability in inputting, editing, and correcting data and renders the character display compact, low cost and easy to handle. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 shows an overall view of a character input/display, 
     FIG. 2 is an enlarged plan view of a cursor control key on a keyboard, 
     FIG. 3 is a block diagram of major portions of the character input/display apparatus, 
     FIG. 4 is a flow chart illustrating a control operation of a CPU, and 
     FIG. 5 is a flow chart of a control for a cursor control key input unit. 
    
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS 
     FIG. 1 shows an overall view of a character input/display apparatus which displays input data from a keyboard. Numeral 1 denotes a keyboard for inputting a data. It includes character keys, cursor keys for controlling a cursor and function keys for performing various functions. One line of input data inputted by the keyboard 1 is displayed on a display unit 2 which has N (N≧2) display digits. Numeral 3 denotes a format display unit which displays each digit of input data by one dot. It has M (M&gt;N) dots and L (L&gt;3) lines. 
     The data inputted by the keyboard 1 is sequentially displayed on the character display unit 2 from left to right, and when all digits of the character display unit 2 have been displayed, the displayed characters are shifted left and a new input data is displayed at the right end. On the other hand, the data overflown from the character display unit 2 are sequentially displayed on the format display unit 3 from left to right with each digit being displayed by one dot. When a carriage return key is depressed, as many dots as the number of display digits of the character display unit 2 are displayed on the format display unit 3, following the existing dots, and additional dots may be displayed in the next line. On the other hand, the character display unit 2 is cleared, a cursor is displayed at the left end, and the new input data is sequentially displayed from left to right. In this manner, the input data are sequentially displayed on the character display unit 2 and the format display unit 3. 
     FIG. 2 is an enlarged view of a cursor control key unit on the keyboard 2. Numeral 4 denotes a cursor control key which is used to shift the cursor in a direction of an arrow. By depressing those cursor control keys, the cursor can be shifted to any desired point on the character display unit 2 and the format display unit 3. Numeral 5 denotes a character display key. By depressing the character display key 5 when the cursor is on the format display unit 3, the data corresponding to the position designated by the cursor can be displayed on the character display unit 2. 
     FIG. 3 shows a block diagram of the character display. Numeral 6 denotes a CPU which controls an overall apparatus. Connected to the CPU 6 are a control memory 7 which is a read-only memory (ROM) which stores therein procedures shown in FIGS. 4 and 5, a readable and writable data memory (RAM) 8 which stores therein data and cursor positions X, Y and a read-only character pattern memory (ROM) 9 which stores therein character patterns and format display patterns. A keyboard control unit 10 is connected to a keyboard 11 to control it. A display memory unit 13 for storing therein the display patterns and a cursor control unit 12 are connected to a display control unit 14. A character display unit 15 corresponding to the character display unit 2 of FIG. 1 and a format display unit 16 corresponding to the format display unit 3 of FIG. 1 are connected to the display control unit 14. 
     The data inputted by the keyboard 11 is stored in the data memory unit 8 through the keyboard control unit 10 and the CPU 6 causes the character pattern memory unit 9 to generate the character pattern corresponding to the input data, and transfers the pattern to the display memory unit 13 to render the display units 15 and 16 to display the character through the display control unit 14. 
     The operation of the apparatus is now explained with reference to flow charts shown in FIGS. 4 and 5. 
     In a step S1 of FIG. 4, a key input is effected through the keyboard 11. When the key input is effected, the type of key input, that is, a data input, a cursor control input or other key input is discriminated in a step S2. If it is the cursor control input, the process proceeds to a step S10 of FIG. 5, and if it is other key input, the process proceeds to a step S9 where appropriate processing is carried out. Then, the process returns to the step S1. If it is the data input, the process proceeds to a step S3 to store the data into the memory unit 8. Thereafter, the input data is sequentially stored into the memory unit 8. In a step S4, a digit number of the input data in the display data is checked. If it is an N-th digit of the display data, the process proceeds to a step S7 to shift the cursor and all displayed characters to left. In a step S8, one dot is displayed on a new line of the format display unit. If it is not the N-th digit, the process proceeds to a step S5 to generate a character pattern corresponding to the input data from the character pattern memory 9, transfer it to the memory unit 12 and display it on the character display unit 15 and the format display unit 16 under the control of the display control unit 14, at the digit position designated by the cursor. In a step S6, the CPU 6 sends a cursor address to the cursor control unit 12 to shift the cursor to the next digit position and display it on the character display unit 15 through the display control unit 14. Then, the process returns to the step S1 and the similar steps are repeated for each data input so that the input data are sequentially displayed on the character display unit 15 from left to right. 
     When the N-th digit data is inputted, the process proceeds to a step S7 where all character patterns in the display memory unit 13 are shifted to the left by one digit so that the characters displayed on the character display unit 15 are shifted to the left by one digit. The cursor address is sent to the cursor control unit 12 to display the cursor on the character display unit 15 through the display control unit 14. Then, the process proceeds to a step S8 where one-dot display pattern is sent to the display memory 13 to display the one-dot on the format display unit 16 through the display control unit 14. 
     Then, the process proceeds to the step S5 to carry out the processing described above. If the character is inputted to the (N-1)th digit position, characters are displayed in the 1st to (N-1)th digit positions on the character display unit 15 and the cursor is displayed at the N-th digit position. In the step S8, one digit overflown from the character display unit 15 is displayed by a dot in a new line on the format display unit 16. 
     Similar steps are repeated for each input data so that the new input data is stored in the data memory unit 8 and displayed at the (N-1)th digit position of the character display unit 15. Each digit of input data is displayed by a dot on the format display unit 16. 
     The operation for editing and compiling the input data by operating the cursor control keys is explained with reference to a control flow chart of FIG. 5. 
     When the cursor control key is depressed, the process proceeds to the steps S1 and S2-S10. Whether the position designated by the cursor control key is within the character display unit 15 or not is determined based on the content of the cursor register Y. If the decision is NO, the process proceeds to a step S12, and if the decision is YES, the process proceeds to a step S11. In the step S11, the designated cursor address is sent to the cursor control unit 12 to shift the cursor and display the cursor on the character display unit 15 through the display control unit 14. After the cursor has been displayed at the designated position, the process returns to the start step. 
     If the designated cursor position is beyond the character display area, the process proceeds to a step S12 where the cursor address is sent to the cursor control unit 12 and the dot at the position designated by the cursor on the format display unit 16 is flashed on the display control unit 14 to indicate the position designated by the cursor. Then, the process returns to the step S12 where the dot at the designated position is flashed until the character display key is depressed. When the character display key is depressed, the process proceeds to a step S14 where character patterns corresponding to one line of data which contains the data at the position designated by the cursor, stored in the data memory unit 8 are generated by the character pattern memory 9 and sent to the character memory unit 14 to display them on the character display unit 15. Then, the process proceeds to a step S15 where the cursor control unit 12 sends the cursor address to display the cursor at the designated position on the character display unit 15 through the display control unit 14. Then, the process returns to the start step and the cursor control process is terminated. 
     As described above, the character input/display of the present invention includes means for shifting and displaying the cursor not only on the character display unit which displays the input data but also on the format display device which displays each digit of the input data by one dot so that the data in the data memory designated by the cursor can be displayed on the character display unit. Accordingly, the operability in inputting, editing and correcting data is significantly improved and a small size display instead of a screen display can be used. Accordingly, the overall apparatus is compact and the manufacturing cost thereof is reduced.