[comp.unix.questions] is there any way to see special characters in a text editor?

wayne-s@cockle.cis.ohio-state.edu (Wayne Schmidt) (06/05/90)

I am looking to be able to see the control characters that are present 
in a specific file that is created. Is there any way to use, vi, ex, mg,
or emacs, ( or GNUemacs for that matter )  to display the control characters?
When I mean control characters I refer to ^L page breaks and ^M linefeeds (?)
theses are the type of characters that I want to see in the file. 

I am running Bezerkley Unix4.2 using SunOS 3.5.1 on sun 3/50's. I thank you
for your time, and I will post the answers to this question in a summary.


wayne schmidt 

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
wayne-s@cis.ohio-state.edu
schmidt@ohstpy.mps.ohio-state.edu
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

toma@ozdaltx.UUCP (Tom Armistead) (06/06/90)

In article <81188@tut.cis.ohio-state.edu>, wayne-s@cockle.cis.ohio-state.edu (Wayne Schmidt) writes:
> in a specific file that is created. Is there any way to use, vi, ex, mg,
> or emacs, ( or GNUemacs for that matter )  to display the control characters?
  . . .
> wayne schmidt 

In vi, you can use the command ':set list'. This will display all control
characters in the form '^A', it will also show a '$' for the end of each line.

To turn this off, use ':set nolist'

Tom
-- 
-------------------------------
{uunet,smu}!sulaco!ozdaltx!toma         (Tom Armistead @ Garland, Texas)
{uunet,smu}!sulaco!ozdaltx!swsrv1!toma