[go: up one dir, main page]

JPH0693182B2 - Output device - Google Patents

Output device

Info

Publication number
JPH0693182B2
JPH0693182B2 JP59013424A JP1342484A JPH0693182B2 JP H0693182 B2 JPH0693182 B2 JP H0693182B2 JP 59013424 A JP59013424 A JP 59013424A JP 1342484 A JP1342484 A JP 1342484A JP H0693182 B2 JPH0693182 B2 JP H0693182B2
Authority
JP
Japan
Prior art keywords
information
character pattern
pattern information
height
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP59013424A
Other languages
Japanese (ja)
Other versions
JPS60159782A (en
Inventor
優 五十嵐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP59013424A priority Critical patent/JPH0693182B2/en
Publication of JPS60159782A publication Critical patent/JPS60159782A/en
Publication of JPH0693182B2 publication Critical patent/JPH0693182B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、ドットマトリックス形式の文字パターン情報
に基づいて、外部より入力されるコード情報に対応する
文字パターン情報を出力する出力装置に関するものであ
る。
TECHNICAL FIELD The present invention relates to an output device for outputting character pattern information corresponding to code information input from the outside, based on dot matrix format character pattern information. is there.

[従来技術] 従来より、ドットの集合で文字や記号を表現するドット
マトリックス形式の文字パターン情報に基づいて、外部
より入力されるコード情報に対応する文字パターン情報
を出力する出力装置があった。
[Prior Art] Conventionally, there has been an output device that outputs character pattern information corresponding to code information input from the outside, based on character pattern information in a dot matrix format that expresses characters and symbols by a set of dots.

このような従来の出力装置では、第3図(A)に示すよ
うに、例えば、文字パターンを構成するビット数の少な
い文字“・”でも、他のビット数の多い文字"A"と同様
に同一サイズのメモリエリアに格納していたため、余分
な情報(空白情報)も格納されてしまった。
In such a conventional output device, as shown in FIG. 3 (A), for example, even a character "." With a small number of bits forming a character pattern is similar to another character "A" with a large number of bits. Since they were stored in the same size memory area, extra information (blank information) was also stored.

[発明が解決しようとする問題点] 従って、従来の出力装置では、使用する文字の種類が増
加するほど余分な情報(空白情報)が増加し、メモリ使
用効率が悪く、しかも、余分な情報(空白情報)をも一
律に読み出すのであるから、処理効率も悪いという問題
があった。
[Problems to be Solved by the Invention] Therefore, in the conventional output device, extra information (blank information) increases as the number of characters used increases, and the memory use efficiency deteriorates. Since blank information is also read out uniformly, there is a problem that processing efficiency is poor.

本発明は、従来の問題点に鑑みなされたもので、空白情
報が削除された必要最小限の文字パターン情報をメモリ
に格納して、メモリの使用効率と、パターン情報の処理
効率が向上する出力装置を提供することを目的とする。
The present invention has been made in view of the conventional problems, and stores the minimum necessary character pattern information in which blank information is deleted in a memory, thereby improving the use efficiency of the memory and the processing efficiency of the pattern information. The purpose is to provide a device.

[課題を解決するための手段] 本発明における出力装置は、ドットマトリックス形式の
文字パターン情報に基づいて、外部より入力されるコー
ド情報に対応する文字パターン情報を出力する出力装置
であって、文字パターン情報毎に、それぞれの文字パタ
ーン情報に応じて高さ方向1ドット単位の空白情報が削
除された文字パターン情報と前記文字パターン情報に対
応するアドレス情報と前記文字パターン情報を出力する
位置を示す出力位置情報と前記文字パターン情報の高さ
を示す高さ情報をそれぞれ記憶する記憶手段と、前記コ
ード情報の入力に応じて、コード情報に対応する前記ア
ドレス情報と前記高さ情報と前記出力位置情報を前記記
憶手段から読み出し、当該読み出された前記アドレス情
報と前記高さ情報に基づいて、前記高さ情報の示す高さ
分の前記文字パターン情報を前記記憶手段から読み出す
読出手段と、前記読出手段で読み出された前記出力位置
情報と前記文字パターン情報に基づいて、前記出力位置
情報の示す位置に前記読み出された文字パターン情報を
出力用記憶手段に出力する制御手段とを有する。
[Means for Solving the Problems] An output device according to the present invention is an output device that outputs character pattern information corresponding to code information input from the outside based on character pattern information in a dot matrix format. For each pattern information, character pattern information in which blank information in the height direction of 1 dot unit is deleted according to each character pattern information, address information corresponding to the character pattern information, and a position for outputting the character pattern information are shown. Storage means for respectively storing output position information and height information indicating the height of the character pattern information, and the address information, the height information and the output position corresponding to the code information in response to the input of the code information. Information is read from the storage means, and the height information is read based on the read address information and height information. Reading means for reading the character pattern information for the height indicated by the information from the storage means, and for the position indicated by the output position information based on the output position information and the character pattern information read by the reading means. And a control means for outputting the read character pattern information to the output storage means.

[作用] 高さ方向1ドット単位の空白情報が削除された文字パタ
ーン情報が、文字パターン情報に対応して記憶されてい
る高さ情報、出力位置情報に基づいて適正に出力され
る。
[Operation] The character pattern information from which the blank information in the unit of 1 dot in the height direction is deleted is properly output based on the height information and the output position information stored corresponding to the character pattern information.

[実施例] 以下、添付図面に従って本発明に係る一実施例の出力装
置を詳細に説明する。第1図は一実施例の出力装置の主
要な機能構成を示すブロック図である。図において、1
はROM等に複数の文字パターン情報を記憶させたフォン
トメモリ、2はフォントメモリ1のアクセスに必要な各
種情報を蓄えているフォントテーブル、3はコード情報
の入力に従ってフォントテーブル2をアクセスし、読み
出された情報を使用してフォントメモリ1をアクセスす
る読出手段、4はフォントメモリ1から読み出された文
字パターン情報とフォントテーブル2から読み出された
当該文字パターン情報の使用に係る情報に従って外部装
置に同期のとれた文字パターン情報を出力する制御手段
である。このために制御手段4には外部装置からの同期
信号が入力されている。
[Embodiment] An output device according to an embodiment of the present invention will be described in detail below with reference to the accompanying drawings. FIG. 1 is a block diagram showing a main functional configuration of an output device according to an embodiment. In the figure, 1
Is a font memory in which a plurality of character pattern information is stored in a ROM or the like, 2 is a font table that stores various information necessary for accessing the font memory 1, 3 is the font table 2 that is accessed according to the input of code information, and is read. The reading means 4 for accessing the font memory 1 using the issued information is an external device according to the character pattern information read from the font memory 1 and the information related to the use of the character pattern information read from the font table 2. It is a control means for outputting character pattern information synchronized with the device. Therefore, the synchronizing signal from the external device is input to the control means 4.

上述した構成において、以下にその動作を説明する。The operation of the above configuration will be described below.

読出手段3はライン5からのコード情報の入力があると
ライン6を介してそのコード情報に基づいた値でフォン
トテーブル2をアクセスする。第2図には1つのコード
情報の入力についてフォントテーブルに格納されている
情報の構造を示してある。
When the code information is input from the line 5, the reading means 3 accesses the font table 2 via the line 6 with a value based on the code information. FIG. 2 shows the structure of information stored in the font table for inputting one piece of code information.

図においてコード情報の入力に基づいて読み出される情
報は、フォントメモリ1の文字パターン情報に対応する
アドレスaを示すアドレス情報101と、読み出されるべ
き文字パターン情報の巾bを示す巾情報102と、同じく
その高さcを示す高さ情報103と、読み出された文字パ
ターン情報が外部装置の同期信号に従って出力される出
力位置dを示す出力位置情報104よりなっている。文字
パターン情報の巾bを示す巾情報102の内容は、一般に
半幅とか全幅の文字として取り扱われているのと同様
に、文字サイズとの関係から決まる。例えば、フォント
メモリ1の構造がバイト単位でアクセスされるものであ
るなら、横方向に16ビット分を必要とするような文字の
文字パターン情報の巾bは2である。文字パターン情報
の高さcを示す高さ情報103については、当該文字パタ
ーン情報の幅bに相当するバイト数が縦に何回分読み出
されるかの数によつて決まる。
In the figure, the information read based on the input of the code information includes the address information 101 indicating the address a corresponding to the character pattern information of the font memory 1, the width information 102 indicating the width b of the character pattern information to be read, and the same. The height information 103 indicating the height c and the output position information 104 indicating the output position d at which the read character pattern information is output according to the synchronization signal of the external device are included. The content of the width information 102 indicating the width b of the character pattern information is determined from the relationship with the character size, as it is generally handled as a half-width or full-width character. For example, if the structure of the font memory 1 is accessed in units of bytes, the width b of the character pattern information of a character that requires 16 bits in the horizontal direction is 2. The height information 103 indicating the height c of the character pattern information is determined by the number of vertical reading times of the number of bytes corresponding to the width b of the character pattern information.

第3図(A)及び(B)にはこれらの関係が示されてい
る。
These relationships are shown in FIGS. 3 (A) and 3 (B).

第3図(B)において、アドレスaは当該文字パターン
情報に対応するアドレスを指している。巾bは横1バイ
ト分の読み出しでよいことを示している。高さcは巾b
の読み出しが2回必要であることを示している。上述し
た情報101〜103の内容はライン7を介して読出手段3に
送られる。次に読出手段3はライン8を介してアドレス
aを送り、引きつづき巾bと高さcで決まる回数分のメ
モリアクセスを実行する。このアクセスによつてフォン
トメモリ1から読み出された文字パターン情報はライン
9を介して制御手段4に入力される。第3図(A)には
従来方式によるフォントメモリのデータ構造が示されて
いるが、1のビットパターンが存在しない余白の部分に
も一律に所定の大きさのフォントエリアが確保されてい
るから、無駄の多いものであつたことが確認されよう。
本実施例によれば、フォントメモリ1に関する情報を蓄
えるため、別にフォントテーブル2が付加されている
が、このメモリの大きさはフォント1個について数バイ
ト程度のものであるからメモリ全体としての使用効率の
改善が期待される。尚、この点については後述する。
In FIG. 3 (B), an address a indicates an address corresponding to the character pattern information. The width b indicates that reading of one horizontal byte is sufficient. Height c is width b
It is necessary to read 2 times. The contents of the above-mentioned information 101 to 103 are sent to the reading means 3 via the line 7. Next, the reading means 3 sends the address a via the line 8 and subsequently executes the memory access for the number of times determined by the width b and the height c. The character pattern information read from the font memory 1 by this access is input to the control means 4 via the line 9. FIG. 3 (A) shows the data structure of the font memory according to the conventional method. However, a font area of a predetermined size is uniformly reserved in the blank portion where 1 bit pattern does not exist. It will be confirmed that it was wasteful.
According to the present embodiment, a font table 2 is additionally provided to store information on the font memory 1. However, since the size of this memory is about several bytes for one font, it is used as the entire memory. Improved efficiency is expected. Incidentally, this point will be described later.

次に、読み出された文字パターン情報は外部装置の同期
信号に従って出力されなければならない。制御手段4に
はライン11を介して同期信号が入力されている。外部装
置としてCRT表示装置を考えると、一般に文字は行方向
に想定されたベースラインを基準にして表示される。こ
の関係は第4図に示されている。図において、線pは表
示画面上に想定されたベースラインであつて、ここに各
文字の下端を合せるようにして表示すると画面が見易
い。図には大文字の“A"と、小文字の“b"と、これらに
相対的な位置関係を保つて表示されるべき点記号“・”
が示されている。画面の列方向の表示間隔は従来と同様
にして全幅の文字か半幅の文字か等の指定によつて決め
られる。従って、点記号“・”の文字パターン情報の縦
2バイト分が読み出されたときには、これが基準線pか
ら出力位置dだけ離れた位置に表示されなくてはならな
い。この出力位置dを保持しているのが第2図の出力位
置情報104である。フォントテーブル2はライン6を介
して読出手段3からのアクセスを受けると、ライン10を
介して出力位置情報104の出力位置dを制御手段4に送
る。そして制御手段4からの同期のとれた文字パターン
情報はライン12を介して、例えば高速で繰返しアクセス
可能な外部装置のビデオRAM(出力用記憶手段)に送ら
れる。ビデオRAMへの書き込み順序は、例えばベースラ
インpの位置に相当するバイトの位置から始められる。
しかし、制御手段4は書込位置の同期を保つためd回分
の同期信号を受けとるまでは文字パターン情報を出力し
ない。つまりこの区間ライン12の出力データは0であ
る。ビデオRAMではこのデータに従って先ずベースライ
ンpに相当するバイト位置の書き込みを終え、同期信号
を出力する。制御手段4ではこの同期信号により保持し
ている値dを1カウントダウンする。このようにして、
制御手段4の保持している値がやがて0になると文字パ
ターン情報のバイトを出力する。文字パターン情報は高
さcに相当する回数だけ出力される。引きつづき、ビデ
オRAMからは表示エリアに必要なだけの同期信号が送ら
れるがこの区間制御手段4は再び0のデータを出力し
て、フォントメモリ1からライン9を介して次の文字パ
ターン情報が送られてくるのを待つ。また、第4図の大
文字“A"や小文字“b"の表示についてその出力位置dの
値は共に0である。
Next, the read character pattern information must be output according to the synchronization signal of the external device. A synchronizing signal is input to the control means 4 via a line 11. Considering a CRT display device as an external device, characters are generally displayed with reference to a baseline assumed in the row direction. This relationship is shown in FIG. In the figure, a line p is a supposed baseline on the display screen, and the screen is easy to see if the bottom end of each character is displayed here. In the figure, an uppercase “A”, a lowercase “b”, and a dot symbol “·” that should be displayed in a relative positional relationship with them
It is shown. The display interval in the column direction of the screen is determined by specifying full-width characters or half-width characters as in the conventional case. Therefore, when the vertical 2 bytes of the character pattern information of the dot symbol "." Is read, it must be displayed at a position separated from the reference line p by the output position d. The output position information 104 shown in FIG. 2 holds the output position d. When the font table 2 is accessed from the reading means 3 via the line 6, the font table 2 sends the output position d of the output position information 104 to the control means 4 via the line 10. Then, the synchronized character pattern information from the control means 4 is sent via a line 12 to, for example, a video RAM (output storage means) of an external device which can be repeatedly accessed at high speed. The writing order to the video RAM is started from the byte position corresponding to the position of the baseline p, for example.
However, the control means 4 does not output the character pattern information until it receives the synchronization signal for d times in order to maintain the synchronization of the writing position. That is, the output data of this section line 12 is 0. According to this data, the video RAM first finishes writing the byte position corresponding to the baseline p and outputs a synchronizing signal. The control means 4 counts down the value d held by this synchronizing signal by one. In this way
When the value held by the control means 4 eventually becomes 0, the byte of character pattern information is output. The character pattern information is output the number of times corresponding to the height c. Subsequently, as many sync signals as necessary are sent from the video RAM to the display area, but the section control means 4 outputs 0 data again, and the next character pattern information is sent from the font memory 1 via the line 9. Wait for it to be sent. Further, regarding the display of uppercase letter "A" or lowercase letter "b" in FIG. 4, the value of the output position d is 0.

このようにして本実施例の出力装置に使用されているフ
ォントメモリ1は有効パターンの部分(空白情報が削除
された必要最小限の文字パターン情報)だけを効率良く
記憶している。
In this way, the font memory 1 used in the output device of the present embodiment efficiently stores only the effective pattern portion (minimum necessary character pattern information with blank information deleted).

そして出力手段3はコード入力されたときに必要最小限
の文字パターン情報を読み出せば良い。
Then, the output means 3 may read the minimum necessary character pattern information when the code is input.

従って、このような読出手段3の機能をマイクロプロセ
ッサに実行させる場合は、従来のようにパターンの余白
の部分(空白情報)まで読み出す必要がないから、その
分の時間を他の処理のために使用できる。
Therefore, when the microprocessor is made to execute the function of the reading unit 3 as described above, it is not necessary to read the blank portion (blank information) of the pattern as in the conventional case, so that time is saved for other processing. Can be used.

また、制御手段4は、外部装置と同期してフォントメモ
リ1に記憶されていない余白の部分(空白情報)を再現
した形の文字パターン情報を出力する。
Further, the control means 4 outputs the character pattern information in a form in which the blank portion (blank information) not stored in the font memory 1 is reproduced in synchronization with the external device.

従って、外部装置はこの文字パターン情報出力に対して
何ら特別な処理を施す必要がない。
Therefore, the external device does not need to perform any special processing on this character pattern information output.

しかしながら、制御手段4は外部装置の所定の制御方法
に合せて文字パターン情報の出力を行なうものであるか
ら、この部分は外部装置との関係において自由に構成さ
れるべきものである。
However, since the control means 4 outputs the character pattern information according to the predetermined control method of the external device, this portion should be freely configured in relation to the external device.

従って、本発明の目的は、ライン9に出力される有効な
イメージからなる文字パターン情報と、ライン10に出力
される出力位置dの出力情報104を外部装置に与えるだ
けで十分に達成されるものである。
Therefore, the object of the present invention is sufficiently achieved only by providing the external device with the character pattern information consisting of a valid image output on the line 9 and the output information 104 of the output position d output on the line 10. Is.

尚、上述した実施例では文字パターン情報の高さ方向に
ついて不要な余白の部分(空白情報)をフォントメモリ
1に記憶させない方法について述べが、文字パターン情
報の幅方向についても同様にして、不要な余白の部分
(空白情報)をフォントメモリ1に記憶させない方法で
扱えることは明らかである。
In the above-described embodiment, the method of not storing the unnecessary blank portion (blank information) in the height direction of the character pattern information in the font memory 1 has been described. It is obvious that the margin portion (blank information) can be handled by a method in which it is not stored in the font memory 1.

[効果] 以上述べた如く本発明によれば、フォントメモリの使用
効率が格段に改善される。本発明者は、例えば30×50ド
ットの文字パターン190文字についてメモリの改善され
る度合を調べた所、約40%のメモリが節約される結果を
得た。
[Effect] As described above, according to the present invention, the usage efficiency of the font memory is significantly improved. The present inventor has investigated the degree of memory improvement for 190 character patterns of, for example, 30 × 50 dots, and has obtained a result of saving about 40% of memory.

また本発明によれば、フォントメモリの平均読出回数が
減少するからそれだけパターン出力に係る平均処理時間
も改善される。
Further, according to the present invention, since the average number of times of reading from the font memory is reduced, the average processing time for pattern output is improved accordingly.

【図面の簡単な説明】[Brief description of drawings]

第1図は本発明に係る一実施例の出力装置の主要な機能
構成を示すブロック図、 第2図はフォントテーブルのデータの構造を示す図、 第3図(A)及び(B)はフォントメモリに関する情報
として文字パターン情報に対応するアドレスと、文字パ
ターン情報の巾と高さの関係を説明する図、 第4図は外部装置に文字が表示される一例を示す図であ
る。
FIG. 1 is a block diagram showing a main functional configuration of an output device according to an embodiment of the present invention, FIG. 2 is a diagram showing a data structure of a font table, and FIGS. 3 (A) and 3 (B) are fonts. FIG. 4 is a diagram for explaining the relationship between the address corresponding to the character pattern information as the information on the memory and the width and height of the character pattern information. FIG. 4 is a diagram showing an example in which characters are displayed on an external device.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】ドットマトリックス形式の文字パターン情
報に基づいて、外部より入力されるコード情報に対応す
る文字パターン情報を出力する出力装置であって、 文字パターン情報毎に、それぞれの文字パターン情報に
応じて高さ方向1ドット単位の空白情報が削除された文
字パターン情報と前記文字パターン情報に対応するアド
レス情報と前記文字パターン情報を出力する位置を示す
出力位置情報と前記文字パターン情報の高さを示す高さ
情報をそれぞれ記憶する記憶手段と、 前記コード情報の入力に応じて、コード情報に対応する
前記アドレス情報と前記高さ情報と前記出力位置情報を
前記記憶手段から読み出し、当該読み出された前記アド
レス情報と前記高さ情報に基づいて、前記高さ情報の示
す高さ分の前記文字パターン情報を前記記憶手段から読
み出す読出手段と、 前記読出手段で読み出された前記出力位置情報と前記文
字パターン情報に基づいて、前記出力位置情報の示す位
置に前記読み出された文字パターン情報を出力用記憶手
段に出力する制御手段とを有することを特徴とする出力
装置。
1. An output device for outputting character pattern information corresponding to code information inputted from the outside based on the character pattern information in the dot matrix format, wherein each character pattern information is converted into character pattern information. Accordingly, the height of the character pattern information, in which the blank information in the height direction of 1 dot unit is deleted, the address information corresponding to the character pattern information, the output position information indicating the position at which the character pattern information is output, and the height of the character pattern information And storage means for respectively storing height information indicating the address information, the address information corresponding to the code information, the height information, and the output position information are read from the storage means and read out. The character pattern information corresponding to the height indicated by the height information is forwarded based on the generated address information and the height information. Reading means for reading from the storage means, and storage means for outputting the read character pattern information at the position indicated by the output position information based on the output position information and the character pattern information read by the reading means An output device comprising:
JP59013424A 1984-01-30 1984-01-30 Output device Expired - Lifetime JPH0693182B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59013424A JPH0693182B2 (en) 1984-01-30 1984-01-30 Output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59013424A JPH0693182B2 (en) 1984-01-30 1984-01-30 Output device

Publications (2)

Publication Number Publication Date
JPS60159782A JPS60159782A (en) 1985-08-21
JPH0693182B2 true JPH0693182B2 (en) 1994-11-16

Family

ID=11832749

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59013424A Expired - Lifetime JPH0693182B2 (en) 1984-01-30 1984-01-30 Output device

Country Status (1)

Country Link
JP (1) JPH0693182B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5612681A (en) * 1979-07-12 1981-02-07 Epson Corp Character generator
JPS5713481A (en) * 1980-06-27 1982-01-23 Konishiroku Photo Ind Character generating system
JPS5895386A (en) * 1981-11-30 1983-06-06 三洋電機株式会社 Graphic japanese character pattern memory system
JPS58116579A (en) * 1981-12-29 1983-07-11 富士通株式会社 Kanji dot pattern output control method

Also Published As

Publication number Publication date
JPS60159782A (en) 1985-08-21

Similar Documents

Publication Publication Date Title
US4692757A (en) Multimedia display system
EP0130287B1 (en) Internal image and bit array for display and printing of graphics
JPH05298289A (en) Word processor
JPS6221127B2 (en)
US4434419A (en) Cursor control circuit for plural displays for use in a word processing system
US4737779A (en) Data processing apparatus with dot character generator
US4706076A (en) Apparatus for displaying images defined by a plurality of lines of data
JPS6330632B2 (en)
EP0258825A2 (en) Display control apparatus with improved attribute function
CA1167987A (en) Circuit for controlling information on a display
JPH0693182B2 (en) Output device
US4422070A (en) Circuit for controlling character attributes in a word processing system having a display
JPH0522933B2 (en)
EP0105491A2 (en) Font display and text editing system
JP2612402B2 (en) Display control method
JPS6364798B2 (en)
JPS61137191A (en) Scrol display unit
JPH0146072B2 (en)
KR880001082B1 (en) Low Table Addressing Method Using Reset Function of Low Level CRTC
JPS61219082A (en) Display controller
JPH0126071B2 (en)
JPS6152691A (en) Page splitting and scrolling system for screen
JPS6054708B2 (en) Handwritten character/figure recognition device
JPS61239288A (en) Character pattern generation system
JPS637392B2 (en)

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term