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