Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ul(1) [opendarwin man page]

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

NAME
ul -- do underlining SYNOPSIS
ul [-i] [-t terminal] [name ...] DESCRIPTION
The ul utility 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 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 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 termcap(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 environ(7)). SEE ALSO
colcrt(1), man(1), nroff(1) BUGS
The nroff(1) command 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. BSD
June 6, 1993 BSD

Check Out this Related Man Page

UL(1)								   User Commands							     UL(1)

NAME
ul - do underlining SYNOPSIS
ul [options] [file ...] 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 appro- priate 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 under- line, underlining is ignored. OPTIONS
-i, --indicated 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, -T, --terminal terminal Overrides the terminal type specified in the environment with TERM. -V, --version Display version information and exit. -h, --help Display a help text and exit. 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
colcrt(1), login(1), man(1), nroff(1), setenv(1), terminfo(5) 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. HISTORY
The ul command appeared in 3.0BSD. AVAILABILITY
The ul command is part of the util-linux package and is available from Linux Kernel Archive <ftp://ftp.kernel.org/pub/linux/utils/util- linux/>. util-linux September 2011 UL(1)
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. OS X (Apple)

reformat drive with terminal.

ok, so i wrecked my ipod trying to mess with themes and what not and now it will not turn on. it will not even mount when plugged in. I am wondering if i can some how format it with terminal. when i type "mount /dev/disk1s3" it says "unknown special file or file system". . i dont know much code... (3 Replies)
Discussion started by: ajstre24
3 Replies

3. Programming

read terminal command

hi how to read terminal command, just i want to read all command which write on terminal so please tell me any system call, api avilable in c for above purpose (6 Replies)
Discussion started by: munnu
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

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

7. 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

8. Red Hat

terminal size

Is there an easy command to know the size of a terminal window from a command line command? (3 Replies)
Discussion started by: garethsays
3 Replies

9. UNIX for Dummies Questions & Answers

Sending a file

Help me. .i want to send a file from one terminal to another terminal . .how to do that??? thnx in advance . .:) (2 Replies)
Discussion started by: Nagaraju.s
2 Replies

10. UNIX for Dummies Questions & Answers

Searching in the terminal

Hello, I am fairly new to Unix, I've been running Ubuntu 10.10 on my laptop for a couple days now. I have followed a tutorial on using the terminal, and I can get around but there are some things I haven't figured out how to do yet. For example, I have a directory which contains all my... (3 Replies)
Discussion started by: emveedee
3 Replies

11. UNIX for Dummies Questions & Answers

Finding WHERE an environment variable is defined.

HI. I had an environment variable defined in my .bash_profile file and I deleted it. I opened a new terminal and looked inside .bash_profile and it's not there but when I type printenv MYCONFIG it reutrns what the value used to be in my .bash_profile still!! I did a grep for MYCONFIG and... (6 Replies)
Discussion started by: dissectcode
6 Replies

12. Ubuntu

PATH environment variable

PATH is an environment variable. When I open a terminal say terminal 1 and set some path in PATH variable it gets set which I can see using ech $PATH. But when I open a new terminal say terminal 2 and fire echo $PATH why cannot I see the same output as seen in terminal terminal 1? Why the path... (4 Replies)
Discussion started by: rupeshkp728
4 Replies

13. 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

14. 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

15. Shell Programming and Scripting

How to find no of underscores in a variable?

Hi i have a variable var=a_b_c i want command to find no. of underscores in a variable Thank you (7 Replies)
Discussion started by: pracheth
7 Replies