HPlogo HP-UX Reference Volume 1 of 5 > u

ul(1)

» 

Technical documentation

Complete book in PDF

 » Table of Contents

 » Index

NAME

ul — do underlining

SYNOPSIS

ul [-t terminal] [-i] [name ...]

DESCRIPTION

ul reads the named files (or standard input if none are given) and translates occurrences of underscores to the sequence which indicates underlining for the terminal in use, as specified by the environment variable TERM. The -t option overrides the terminal type specified in the environment. The terminfo(4) file corresponding to TERM is read to determine the appropriate sequences for underlining. If the terminal is incapable of underlining, but is capable of a standout mode, the standout mode is used instead. If the terminal can overstrike, or handles underlining automatically, ul degenerates to cat. If the terminal cannot underline, underlining is ignored.

The -i option causes ul to indicate underlining onto by a separate line containing appropriate dashes -; this is useful when you want to look at the underlining present in an nroff output stream on a CRT terminal.

WARNINGS

nroff usually outputs a series of backspaces and underlines intermixed with the text to indicate underlining. No attempt is made to optimize the backward motion.

EXTERNAL INFLUENCES

International Code Set Support

Single- and multi-byte character code sets are supported with the exception that multi-byte-character file names are not supported.

FILES

/usr/share/lib/terminfo/?/*

terminal capability files

AUTHOR

ul was developed by the University of California, Berkeley.

© Hewlett-Packard Development Company, L.P.