How to input non-printing characters in mlterm

How to input non-printing characters in mlterm

Avraham Rosenberg for.avraham at gmail.com
Wed Jun 30 15:47:27 IDT 2010


On Tue, Jun 29, 2010 at 04:46:29PM +0000, Tzafrir Cohen wrote:
> On Tue, Jun 29, 2010 at 05:22:02PM +0300, Avraham Rosenberg wrote:
>...
> 
> Actually answering the question in the subject line: can you try the
> command-line option --viaucs (or through the configuration window:
> "Encoding => Process received strings via unicode") ?
> 
> -- 
> Tzafrir Cohen         | tzafrir at jabber.org | VIM is
> http://tzafrir.org.il |                    | a Mutt's
> tzafrir at cohens.org.il |                    |  best
> tzafrir at debian.org    |                    | friend
> 
Hi,
First, thanks to you and to all those who answered.

I guess you meant that, instead of starting the mlterm shell with the usual
LANG=he_IL.UTF-8 LC_COLLATE=C mlterm -D=false -E UTF-8 -T "He UTF-8 mlterm" -g 120x25+0+0 -w 24 -o 5 -bg WhiteSmoke -fg black ,
I should try to use 
LANG=he_IL.UTF-8 LC_COLLATE=C mlterm --viaucs -D=false -E UTF-8 -T "He UTF-8 mlterm" -g 120x25+0+0 -w 24 -o 5 -bg WhiteSmoke -fg black

and then try the
catdoc Desktop/L_9_27_06_2010.doc | sed 's/[CtrlVx80-CtrlVxff]//; /^[   ]*$/d' | view -
or
catdoc Desktop/L_9_27_06_2010.doc | sed 's/CtrlVxa0//; /^[   ]*$/d' | view - 

I tried it and got only question marks (but the offending character had been
removed). I captured the output in a file u. Then "file u" gave "ASCII text".
לך תדע!
If I misunderstood your advice, please correct.

-To Shlomi: I am ashamed to admit: Since I retired, some 10 years ago and
also ceased to be involved in the professional life of others, four years
ago, I could not find something to fuel my motivation to learn Perl, so
that I forgot even what you teached me in the Tel-Aviv club. Your advice is
Chinese for me (good that this list is in English: I would not be able to
write in good faith "C'est de l'Hebreu pour moi!", the equivalent French
expression).
-Signature: I stand corected! Thanks. Now, I understand why my MS
Windows-using friends continued to send me powerpoint presentations,
despite my request: It was written in bad English!
Cheers, Avraham
-- 
Please avoid sending Excell or Powerpoint attachments to this address.



More information about the Linux-il mailing list