The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
escaping special characters in file name... lau0001 Shell Programming and Scripting 1 01-19-2008 08:54 PM
Removing special characters in file srivsn Shell Programming and Scripting 6 01-03-2008 06:10 AM
How to delete a file with special characters yveslagace UNIX for Dummies Questions & Answers 5 08-22-2007 11:42 AM
Replace Special characters in a file solai UNIX for Dummies Questions & Answers 1 07-13-2006 10:36 AM
search special characters in a file cramya80 UNIX for Dummies Questions & Answers 2 05-13-2005 12:08 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-19-2005
jingi1234 jingi1234 is offline
Registered User
  
 

Join Date: Mar 2005
Posts: 48
how to see special characters in a file using vi

Hi,
I have a file which has special characters. I can't see them when I "vi" the file. But I am sure there are some special un seen characters. How can I see them?

Please help.

Thx
  #2 (permalink)  
Old 10-19-2005
vino's Avatar
vino vino is offline Forum Staff  
Supporter (in vino veritas)
  
 

Join Date: Feb 2005
Location: Bangalore, India
Posts: 2,796
emacs helps for sure.

I think vim might also show it.
  #3 (permalink)  
Old 10-19-2005
jingi1234 jingi1234 is offline
Registered User
  
 

Join Date: Mar 2005
Posts: 48
How can I use vim?

I tried vim filename and it doesn't work.

and same with emacs.?

Please help
  #4 (permalink)  
Old 10-19-2005
vino's Avatar
vino vino is offline Forum Staff  
Supporter (in vino veritas)
  
 

Join Date: Feb 2005
Location: Bangalore, India
Posts: 2,796
Quote:
Originally Posted by jingi1234
I tried vim filename and it doesn't work.
What doesnt work ? Displaying the special symbols or vim itself ?

And for emacs, emacs filename should work.
  #5 (permalink)  
Old 10-19-2005
jingi1234 jingi1234 is offline
Registered User
  
 

Join Date: Mar 2005
Posts: 48
When I say:

vim FILENAME
ksh: vim: not found

emacs FILENAME
ksh: emacs: not found

  #6 (permalink)  
Old 10-19-2005
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
In vi, use
:set list
and you can do
:set nolist
to get back to normal.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 08:31 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0