newt-0.52.21

#### Beyond Linux® From Scratch (systemd Edition) - Version 9.0

### Chapter 10. Graphics and Font Libraries

- Prev

  mypaint-brushes-1.3.0

- Next

  opencv-4.1.1

- Up
- Home

# newt-0.52.21

## Introduction to newt

Newt is a programming library for color text mode, widget based user interfaces. It can be used to add stacked windows, entry widgets, checkboxes, radio buttons, labels, plain text fields, scrollbars, etc., to text mode user interfaces. Newt is based on the S-Lang library.

This package is known to build and work properly using an LFS-9.0 platform.

### Package Information

- Download (HTTP): https://releases.pagure.org/newt/newt-0.52.21.tar.gz

- Download MD5 sum: a0a5fd6b53bb167a65e15996b249ebb5

- Download size: 172 KB

- Estimated disk space required: 6.4 MB

- Estimated build time: less than 0.1 SBU

### Newt Dependencies

#### Required

popt-1.16 and slang-2.3.2

#### Recommended

Tcl-8.6.9 and GPM-1.20.7 (runtime)

#### Optional

Python-2.7.16

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/newt

## Installation of newt

Install newt by running the following command:

    sed -e 's/^LIBNEWT =/#&/' \
        -e '/install -m 644 $(LIBNEWT)/ s/^/#/' \
        -e 's/$(LIBNEWT)/$(LIBNEWTSONAME)/g' \
        -i Makefile.in                           &&

    ./configure --prefix=/usr --with-gpm-support &&
    make

This package does not come with a test suite.

Now, as the `root` user:

    make install

## Command Explanations

`--with-gpm-support`: This switch enables mouse support for newt applications through GPM.

sed -e ... -i Makefile.in: Disables installation of a static library.

## Contents

Installed Programs: whiptail
Installed Library: libnewt.so, whiptcl.so, and /usr/lib/python{2.7,3.7}/site-packages/_snack.so
Installed Directories: None

### Short Descriptions

whiptail | displays dialog boxes from shell scripts.
`libnewt.so` | is the library for color text mode, widget based user interfaces.

Last updated on 2019-08-18 18:01:59 -0700

- Prev

  mypaint-brushes-1.3.0

- Next

  opencv-4.1.1

- Up
- Home