Subject: bug#35542: Installer does not display full backtrace on error

From: Ludovic Courtès <[email-masked]>
Date: Wed, 08 May 2019 16:35:01 +0200

Hi Mathieu,

Mathieu Othacehe <[email-masked]> skribis:

> +       ;; Initialize 'terminal-width' in (system repl debug)
> +       ;; to a large-enough value to make backtrace more
> +       ;; verbose.
> +       (setenv "COLUMNS" "200")

What about instead doing something like this:

  (use-modules ((system repl debug) #:select (terminal-width)))

  (with-fluids ((terminal-width 200))
    …)

?

That would ensure we’re only changing Guile’s notion of the terminal
width and not interfering with other tools we might launch as child
processes.

Thoughts?

Ludo’.