# \#shell

**URL:** https://erlangforums.com/tag/shell/306.md

[Latest](https://erlangforums.com/latest.md) · [Categories](https://erlangforums.com/categories.md) · [Tags](https://erlangforums.com/tags.md)

---

## [Emacs on Linux: preventing the Erlang shell buffer from echoing the prompt?](https://erlangforums.com/t/emacs-on-linux-preventing-the-erlang-shell-buffer-from-echoing-the-prompt/6098)

<div class="topic-metadata">

**Author:** [@Zaza](https://erlangforums.com/u/Zaza)\
**Replies:** 0\
**Last updated:** [October 31, 2026, 2:48pm UTC](https://erlangforums.com/t/emacs-on-linux-preventing-the-erlang-shell-buffer-from-echoing-the-prompt/6098 "2026-10-31T14:48:01Z")

</div>

When making erlang-shell start erl or rebar3 shell prompts are echoed; e.g.: 1\> 1. 1\> 1. 1 2\> 2. 2\> 2. 2 The problem goes away with erl -oldshell, but I’d rather use rebar3 shell in order to leverage Rebar3’s fe…

---

## [Can the Erlang shell support Ctrl+D by default?](https://erlangforums.com/t/can-the-erlang-shell-support-ctrl-d-by-default/5956)

<div class="topic-metadata">

**Author:** [@eproxus](https://erlangforums.com/u/eproxus)\
**Replies:** 8\
**Last updated:** [September 21, 2026, 3:46am UTC](https://erlangforums.com/t/can-the-erlang-shell-support-ctrl-d-by-default/5956 "2026-09-21T03:46:38Z")

</div>

Can the Erlang shell support Ctrl+D to exit the shell gracefully? Currently there are two common ways to exit the shell: either q(). (graceful shutdown) or Ctrl+C twice (killing the process). There’s also init:stop() whi…

---

## [Workflow for interactive application development?](https://erlangforums.com/t/workflow-for-interactive-application-development/5771)

<div class="topic-metadata">

**Author:** [@Zaza](https://erlangforums.com/u/Zaza)\
**Replies:** 4\
**Last updated:** [July 8, 2026, 1:06pm UTC](https://erlangforums.com/t/workflow-for-interactive-application-development/5771 "2026-07-08T13:06:59Z")

</div>

What’s the usual workflow for interactive application development? My understanding is that the workflow should be: Create a rebar.config file for the project if needed. Start an Erlang shell with rebar3 shell. …

---

## [How to disable "Command is taking a long time..." in OTP28](https://erlangforums.com/t/how-to-disable-command-is-taking-a-long-time-in-otp28/4974)

<div class="topic-metadata">

**Author:** [@hanssv](https://erlangforums.com/u/hanssv)\
**Replies:** 10\
**Last updated:** [August 21, 2025, 8:07am UTC](https://erlangforums.com/t/how-to-disable-command-is-taking-a-long-time-in-otp28/4974 "2025-08-21T08:07:57Z")

</div>

Somewhat overdue I started to use OTP-28, and naturally one of the first things on the agenda was to run some QuickCheck tests. While doing so I was greeted with a new helpful message “Command is taking a long time, type…

---

## [Is it possible to send an object to the REPL from application code?](https://erlangforums.com/t/is-it-possible-to-send-an-object-to-the-repl-from-application-code/4933)

<div class="topic-metadata">

**Author:** [@Duncan](https://erlangforums.com/u/Duncan)\
**Replies:** 2\
**Last updated:** [July 28, 2025, 5:08am UTC](https://erlangforums.com/t/is-it-possible-to-send-an-object-to-the-repl-from-application-code/4933 "2025-07-28T05:08:16Z")

</div>

If possible, I would like to be able to send some object from a process to the Erlang shell and bind it to a variable so that I can play with it in the REPL for debugging. Is it possible?

---

## [Proposal: Shell history should be enabled by default](https://erlangforums.com/t/proposal-shell-history-should-be-enabled-by-default/4765)

<div class="topic-metadata">

**Author:** [@arcanemachine](https://erlangforums.com/u/arcanemachine)\
**Replies:** 8\
**Last updated:** [May 20, 2025, 8:30am UTC](https://erlangforums.com/t/proposal-shell-history-should-be-enabled-by-default/4765 "2025-05-20T08:30:53Z")

</div>

I was working on some instructional material today, and I realized that erl/iex still do not support persistent shell history out of the box. I realize that I can enable this by adding export ERL\_AFLAGS="-kernel shell\_h…

---

## [Which shell do you use?](https://erlangforums.com/t/which-shell-do-you-use/797)

<div class="topic-metadata">

**Author:** [@AstonJ](https://erlangforums.com/u/AstonJ)\
**Replies:** 13\
**Last updated:** [March 31, 2025, 9:40am UTC](https://erlangforums.com/t/which-shell-do-you-use/797 "2025-03-31T09:40:38Z")

</div>

Stealing @OvermindDL1’s thread from Devtalk, what shell do you use and what’s in your rc file? Edit: Adding a poll… Which is your preferred shell? You can pick up to three. poll

---

## [Shell history not included when using io:read/1 in OTP 27](https://erlangforums.com/t/shell-history-not-included-when-using-io-read-1-in-otp-27/4191)

<div class="topic-metadata">

**Author:** [@etnt](https://erlangforums.com/u/etnt)\
**Replies:** 2\
**Last updated:** [November 18, 2024, 8:31am UTC](https://erlangforums.com/t/shell-history-not-included-when-using-io-read-1-in-otp-27/4191 "2024-11-18T08:31:18Z")

</div>

Hi, When I’m using OTP-27, it seems like the Erlang shell history does not include what I type in as a response to a io:read/1 prompt. I guess it has to do with the improved Erlang shell? A bit unfortunate for tools l…

---

## [Adding REPL-like feature to a graphical (Erlang) application?](https://erlangforums.com/t/adding-repl-like-feature-to-a-graphical-erlang-application/3795)

<div class="topic-metadata">

**Author:** [@Wondersye](https://erlangforums.com/u/Wondersye)\
**Replies:** 5\
**Last updated:** [July 5, 2024, 9:09pm UTC](https://erlangforums.com/t/adding-repl-like-feature-to-a-graphical-erlang-application/3795 "2024-07-05T21:09:24Z")

</div>

Hi, I would like to add an interactive shell/interpreter/REPL feature to a graphical (Erlang) application, like a pane containing a text control in which commands could be issued and their result be shown once processed…

---

## [Support adding multiple elements in list comprehensions](https://erlangforums.com/t/support-adding-multiple-elements-in-list-comprehensions/3317)

<div class="topic-metadata">

**Author:** [@eproxus](https://erlangforums.com/u/eproxus)\
**Replies:** 8\
**Last updated:** [February 22, 2024, 11:32am UTC](https://erlangforums.com/t/support-adding-multiple-elements-in-list-comprehensions/3317 "2024-02-22T11:32:48Z")

</div>

It is possible to prepend multiple elements to a list: 1\> \[a, b | \[\]\]. \[a,b\] But it is not possible to prepend multiple elements to a list using list comprehensions: 2\> \[K, V || K := V \<- #{a =\> b}\]. \* 1:7: syntax err…

---

## [The Erlang Shell](https://erlangforums.com/t/the-erlang-shell/1307)

<div class="topic-metadata">

**Author:** [@garazdawi](https://erlangforums.com/u/garazdawi)\
**Replies:** 134\
**Last updated:** [April 19, 2023, 1:33pm UTC](https://erlangforums.com/t/the-erlang-shell/1307 "2023-04-19T13:33:48Z")

</div>

Hello! When working with Erlang, the shell is central to a lot of the work that we do. It is where most of us started out when learning Erlang and it is where we have spent countless hours trying to debug issues in prod…

---

## [Where is the global shell history stored?](https://erlangforums.com/t/where-is-the-global-shell-history-stored/1987)

<div class="topic-metadata">

**Author:** [@dimitarvp](https://erlangforums.com/u/dimitarvp)\
**Replies:** 5\
**Last updated:** [October 31, 2022, 6:40am UTC](https://erlangforums.com/t/where-is-the-global-shell-history-stored/1987 "2022-10-31T06:40:41Z")

</div>

As per title, where can I find the globally accessible history exactly? I have learned to use rpc:call to the current group leader with the group\_history atom but that doesn’t tell me where the actual items are stored. …

---

## [Export erlang shell history to text](https://erlangforums.com/t/export-erlang-shell-history-to-text/1238)

<div class="topic-metadata">

**Author:** [@dischoen](https://erlangforums.com/u/dischoen)\
**Replies:** 2\
**Last updated:** [March 23, 2022, 7:06am UTC](https://erlangforums.com/t/export-erlang-shell-history-to-text/1238 "2022-03-23T07:06:13Z")

</div>

I regularly use the erlang shell to play around with new topics. From time to time I would like to use excerpts which are working in a regular module. This is a bit cumbersome, I can either copy&paste line by line, or …
