# \#repl

**URL:** https://racket.discourse.group/tag/repl/42.md

[Latest](https://racket.discourse.group/latest.md) · [Categories](https://racket.discourse.group/categories.md) · [Tags](https://racket.discourse.group/tags.md)

---

## [How can I properly thread serve/servlet?](https://racket.discourse.group/t/how-can-i-properly-thread-serve-servlet/3326)

<div class="topic-metadata">

**Author:** [@mfru](https://racket.discourse.group/u/mfru)\
**Replies:** 5\
**Last updated:** [November 16, 2024, 10:27pm UTC](https://racket.discourse.group/t/how-can-i-properly-thread-serve-servlet/3326 "2024-11-16T22:27:41Z")

</div>

Hi, I am working on a Racket web server. Having used Clojure in the past, I quite like being able to have convenience procedures for working within my code. Particularly, I want to implement a (start-server!) and a (st…

---

## [\`rlwrap racket\`](https://racket.discourse.group/t/rlwrap-racket/3084)

<div class="topic-metadata">

**Author:** [@not-just-yeti](https://racket.discourse.group/u/not-just-yeti)\
**Replies:** 2\
**Last updated:** [August 12, 2024, 4:16pm UTC](https://racket.discourse.group/t/rlwrap-racket/3084 "2024-08-12T16:16:59Z")

</div>

I've been setting up my .inputrc so that I can get vi-keybinding-goodness in various shells/repls. For racket, rlwrap ends up overwriting the "\>" prompt (I can see it momentarily, then it disappears). I ended up faking…

---

## [DrRacket REPL: Make ctrl-p an alias for ctrl-up](https://racket.discourse.group/t/drracket-repl-make-ctrl-p-an-alias-for-ctrl-up/1882)

<div class="topic-metadata">

**Author:** [@sschwarzer](https://racket.discourse.group/u/sschwarzer)\
**Replies:** 8\
**Last updated:** [April 25, 2023, 10:14am UTC](https://racket.discourse.group/t/drracket-repl-make-ctrl-p-an-alias-for-ctrl-up/1882 "2023-04-25T10:14:10Z")

</div>

In the DrRacket REPL (interaction window), I can use ctrl-up (up = arrow up) to recall one of the previous inputs. However, recently I've become used to use ctrl-p in Bash to recall previous inputs, because that's easier…

---

## [How can I keep a REPL alive during \`read-eval-print-loop\` + \`with-handlers\` + a contract violation?](https://racket.discourse.group/t/how-can-i-keep-a-repl-alive-during-read-eval-print-loop-with-handlers-a-contract-violation/1126)

<div class="topic-metadata">

**Author:** [@benknoble](https://racket.discourse.group/u/benknoble)\
**Replies:** 4\
**Last updated:** [July 7, 2022, 4:27pm UTC](https://racket.discourse.group/t/how-can-i-keep-a-repl-alive-during-read-eval-print-loop-with-handlers-a-contract-violation/1126 "2022-07-07T16:27:33Z")

</div>

I have a program that starts a REPL via (read-eval-print-loop) that happens to be dynamically inside a with-handlers clause. And I noticed something equivalent to the following that might be related to error-escape-handl…

---

## [Enable syntax highlighting for REPL in terminal](https://racket.discourse.group/t/enable-syntax-highlighting-for-repl-in-terminal/1096)

<div class="topic-metadata">

**Author:** [@kurinoku](https://racket.discourse.group/u/kurinoku)\
**Replies:** 3\
**Last updated:** [June 24, 2022, 11:22pm UTC](https://racket.discourse.group/t/enable-syntax-highlighting-for-repl-in-terminal/1096 "2022-06-24T23:22:20Z")

</div>

Recently my university lends us a VM for a course, I installed racket there and the REPL has colors, I know this is a bit off-topic and has to do with my configuration, but I didn't find any dot file or installation file…

---

## [Current-read-interaction returning eof](https://racket.discourse.group/t/current-read-interaction-returning-eof/1032)

<div class="topic-metadata">

**Author:** [@greghendershott](https://racket.discourse.group/u/greghendershott)\
**Replies:** 3\
**Last updated:** [May 30, 2022, 1:49am UTC](https://racket.discourse.group/t/current-read-interaction-returning-eof/1032 "2022-05-30T01:49:32Z")

</div>

current-read-interaction is documented as: (current-read-interaction) → (any/c input-port? -\> any) (current-read-interaction proc) → void? proc : (any/c input-port? -\> any) A parameter that determines the current re…

---

## [How can I set environment variables in racket-mode?](https://racket.discourse.group/t/how-can-i-set-environment-variables-in-racket-mode/406)

<div class="topic-metadata">

**Author:** [@dstorrs](https://racket.discourse.group/u/dstorrs)\
**Replies:** 7\
**Last updated:** [December 13, 2021, 7:07pm UTC](https://racket.discourse.group/t/how-can-i-set-environment-variables-in-racket-mode/406 "2021-12-13T19:07:03Z")

</div>

I'd like to have the racket-mode repl show logging. I've browsed through the docs and don't see anything like that...can anyone offer a pointer?
