summaryrefslogtreecommitdiff
path: root/doc/ref/scheme-using.texi
diff options
context:
space:
mode:
authorMichael Gran <spk121@yahoo.com>2011-02-20 21:53:46 -0800
committerAndy Wingo <wingo@pobox.com>2011-03-04 11:01:48 +0100
commit47b86dbf4dc3da2f4d6d41a018cd221fbf0823ee (patch)
tree166b7c9522f562f168124a8c22f5131ef5d556d0 /doc/ref/scheme-using.texi
parentc7d6f8b27949e12b6e358e4c9580affddb339af6 (diff)
downloadguile-47b86dbf4dc3da2f4d6d41a018cd221fbf0823ee.tar.gz
Add ,width meta-command to set screen width in debug output
This meta-command allows one to set the default number of columns that output from ,backtrace and ,locals shall occupy. * doc/ref/scheme-using.texi (Debug Commands): document ,width * module/system/repl/command.scm (*width*): new var (backtrace, locals): use *width* in optarg (width): new meta-command
Diffstat (limited to 'doc/ref/scheme-using.texi')
-rw-r--r--doc/ref/scheme-using.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/ref/scheme-using.texi b/doc/ref/scheme-using.texi
index 126b84590..a119d4218 100644
--- a/doc/ref/scheme-using.texi
+++ b/doc/ref/scheme-using.texi
@@ -337,6 +337,12 @@ Show the VM registers associated with the current frame.
@xref{Stack Layout}, for more information on VM stack frames.
@end deffn
+@deffn {REPL Command} width [cols]
+Sets the number of display columns in the output of @code{,backtrace}
+and @code{,locals} to @var{cols}. If @var{cols} is not given, the width
+of the terminal is used.
+@end deffn
+
The next 3 commands work at any REPL.
@deffn {REPL Command} break proc