---
name: "nxwish"
section: "1"
platform: "linux"
package: "nsf-shells"
version: "2.4.0-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/nxwish"
---

# nxwish(1)

Simple windowing shell containing NSF/NX interpreter

```

```

## NAME

nxwish - Simple windowing shell containing NSF/NX interpreter

## SYNOPSIS

**nxwish** ?*fileName*?

```

```

## DESCRIPTION

- **nxwish** ?*fileName*?

  **nxwish** is a shell-like application including Tcl and the NX extension as well as the Tk toolkit. **nxwish** creates a main window and, then, reads commands from its standard input or from *fileName* and evaluates them.  If invoked without *fileName*, then it runs in REPL mode, reading commands from standard input. **nxwish** will continue processing commands until all windows have been deleted or until end-of-file is reached on standard input.

  **nxwish** can be used like **wish** to make NX scripts directly invocable from the shell, by providing the following first line ("shebang") in the respective script:

  ```
  	#! /usr/bin/env nxwish
  ```

-

  A (more portable) alternative is:

  ```
  	#! /bin/sh
  	# the next line restarts using nxwish \
  	    exec nxwish "$0" "$@"
  ```

## COPYRIGHT

```
Copyright (c) 2014-16 Stefan Sobernig <stefan.sobernig@wu.ac.at>, Gustaf Neumann <gustaf.neumann@wu.ac.at>; available under the Creative Commons Attribution 3.0 Austria license (CC BY 3.0 AT).
```
