using c-shell, does anyone know how to send control characters to the printer before the job?
I need to set a printer to print in condensed mode
HELP (1 Reply)
Hi,
When I do a man and save it into a file, I end up getting a lot of control characters. How can I remove them??
I tried this:
/1,$ s/^H//g
But I get an error saying "no previous regular expression".
Can someone help me with this.
Thanks,
Aravind (5 Replies)
Hi ,
I have special character control M in many of my files as below
ersNet-Telnet-3.03/Makefile.PL100644 21166 144 612 7113770214 135
77 0ustar jayusers## -*- Perl -*-^M
^M
use ExtUtils::MakeMaker qw(WriteMakefile);^M
^M
WriteMakefile(NAME => "Net::Telnet",^M
... (4 Replies)
Hi,
Can anyone help me with controlling the cursor position from a shell script. Things like moving left,right,up,down etc
Anyone have any ideas? (2 Replies)
Can somebody please help me with the query. ?
I want a part of program of which should look for control characters in the flat file , when it finds it, displaying message that Control Characters found..!
Please help me (1 Reply)
Can somebody please help me with the query. ?
I want a part of program of which should look for control characters in the flat file , when it finds it, displaying message that Control Characters found..!
Please help me (13 Replies)
sed -e "s// /g" old.txt > new.txt
While I do know some control characters need to be escaped, can normal characters also be escaped and still work the same way? Basically I do not know all control characters that have a special meaning, for example, ?, ., % have a meaning and have to be escaped... (11 Replies)
Hi,
My files are showing some control characters in vi editor
^M
^@ and somtimes
^H
I removed ^M with %s/^M//g command
but how to represent ^@ and ^H
e.g. for ^M it is hold ctrl then v and m..
Please help..
I am very new to unix.. (7 Replies)
Hallo Team,
I am trying to get rid of the dollar sign. I managed to remove all the other special characters but i am struggling with this one.
-bash-3.2$ cat -e missing_revenue_20141112.csv|less|head
BW0522168531211141180935668@196.23.110.141$
BW092218784121114-370120610@196.23.110.141$... (4 Replies)
Discussion started by: kekanap
4 Replies
LEARN ABOUT REDHAT
mvwins_wstr
curs_ins_wstr(3X)curs_ins_wstr(3X)NAME
ins_wstr, ins_nwstr, wins_wstr, wins_nwstr, mvins_wstr, mvins_nwstr, mvwins_wstr, mvwins_nwstr - insert a wide-character string into a
curses window
SYNOPSIS
#include <curses.h>
int ins_wstr(const wchar_t *wstr);
int ins_nwstr(const wchar_t *wstr, int n);
int wins_wstr(WINDOW *win, const wchar_t *wstr);
int wins_nwstr(WINDOW *win, const wchar_t *wstr, int n);
int mvins_wstr(int y, int x, const wchar_t *wstr);
int mvins_nwstr(int y, int x, const wchar_t *wstr, int n);
int mvwins_wstr(WINDOW *win, int y, int x, const wchar_t *wstr);
int mvwins_nwstr(WINDOW *win, int y, int x, const wchar_t *wstr, int n);
DESCRIPTION
These routines insert a wchar_t character string (as many characters as will fit on the line) before the character under the cursor. All
characters to the right of the cursor are shifted right, with the possibility of the rightmost characters on the line being lost. No wrap-
ping is performed. The cursor position does not change (after moving to y, x, if specified). The four routines with n as the last argu-
ment insert a leading substring of at most n wchar_t characters. If n is less than 1, the entire string is inserted.
If a character in wstr is a tab, newline, carriage return or backspace, the cursor is moved appropriately within the window. A newline
also does a clrtoeol before moving. Tabs are considered to be at every eighth column. If a character in wstr is another control charac-
ter, it is drawn in the ^X notation. Calling win_wch after adding a control character (and moving to it, if necessary) does not return the
control character, but instead returns a character in the ^-representation of the control character.
NOTES
Note that all but wins_nwstr may be macros.
If the first character in the string is a nonspacing character, these functions will fail. XSI does not define what will happen if a non-
spacing character follows a control character.
RETURN VALUES
Upon successful completion, these functions return OK. Otherwise, they return ERR.
SEE ALSO curses(3X), curs_insstr(3X), curs_in_wch(3X), curs_ins_wch(3X).
curs_ins_wstr(3X)