ul(1) General Commands Manual ul(1)NAME
ul - Translates underlining for display on a terminal
SYNOPSIS
ul [-i] [-t terminal] [file...]
The ul command displays the named files (or standard input if none are given) with underlining shown as it would be on the printed page.
OPTIONS
Causes the ul command to indicate underlining by a separate line containing appropriate - (dashes). This is useful when you want to look
at the underlining in formatted text output on a cathode ray tube (CRT) terminal. Overrides the terminal kind specified in the environ-
ment. The terminfo database 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 mode is used instead. If the terminal can overstrike, or handles underlining automatically, ul
acts like the cat command, simply displaying data to the screen. If the terminal cannot underline, underlining is ignored.
DESCRIPTION
The ul command translates underscores to the sequence that indicates display underlining for the terminal in use, as specified by the TERM
environment variable.
FILES
Terminal information database.
SEE ALSO
Commands: col(1), colcrt(1), man(1), more(1)
Files: terminfo(4)ul(1)
Check Out this Related Man Page
ul(1) General Commands Manual ul(1)Name
ul - process underscores for terminal
Syntax
ul [-i] [-t terminal] [name...]
Description
The command 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 under-
lining automatically, degenerates to If the terminal cannot underline, underlining is ignored.
The -i option causes to indicate underlining by a separate line containing appropriate dashes `-'; this is useful when you want to look at
the underlining which is present in an output stream on a crt-terminal.
Options-i Displays underscoring on separate line containing appropriate dashes (-).
-t terminal
Uses type of specified terminal in place your terminal's type.
Restrictions
The 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.
See Alsoman(1), nroff(1), colcrt(1)ul(1)
Hi,
Can anyone tell me if I can apply multiple cut on a single variable like below in a sh script:
tmp=`cut -c 1-4 $val`
tmp1=`cut -c 5-12 $val`
tmp2=`cut -c 13-18 $val`
If not, what is the other way to do this.
Thanks and Best Regards
Shoeb (17 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)
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)
When trying to open a document with VI editor, getting the following error..
E558: Terminal entry not found in terminfo
'vt100' not known. Available builtin terminals are:
builtin_gui
builtin_riscos
builtin_amiga
builtin_beos-ansi
builtin_ansi
builtin_pcansi
... (8 Replies)
what is the best way to get to know the terminal environment and command line in the Mac OS X.
is it as simple as learning the bash shell, or any shell.
I have worked in the Terminal environment in the past with some C programming and some command line basics. And with that i had to dig thru... (5 Replies)
I connect via vnc to a linux computer.
after a logout, I cannot see the files on the screen (although i can see the screensaver).
I can open a terminal and see the files etc.
How can i see the files on the screen again? (5 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)
Hi
I want to filter my files which has more than 1 underscores in it.how can i achieve this.
Ex: if my file name is a_b_c, a_b.
my command should result only a_b_c
Thanks
Pracheth (10 Replies)
I have an situation that are quite strange to me. I am not able to exit the server terminal and enter back into my home computer terminal by the command exit like I used to be able to exit the server terminal with before. I end up into my root shell again without even typing the root password like... (6 Replies)
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)