BSFILT(1) General Commands Manual BSFILT(1)NAME
bsfilt, colcrt - a colcrt-like backspace filter
SYNOPSIS
bsfilt [ - ] [ -U ] [ file ... ]
DESCRIPTION
Bsfilt filters backspace sequences from the input file(s) (standard input if none) in an approximation of colcrt(1). Both the backspace
and the character it returns to are removed, unless they form an underline sequence. Underline sequences are treated according to the set-
tings of the - and -U options.
OPTIONS
- specifies that no underlining of any kind is to be propagated. Without this option or the -U option, bsfilt approximates underlin-
ing with minus signs (`-') in following lines.
-U specifies that underlining with underscore (`_') and backspace (`) character sequences is permitted.
SEE ALSO cawf(1), colcrt(1) and nroff(1).
DIAGNOSTICS
Diagnostic messages are delivered to the standard error file.
HISTORY
Vic Abell of Purdue University wrote bsfilt to have a backspace filter for cawf(1) that is independent of licensed source code.
BUGS
The maximum length of a line that can be underlined with minus signs is fixed.
Bsfilt does not examine the characters that are being overprinted via backspace operations. Thus, overprinting that is intended to form a
new character from several different ones is ineffective and only the last character of the sequence is propagated - e. g., ``o^H+'',
intended to look like a bullet, is reduced to `+'.
February, 1991 BSFILT(1)
Check Out this Related Man Page
COLCRT(1) BSD General Commands Manual COLCRT(1)NAME
colcrt -- filter nroff output for CRT previewing
SYNOPSIS
colcrt [-] [-2] [file ...]
DESCRIPTION
The colcrt utility provides virtual half-line and reverse line feed sequences for terminals without such capability, and on which overstrik-
ing is destructive. Half-line characters and underlining (changed to dashing `-') are placed on new lines in between the normal output
lines.
The following options are available:
- Suppress all underlining. This option is especially useful for previewing allboxed tables from tbl(1).
-2 Cause all half-lines to be printed, effectively double spacing the output. Normally, a minimal space output format is used which
will suppress empty lines. The program never suppresses two consecutive empty lines, however. The -2 option is useful for sending
output to the line printer when the output contains superscripts and subscripts which would otherwise be invisible.
ENVIRONMENT
The LANG, LC_ALL and LC_CTYPE environment variables affect the execution of colcrt as described in environ(7).
EXAMPLES
A typical use of colcrt would be
tbl exum2.n | nroff -ms | colcrt - | more
DIAGNOSTICS
The colcrt utility exits 0 on success, and >0 if an error occurs.
SEE ALSO col(1), more(1), nroff(1), troff(1), ul(1)BUGS
Should fold underlines onto blanks even with the '-' option so that a true underline character would show.
Can't back up more than 102 lines.
General overstriking is lost; as a special case '|' overstruck with '-' or underline becomes '+'.
Lines are trimmed to 132 characters.
Some provision should be made for processing superscripts and subscripts in documents which are already double-spaced.
Characters that take up more than one column position may not be underlined correctly.
HISTORY
The colcrt command appeared in 3.0BSD.
BSD July 31, 2004 BSD
Hello,
I've written a Perl script that prompts for asnwers to questons. At those prompts, the backspace key shows up as ^H^H.
I would like the users to have the ablility to use the backspace key. I'm running bash shell and don't otherwise have this problem.
Any help would be greatly... (4 Replies)
Hi,
T think this is a question for Perderabo.
If you think you know the answer you must be very good ! :)
Most of us know how the make the <backspace> key backspace a character.
Now how do I make the <delete> key delete a character.
!! So when I press the delete key the character after... (3 Replies)
Hi,
when I make a mistake and then try to backspace I am unable to do so . Can someone please suggest How I can correct this on my session
For Eg:
pwd^H^H^H
Thanks
rooh (2 Replies)
Hello All,
I am using gvim ( redhat linux machine). backspace doesnot work properly. can some boby suggest a solution ?
i have checked with older version. backspace works in it.
Thanks
Shiv (1 Reply)
Hi all,
I am using a script which is as follows: It reads a character.
I want to check if the character is a backspace character or some other character.
read -n 1 x
if ; then
echo "backspace detected"
else
echo "some other character"
fi
Thanks in advance. (1 Reply)
So I am set up on a new box for work here and I have a frustrating preference issue. Whenever I hit backspace, it deletes a whole word instead of a single character. I understand that this is generally the functionality of hitting ctrl-backspace. I tried googling for a solution and dabbled... (3 Replies)
This is what I would like to accomplish, I have an input file (file A) that consist of thousands of sequence elements with the same number of characters (length), each headed by a free text header starting with the chevron ‘>' character followed by the ID (all different IDs with different lenghts)... (9 Replies)
Hi ,
I have to press shift + Backspace to do backspace on my unix termminal everytime. How can i configure it to a normal backspace only.
Please help me here. PFB the contents of the stty -a :
dbtgr@hpxi017:/pocuser/C5/aimsys/dbtgr> stty -a
speed 38400 baud; line = 0;
rows = 35; columns =... (4 Replies)
Hi
I normally use backspace to delete a single on my local machine in cygwin. Now I am trying cygwin on a virtual machine and when I type 'backspace', instead of a single character being deleted, the entire word gets deleted.
How do I change the settings for it?
I read somewhere that I... (2 Replies)
Friends,
I observed a peculiar problem in shell.
if I set a variable using standard input and backspace was used by the user, then the variable get ^? characters embedded in the variable.
###
echo "Enter value for X="
read X
echo $X
expr $X + 1
###
If the variable is echoed, then there... (3 Replies)