Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ul(1) [bsd man page]

UL(1)							      General Commands Manual							     UL(1)

NAME
ul - do underlining SYNOPSIS
ul [ -i ] [ -t terminal ] [ 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 kind specified in the environment. The file /etc/termcap is read to determine the appropriate sequences for underlining. If the terminal is incapable of underlining, but is capable of a standout mode then that is used instead. If the terminal can overstrike, or handles underlining automati- cally, ul degenerates to cat(1). 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 which is present in an nroff output stream on a crt-terminal. SEE ALSO
man(1), nroff(1), colcrt(1) BUGS
Nroff usually outputs a series of backspaces and underlines intermixed with the text to indicate underlining. No attempt is made to opti- mize the backward motion. 4th Berkeley Distribution May 7, 1986 UL(1)

Check Out this Related Man Page

UL(1)							    BSD General Commands Manual 						     UL(1)

NAME
ul -- do underlining SYNOPSIS
ul [-i] [-t terminal] [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 terminfo database is read to determine the appropri- ate sequences for underlining. If the terminal is incapable of underlining, but is capable of a standout mode then that is used instead. If the terminal can overstrike, or handles underlining automatically, ul degenerates to cat(1). If the terminal cannot underline, underlining is ignored. The following options are available: -i Underlining is indicated by a separate line containing appropriate dashes `-'; this is useful when you want to look at the underlin- ing which is present in an nroff output stream on a crt-terminal. -t terminal Overrides the terminal type specified in the environment with terminal. ENVIRONMENT
The following environment variable is used: TERM The TERM variable is used to relate a tty device with its device capability description (see terminfo(5)). TERM is set at login time, either by the default terminal type specified in /etc/ttys or as set during the login process by the user in their login file (see setenv(1)). SEE ALSO
man(1), nroff(1), colcrt(1) BUGS
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. HISTORY
The ul command appeared in 3.0BSD. 4th Berkeley Distribution June 6, 1993 4th Berkeley Distribution
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

see user's actions from another terminal

I would like to know if there is a way to see what a user is doing from another terminal. I want to be able to see exactly what they see on their terminal. Is that possible ? (4 Replies)
Discussion started by: silver40
4 Replies

2. UNIX for Dummies Questions & Answers

underlining

can unix underline any words ?? like <u>Time-»_( 07:54:50 )_ Date-»( Fri Aug 29 )</u> (8 Replies)
Discussion started by: SeeD
8 Replies

3. Shell Programming and Scripting

expanding standard terminal size

what is the Ksh syntax to expand/change the geometry of the running terminal window? thanks (6 Replies)
Discussion started by: prkfriryce
6 Replies

4. UNIX for Advanced & Expert Users

Difference between <stdin> & terminal

Hi, What's the difference in taking inputs from <stdin> and terminal. When by default <stdin> points to terminal itself. Thanks (7 Replies)
Discussion started by: vibhor_agarwali
7 Replies

5. UNIX for Dummies Questions & Answers

cat binary file -> terminal gibberish

I've used *nix systems for some time now and have frequently seen a terminal turn to gibberish after using cat or more on a binary file. I'm sure many others have also noticed this. Normally, I just exit the terminal, but I would like a better solution. Certainly there is some way to "reset" a... (11 Replies)
Discussion started by: quantumechanix
11 Replies

6. UNIX for Dummies Questions & Answers

"@" will clear the current line in terminal

I just found that the current command line will be cleared when trying to input the "@" sign to the terminal. I checked current alias, but found nothing. Would you please provide some suggestion about it? (4 Replies)
Discussion started by: sleepy_11
4 Replies

7. UNIX for Dummies Questions & Answers

How to put the STDOUT back to terminal

I have put the file descriptor 1 to file, using command exec 1>>out.txt Then I could not see any output on the screen, how could I restore the default output to terminal? :mad: Thanks (3 Replies)
Discussion started by: biglau
3 Replies

8. HP-UX

boot a unix terminal

I issued a halt command to a remote unix terminal and it shut down with root user through putty. Is there a way to start it back on? (3 Replies)
Discussion started by: mevoid
3 Replies

9. UNIX for Dummies Questions & Answers

Sensors in terminal?

I just installed lm-sensor in my terminal and it's working, however i really don't know how to analyze what I have, Any help will be appreciated, Thanks Here is the reading in my terminal, sensors acpitz-virtual-0 Adapter: Virtual device temp1: +40.0°C (crit = +124.0°C) ... (3 Replies)
Discussion started by: fvs
3 Replies

10. UNIX for Dummies Questions & Answers

How can I know IP address of terminal?

Hi all, I am new in Unix world. I usually need to trace who connect to which terminal by IP address. So, could you please show me HOW TO RECOGNIZE which IP address connected to terminal? I use netstat by no luck. Thank you, (9 Replies)
Discussion started by: trinhnguyen
9 Replies

11. UNIX for Advanced & Expert Users

Unix terminal display related issue

Want few input related to unix environment and terminal settings: 1. Am trying to find a way to keep the unix terminal display intact even after opening and closing a vi/less file. Currently if I open a vim file in the unix terminal and then close the file,it displays the contents of vim file on... (4 Replies)
Discussion started by: talktovkjain
4 Replies

12. Shell Programming and Scripting

Help with underline text based on specific region

Input file 2 5 ASFGEWTEWRQWEQ 10 20 QEWIORUEIOUEWORUQWEQWRQRQWGQWGFQ 1 6 WRQTQWTQTQWTQT Desired output file 2 5 ASFGEWTEWRQWEQ 10 20 QEWIORUEIOUEWORUQWEQWRQRQWGQWGFQ 1 6 WRQTQWTQTQWTQT Column 1 is the start region of underline the text in column 3; Column 2 is the end region of... (13 Replies)
Discussion started by: cpp_beginner
13 Replies

13. Shell Programming and Scripting

Can I view doc files from terminal

Sometimes I'm working from terminal for long periods of time and I come across a doc file I don't recognize. I've been trying to figure out how to view it instead of opening up word. I've tried cat but it jumps into binary and my terminal goes nuts. Is there a way I can do this from... (4 Replies)
Discussion started by: syregnar86
4 Replies

14. OS X (Apple)

"Locate" Shows Files but Not "LS" in Terminal

OS-X 10.8.4 Using locate I get these results: 10:~ mize$ locate /Users/mize/*.sh /Users/mize/Zend/workspaces/DefaultWorkspace/SLM/vendor/ZF2/bin/check-cs.sh /Users/mize/copy_ascii_upload.sh /Users/mize/copy_ascii_upload_to_server.sh /Users/mize/copy_form_functions_php_to_jpl.sh... (7 Replies)
Discussion started by: Gary Mize
7 Replies

15. What is on Your Mind?

Should we use CODE Tags for terminal input and output?

I've always used code tags for code but not for showing terminal input and output. I noticed a mod edited one of my threads and now I'm confused as to proper protocol. Mike (5 Replies)
Discussion started by: Michael Stora
5 Replies