How to get rid of tty control chars?

How to get rid of tty control chars?

Post by Josep R. Herrer » Wed, 16 Mar 1994 01:02:09


        We have been looking for a filter or any kind of program in order
        to get rid of the tty control character that appear when you
        try to log a session by using the "script" command.

        Does anybody out there have solved that problem?

                Thanks a lot.

Josep R. Herrero
Dpt. Arquitectura de Computadors
Universitat Politecnica de Catalunya

           ... Let's keep our planet as it used to be ...
                  ... Reduce, Reuse, Recycle ...


1. Hot to get rid of control chars ?


I would like  to  get rid of the occurences of ^M^J charachter combination
(carriage return & line feed combination)in my file.
That is I want to get rid of  all  the  occurences of   \015\012

For Example, the following file


should becom


Any help is greatly appreciated.
Thanks in advance,,,,,Murty

2. alsa SBLive drivers on RH7

3. get rid of control char in text file

4. RPC portmap error

5. Getting RID of Access Control Lists (ACLs)

6. Novice question on Solaris

7. Getting the real tty device name (/dev/tty not good enough)

8. why "read" doesn't work in my script?

9. char *strcasestr(char *haystack, char *needle) a simple case independent strstr()

10. How do I get rid of vt100 graphics chars?

11. how to get rid of end of line char by using scripts

12. Non-printable chars in filenames: how do you get rid of them?

13. troff error: cannot find tty-char