Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ txinfo(cmds) — Sprite KS.390

Media Vault

Software Library

Restoration Projects

Artifacts Sought

TXINFO  —  User Commands

NAME

txinfo − Return up-to-date termcap information

SYNOPSIS

txinfo

INTRODUCTION

This command will output on its standard output two shell commands, which will set the TERM and TERMCAP enivornment variables to contain correct information for the tx window attached to /dev/tty.  For this command to work properly, the controlling terminal for the process (/dev/tty) must be attached to a tx window;  txinfo outputs tx commands to the window and reads back information supplied by tx. 

This command is particularly useful in .login files on machines that do not have “tx” entries in their termcap files (and right now there are no machines with "tx" termcap entries), so that you can rlogin from your workstation and get the TERM and TERMCAP environment variables defined.  For example, you might include the following shell commands in your .login files:
 
if ( $TERM == tx ) then set noglob eval ‘txinfo‘ unset noglob endif

The noglob variable must be unset while processing the the TERMCAP entry because it contains special characters like [, which will confuse the shell unless noglob is set. 
 

SEE ALSO

tx
 

KEYWORDS

termcap, terminal emulator, typescript, window

Sprite version 1.0  —  July 06, 1989

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026