XLISP setup-console

Nyquist / XLISP 2.0 - Contents | Tutorials | Examples | Reference

# setup-console

Type: | - | function (subr)
Source: | - | sys/unix/osstuff.c, sys/mac/macstuff.c, sys/win/msvc/winfun.c

## Syntax

(setup-console)
  returns - NIL

## Description

The 'setup-console' function sets the default console attributes.

Note: Under Windows, Nyquist normally starts up in a medium-sized console window with black text and a white background, with a window title of 'Nyquist'. This is normally accomplished by calling 'setup-console' in 'system.lsp'. In Nyquist, you can avoid this behavior by setting *setup-console* to NIL in your 'init.lsp' file. If 'setup-console' is not called, Nyquist uses standard input and output as is. This is what you want if you are running Nyquist inside of emacs, for example.

## Examples

Back to Top

Nyquist / XLISP 2.0 - Contents | Tutorials | Examples | Reference