This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
geda:gschem_repl [2016/02/09 08:49] vzh Started translation |
geda:gschem_repl [2019/10/06 08:21] (current) rlutz Update key sequences |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | [[gschem repl.ru|Russian]] | + | //Translations of this page are also available in the following languages:// [[gschem_repl.ru|Русский]]. |
====== Using REPL in gschem ====== | ====== Using REPL in gschem ====== | ||
===== Embedded graphical REPL functions in gschem ===== | ===== Embedded graphical REPL functions in gschem ===== | ||
The entry field for guile procedures is opened with hitting the | The entry field for guile procedures is opened with hitting the | ||
- | key <key>:</key> (colon). After doing this the user may enter | + | key sequence <key>g</key><key>:</key> (g, colon). After doing this the user may enter |
commands in the appeared field and watch the results of their work | commands in the appeared field and watch the results of their work | ||
in the gschem log window. | in the gschem log window. | ||
===== REPL in the background terminal ===== | ===== REPL in the background terminal ===== | ||
- | In the current version of the geda-gaf repository (as of | + | There is an additional menu entry for working with |
- | 09.02.2016) there is an additional menu entry for working with | + | |
REPL in the background terminal, which is invoked with hitting | REPL in the background terminal, which is invoked with hitting | ||
- | key sequence <key>f</key><key>Shift-r</key>. | + | key sequence <key>g</key><key>r</key>. |
Please note, that for the moment you can run it several times, | Please note, that for the moment you can run it several times, | ||
Line 55: | Line 54: | ||
[[https://lists.gnu.org/archive/html/guile-devel/2010-10/msg00044.html|here]]. | [[https://lists.gnu.org/archive/html/guile-devel/2010-10/msg00044.html|here]]. | ||
- | Дальше необходимо просто подключиться к нему любой программой, | + | Then you just need to connect to the port using any program which |
- | которая может работать с сокетом, например, используя **telnet**, | + | is able to do this, for example, |
- | **netcat** или другую программу. Примеры использования **telnet**: | + | **telnet**, |
+ | **netcat**, or some other. Example of using **telnet**: | ||
<code> | <code> | ||
$ telnet localhost 37146 | $ telnet localhost 37146 | ||
</code> | </code> | ||
- | Пример использования **netcat**: | + | Example of using **netcat**: |
<code> | <code> | ||
Line 68: | Line 68: | ||
</code> | </code> | ||
- | В этом случае интерфейс //readline// работать не будет. | + | In this case the //readline// interface won't work. |
- | Пользователи **Emacs** для работы с REPL могут использовать чудесное | + | **Emacs** users may use a shiny //Geiser// environment for working |
- | окружение //Geiser//. | + | with REPL in that program. |
- | Для этого нужно установить данный пакет, запустить сервер REPL в | + | For that to work, you have to install this package, run the REPL |
- | gschem и подключиться к нему в **Emacs** с помощью <key>M-x</key> | + | server in gschem and connect to it in **Emacs** using <key>M-x</key> |
**''connect-to-guile''**. | **''connect-to-guile''**. |