Here you find a collection of useful macros for THE (The Hessling Editor, by Mark Hessling) users have contributed (mostly via the mailing list THELIST) to share them with other users. Feel free to check these out. Interesting concepts and valuable examples can be seen here.
ここで(に)、あなたは、彼(それ)らを他のユーザーと共有するために、THE (Mark HesslingによるHesslingエディター)ユーザーのためのまとまった役に立つマクロが(たいがいはメーリング・リストTHELIST経由の)貢献したとわかります。自由にこれらを調べてみて下さい。面白い概念、および貴重な例は、ここで(に)見ることができます。
In general the macros are free to use, some are even in public domain.
一般的に、マクロは、使うのが自由です、いくらか(の人)は、パブリック・ドメインでさえいます。

TABLE OF CONTENTS
目次

all extended with GNU regular expressions by interfacing to grep
grepへのインターフェースすることによってGNU正規表現で全く拡張されました
color setup easy visual change of color layout
カラーは、カラー・レイアウトの簡単なビジュアルな変更をセットアップしました
column macros for prefix area
コラムプレフィックスのためのマクロ・エリア
count lines containing a string target (like XEDIT count)
ストリングターゲットを含むカウント・ライン( XEDITカウントのような)
filelist enhancement to dir file
dirファイルへのfilelist改良
filename completion on command line
コマンドラインのファイル名完了
filter parts of current file through external program (e.g. for formatting, indenting, recoding)
外部のプログラムを通した現ファイル(例えばフォーマットすること、へこませること、再コードすることのために)のフィルター部品
FW-client/server drop a file on the client icon and load it into the ring of a running THE server
FW -クライアント/サーバーは、クライアント・アイコンでファイルを落として、サーバーを走らせることのリングへそれをロードします
FW-folding outline your text by hiding parts you don't need
FWを(が)折りかさねることは、あなたが必要としない部品を隠すことによってあなたのテキストの概略を述べます
FW-macros (complete) enhance THE with lots of features
FW -マクロ(完成した)は、多くの特徴を備えたTHEを改良します
FW-utilities (from FW-Macros) some useful utilities independent from FW-macro concept
FW -マクロの概念からのFW -ユーティリティの( FW -マクロから)ある役に立つユーティリティ独立
localeSimulate dead keys or compose keys for inserting accented characters
localeSimulateがまったくキーをかけますまたは、アクセントをおかれた文字を差し込むためのキーを作って下さい
move to line containing a specified string target (comparable to clocate)
指定されたストリングターゲット( clocateに比較できる)を含むラインへの移行
power input text typed in at the command line
パワーは、コマンドラインでタイプされたテキストをインプットしました
prefix put/del/get of marked regions
マークがあるリージョンのプレフィックスput/del/get
search in file for string target using the all command
すべてのコマンドを利用したストリングターゲットのためのファイルの検索

Converting KEDIT-macro-library (.kml)
KEDIT -マクロの-ライブラリーを変えます(。kml )
Porting XEDIT-macros
移植していてXEDIT -マクロです
Coding conventions
コード化しているコンベンション
Coding THE-macros with other editors than THE
THEよりも他のエディターとコード化していてTHE -マクロです

DETAILS ON MACROS
詳細はマクロにあります

all extended
すべて拡張されて

Author Franz-Josef Wirtz
作者Franz -ヨーゼフWirtz
Download allx.the (1601 Byte)
allx.the (1601バイト)をダウンロードしてください
Restriction needs GNU grep utility
制限はGNUgrepユーティリティを必要とします
Description
記述
You can use allx when you need more power for selecting the wanted lines.
選ぶことのために指名手配のラインによりエネルギーを供給する必要があるときに、あなたはallxを使うことができます。
License GNU General Public License
ライセンスGNUジェネラルパブリックライセンス

color setup
カラーはセットアップされました

Author Franz-Josef Wirtz
作者Franz -ヨーゼフWirtz
Download thefwset25c.zip (16166 Byte)
thefwset25c.zip (16166バイト)をダウンロードしてください
Restriction THE 2.5, color version
制限THE2.5、カラー・バージョン
Description
記述
Under construction
工事中です
License GNU General Public License
ライセンスGNUジェネラルパブリックライセンス

column macros
コラム・マクロ

Author: Vance Johnson
作者:バンス・ジョンソン
Download: col.zip (4221 Byte)
ダウンロード:col.zip (4221バイト)
Restriction: unknown (THE 2.4?)
制限:無名の人(2.4です? )
Description:
記述:
See README
READMEを参照してください
License: unknown
ライセンス:無名の人

count lines
カウント・ライン

Author: Scott Mattes
作者:スコット・マット
Download: count.the (1587 Byte)
ダウンロード:count.the (1587バイト)
Restriction: unknown
制限:無名の人
Description:
記述:

License: public domain
ライセンス:パブリック・ドメイン

filelist
filelist

Author: Shintaroh Hori, Scott Mattes
作者:Shintaroh Hori、スコット・マット
Download: not yet available :-(
ダウンロード:まだ利用できません:- (
Restriction: unknown
制限:無名の人
Description:
記述:
It seems, that there are macros available, but not yet fully ported from KEDIT (Shintaroh Hori) or restricted in access (cern) or not complete (Scott Mattes).
それは思えます、そのそこは利用できるマクロです、しかし、KEDIT ( Shintaroh Hori )からまだ充分に移植された、あるいはアクセス( cern )で制限されていない、あるいは完成しませんでした( ScottMattes )。
Some suggest:
いくらか(の人)は示唆します:
It seems that something has been done in the CERN. Take a look at http://wwwcn.cern.ch/regina/in the VM/CMS migration issues section.
何かが(今まで)CERNで終わったようです。移行問題が区分にするVM / CMSのhttp://wwwcn.cern.ch/regina/で見ることを取って下さい。
License: not yet publically available
ライセンス:まだpublicallyではなく、利用できます

filename completion
ファイル名完了

Author: Pablo Garcia-Abia
作者:Pabloガルシア- Abia
Download: complete.the (4728 Byte)
ダウンロード:complete.the (4728バイト)
Restriction: needs 'ls' utility (e.g. from GNU-filetools)
制限:ニーズ「ls」ユーティリティ(例えばGNU- filetoolsから)
Description:
記述:
Macro to complete filenames in the command line, whenever the first command typed is XEDIT or THE. Otherwise, an alternative command is executed.
最初のコマンドがタイプしたときにはいつもコマンドラインでファイル名を完成する(べき)マクロは、XEDIT、あるいはTHEです。そうでないときは、どちらか一方のコマンドは実行されます。

More sophisticated completion may be implemented in the future for other commands, eventually.
より洗練されている完了は、他のコマンドのために将来実行されるかもしれません、結局は。

To use it, define a key in the following way:
それを使うために、以下の方法のキーを定義して下さい:

DEFINE keyname MACRO complete alternative_command
大きい完成したどちらか一方の_が命令するDEFINE keyname

For example:
例えば:

define TAB macro complete sos tabfieldf
マクロがsos tabfieldfを完成するタブを定義して下さい

In this example, the TAB key will complete filenames when typed IN the CMDline (after XEDIT or THE commands). Otherwise it will execute "sos tabfieldf".
この例で、( XEDITあるいはコマンドの後で) CMDlineでタイプされたときに、タブ・キーは、ファイル名を完成するでしょう。そうでないときは、それは、「sos tabfieldf」を実行するでしょう。
License: unknown
ライセンス:無名の人

filter
フィルター

Author: Ian Collier
作者:イアン炭鉱夫
Download: filter.the (1541 Byte)
ダウンロード:filter.the (1541バイト)
Restriction: obviously needs a utility which can act as filter
制限:明らかにフィルターの役をつとめることができるユーティリティを必要とします
Description:
記述:
Filters the region from the current line to the target.
現在の行からターゲットまでのリージョンを濾過します。

example: filter 5 fmt -72
例:フィルター5fmt -72

format the next 5 lines of text with Unix "fmt" utility
Unix「fmt」ユーティリティでテキストの次の5つのラインをフォーマットして下さい
License: unknown
ライセンス:無名の人

FW-client/server
FW -クライアント/サーバー

Author: Franz-Josef Wirtz
作者:Franz -ヨーゼフWirtz
Download: thefwcs23.zip (3156 Byte)
ダウンロード:thefwcs23.zip (3156バイト)
Restriction:Only on OS/2 (needs rxqueue for named queues)
制限:OS/2でのみ、(指名されたキューのためのrxqueueを必要とする)
Description:
記述:

License: GNU General Public License
ライセンス:GNUジェネラルパブリックライセンス

FW-folding
FWを(が)折りかさねること

Author: Franz-Josef Wirtz
作者:Franz -ヨーゼフWirtz
Download: thefwfold24.zip (20025 Byte)
ダウンロード:thefwfold24.zip (20025バイト)
Restriction: none (THE 2.4?)
制限:何(2.4です? )もない
Description:
記述:

License: GNU General Public License
ライセンス:GNUジェネラルパブリックライセンス

FW-macros (complete)
FW -マクロ(完成した)

Author: Franz-Josef Wirtz
作者:Franz -ヨーゼフWirtz
Download: thefw25c.zip (296031 Byte)
ダウンロード:thefw25c.zip (296031バイト)
Restriction: THE 2.5, OS/2, WIN32, X11
制限:2.5、OS/2、WIN32、X11
Description:
記述:

License: GNU General Public License
ライセンス:GNUジェネラルパブリックライセンス

FW-util
FW - util

Author: Franz-Josef Wirtz
作者:Franz -ヨーゼフWirtz
Download: thefwutil25c.zip (36573 Byte)
ダウンロード:thefwutil25c.zip (36573バイト)
Restriction: THE 2.5, file system with long filenames
制限:2.5、長いファイル名をもつファイル・システム
Description:
記述:

License: GNU General Public License
ライセンス:GNUジェネラルパブリックライセンス

locale
現場

Author: Franz-Josef Wirtz
作者:Franz -ヨーゼフWirtz
Download: locale.zip (1504 Byte)
ダウンロード:locale.zip (1504バイト)
Restriction: implementation for X11
制限:X11のための実装
Description:
記述:

License: GNU General Public License
ライセンス:GNUジェネラルパブリックライセンス

move to line
ラインに移動します

Author: Scott Mattes
作者:スコット・マット
Download: ml.the (1202 Byte)
ダウンロード:ml.the (1202バイト)
Restriction: unknown
制限:無名の人
Description:
記述:
Locates the line the target is in and then place the cursor at the beginning of the target.
ターゲットがそこにあるラインが、それからターゲットの始めにカーソルを置くことを置きます。

If anything is on the command line at the time of execution, then that is used as the target; otherwise the user is prompted for the target.
もし何(か)が実行の時にはコマンドラインにあれば、それは、ターゲットとして使われます;そうでないときは、ユーザーは、ターゲットの入力を促されます。

The search starts at either the line the cursor is on or the focus line, depending.
依存して、検索は、カーソルがオンであるラインまたはフォーカス・ライン(の一方)でスタートします。
License: public domain
ライセンス:パブリック・ドメイン

power input
パワーはインプットされました

Author: Jonathan Beach
作者:ジョナサン浜辺
Download: pow.zip (3761 Byte)
ダウンロード:pow.zip (3761バイト)
Restriction: unknown
制限:無名の人
Description:
記述:
Its purpose is to provide a means of inputting text in THE in a manner similar to the power typing mode in the VM/CMS version of XEDIT (or at least my memory of how it operated 5 years or so ago.).
その目的は、XEDIT (または、少なくともそれが年程度前(に)5を動かした方法の私のメモリーです。)のVM / CMSバージョンでパワー・タイピング・モードに類似しているマナーでTHEでインプットしているテキストの方法を提供するはず(こと,予定)です。

After putting the POW.THE command in your macro path, you just issue the POW command from the THE command line and begin typing. As you type, the text is inserted directly into the document as the line is typed indented by the amount of the left margin setting. It stores the current line in a working variable and updates any changes to the line with the REPLACE command.
POW.THEコマンドをあなたの大きいパスに入れた後で、あなたは、コマンドラインからちょうどPOWコマンドを出して、タイプし始めます。左の余白設定の量によってへこませられたので、ラインがタイプされるので、あなたがタイプするので、テキストは、直接ドキュメントへ差し込まれます。それは、現在の行を働いている変数、および更新に保存すると、REPLACEをもつラインへのいくらかの(どんな)変更は命令します。

When you get to the end of the line, POW performs a word wrap based on the difference of your right margin setting and the left margin setting It does this by truncating the current line at the last space before the margin length, inserting that line into the file (or at the margin if there are no spaces on the line). The macro then inserts a new blank line in the file and puts the leftover text on that line.
あなたがラインの終り(端)に着くときに、POWは、ファイル(またはいいえがあるかがラインで一定の間隔をおく余白で)へそのラインを差し込んで、余白長さの前に最後のスペースの現在の行の頭部を切ることによってあなたの右の余白設定の違い、およびそれをセットする余白がこれをする左側に基づくワードラップを実行します。マクロは、ファイルでその時新しい空白のラインを差し込んで、残り物のテキストをそのラインの上に置きます。

If you press the ENTER key before reaching the end of the line, that line will be inserted into the document right away and a new blank line is started. To exit the macro, you just need to hit return on a blank line. To enter a blank line into the text, just precede it with a space. While the macro is running, the backspace, del, left cursor key and ^H (C-H) can all be used to go back one space to the beginning of the current line (mistakes on lines other than the current line must be corrected outside of the POW macro).
もしあなたがラインの終り(端)に達する前にキーを押せば、そのラインは、直ちにドキュメントへ差し込まれるでしょう、そして、新しい空白のラインは、出発されます。 EXITに、マクロ、あなたは、ちょうど、帰りの空白のラインを打つ必要があります。テキストへ空白のラインに入るために、スペースでちょうどそれを先行して下さい。マクロが走っている間に、バックスペース、del、左のカーソル・キー、および^ H( C- H)は、すべて現在の行の始めへの後ろのものスペースになるために、使うことができます(現在の行以外のラインの間違いがPOWマクロの外に正されなくてはいけません)。
License: Copyright to the Author
ライセンス:作者への著作権

prefix put/del/get
プレフィックスput/del/get

Author: or Wesley J. Metzger
作者:または、ウエズレーJ. Metzger
Download: ppt.zip (2034 Byte)
ダウンロード:ppt.zip (2034バイト)
Restriction: unknown
制限:無名の人
Description:
記述:
Copy selected lines in a ring of files from one file to a selected position (with g in the prefix region) of an other file. prefixpt: REXX prefix macro to PUT or to PUT DELETE a line or block of lines.
1(人)からのファイルの選ばれたリングになったラインが他のファイルの選ばれたポジション( gがプレフィックスリージョンの)にファイルするコピー。prefixpt :置いて、あるいはDELETEを置くのが大きいREXXプレフィックスラインのライン、あるいはブロック。

prefixg: REXX prefix macro to do a GET after a line.
prefixg :ラインの後でがきをするのが大きいREXXプレフィックス。

These commands are intended to be used from prefix area. You should define several synonyms to make use of them.
これらのコマンドは、プレフィックスエリアから使われるように意図されます。あなたは、彼(それ)らを利用するために、いくつかの同意語を定義すべきです。
License: unkown
ライセンス:unkown

search in file
検索はファイルにあります

Author: search in file
作者:ファイルの検索
Download: sif.the (1648 Byte) Note: this is not the complete macro.
ダウンロード:sif.the (1648バイト)ノート:これは、完成したマクロではありません。
Restriction: unknown (THE 2.3?)
制限:無名の人(2.3です? )
Description:
記述:
Years ago, in 1984 to be more precise, I wrote a search-macro, a bit like ALL. This macro worked fine in XEDIT and later (adjusted) in KEDIT and still works fine.
年前(に)、より正確な(べき)1984で、私は、少し全部のように、検索-マクロを書きました。このマクロは、XEDITで素晴らしい、およびKEDITでより遅く(調節された)働いて、まだみごとに働きます。
License: unknown
ライセンス:無名の人


CONVERTING KEDIT-MACRO-LIBRARY (.kml)
KEDIT -マクロの-ライブラリーを変えます(。kml )

Since THE does not support macro librarys you have to put each macro into a separate .the-file. You might want to contact Agustin Martin Domingo since he has written a small utility to do an automatic conversion. Thus, when you use KEDIT besides THE you only have to maintain the KEDIT-macro library.
THEがマクロをサポートしないのであなたが切り抜きへそれぞれのマクロを置く必要があるライブラリー。そのファイル。彼がオートマティックのコンバージョンをするために小さいユーティリティを書いたので、あなたは、Agustinマーティン・ドミンゴに問い合わせたいでしょう。 このように、THEの他にKEDITを使うときに、あなたは、KEDIT -マクロのライブラリーを維持するだけでよいです。


PORTING XEDIT-MACROS
ポーティングはXEDIT -マクロです

By Mark Hessling
Mark Hesslingによって

I have been hearing from a few of you regarding the porting of XEDIT macros to THE, and thought I would suggest a couple of things that may make your life easier in the future.
私は、THEにXEDITマクロのポーティングに関連して何人かのあなたから連絡を受けていて、そして将来あなたの生活をより簡単にするかもしれないいくつかの物(事)を示唆するだろうと思いました。

While most XEDIT users will use THE in full XEDIT compatibility mode, I would strongly suggest that macros be written in THE compatibility mode.
ほとんどのXEDITユーザーが完全なXEDIT互換性モードでTHEを使うだろう間に、私は、強く、マクロが互換性モードで書かれるべきだと示唆するでしょう。

The reason for this is that the behaviour of THE wrt movement of focus and current lines, movement of cursor etc in various commands in THE compatibility mode is stable and unlikely to change, whereas in XEDIT compatibility mode, it is likely that behaviour will change as I fix it. The end result is that your macros will break :-(
これの理由は、フォーカスのwrt動きおよび互換性モードのいろいろなコマンドのカーソルetcの現在の行、動きの振る舞いが変わるのが安定している、またうまくいきそうもないということです、ところが、XEDIT互換性モードで、私がそれを修正するので、振る舞いが変わるだろうことがありそうです。終わり結果は、あなたのマクロが壊れるだろうということです:- (

You should add an EXTRACT of COMPAT at the beginning of the macro, followed by a SET COMPAT THE THE THE, and when the macro finishes, restore the settings saved.
セットCOMPAT THE THE THEが次に続くので、あなたは、マクロの始めでCOMPATの抽出を加えるべきです、そして、マクロが終わるときに、保管された設定をリストアーして下さい。


CODING CONVENTIONS
コンベンションをコード化します

There are several styles around for coding REXX according to
いくつかのそこに(そうすることを)一致してREXXをコード化するための見近なスタイルがあります
  • Maxwell,
    マクスウェル、
  • Cowlishaw or
    コーリショウまたは
  • Wide.
    広く。
    To follow one of these styles would improve the readability of your macros to others.
    これらのスタイルの1つの後を追うことは、他者にあなたのマクロの読みやすさを改良するでしょう。

    Some other guidelines might be:
    他のいくつかのガイドラインはそうでしょう:

  • Don't use abbreviated THE commands.
    短くされたTHEコマンドを使わないで下さい。
  • Avoid multiple statements in one line.
    1つの綱で複数のステートメントを避けて下さい。
  • Introduce names for line targets with an underscore to differentiate to procedures.
    識別する(べき)下線との綱ターゲットの名前をプロシージャーに紹介して下さい。
  • Put the macro name followed by at least two dashes into the first comment line, so the rxtag-Utility can respect macro calls.
    マクロ名が最低2によって後を追ったプットは、最初のコメント行へ突進します、したがって、rxtag -ユーティリティは、大きい電話を敬うことができます。
  • More to be added.
    加えられる(べき)より多く。

    CODING THE-MACROS WITH OTHER EDITORS THAN THE
    コーディングはTHEよりも他のエディターとTHE -マクロです

    Sometimes it's desired to have an editor at hand, which can correct a macro just changed and disallowing to edit files properly with THE. For emacs there is a powerful REXX-mode available (Written by Scott Maxwell, archie for rexxmode). There is also a highlight mode for this mode to have the code in fancy colors (from Franz-Josef Wirtz). The FW-macros contain also a file (rxtag.cmd) to utilize egrep for creating TAG files on the-macros. With such a TAG file you can quickly look up the called macro or procedure.
    時々、それは、近づくエディターがいるために、望まれます、どちらが、THEで適切にちょうど変わられた、およびファイルをエディットするのが許さなくいるマクロを正すことができますか。そこでのemacsのために、(スコット・マクスウェル、rexxmodeのためのarchieによって書かれる)パワフルなREXX -モードが利用できます。ファンシーな色( Franz -ヨーゼフWirtzから) (で)コードを入れる(べき)このモードのためにハイライト・モードがまたあります。FW -マクロは、そのマクロで札ファイルを作り出すためのegrepを使いこなすために、またファイル( rxtag.cmd )を含みます。このような札ファイルで、あなたは、呼ばれたマクロ、あるいはプロシージャー上へ速く見えることができます。
    Realization of this page Franz-Josef Wirtz
    このページFranz -ヨーゼフWirtzの理解
    Parts of this file are taken from the documents available in the packages or from the postings on THELIST.
    このファイルの部品は、THELISTでパッケージで、あるいは割り当てられた仕事から利用できるドキュメントから取られました。
    Last edited on: 03 Jan 1998
    以下でラストがエディットしました:1998年1月03日

    ?