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 > Special Forums > UNIX Desktop for Dummies Questions & Answers
.
google unix.com



UNIX Desktop for Dummies Questions & Answers Discuss UNIX and Linux user interfaces like GNOME, KDE, CDE, and Open Office here. All UNIX and Linux Newbies Welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Strange Characters After Using Notepad dgower2 Shell Programming and Scripting 4 05-21-2009 11:01 AM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-04-2007
Heidi.Ebbs Heidi.Ebbs is offline
Registered User
  
 

Join Date: Jun 2007
Posts: 10
Cool Wordpad or Notepad?

I am new to using UNIX and after uploading a new script to UNIX from Windows using FTP, the script doesn't always work. It seems this depends on the text editor I use and the transfer type. I understand all scripts should be transferred using ASCII, but can you advise which is the best text editor to use out of Notepad and Wordpad?

After doing some research it seems wordpad is most popular, however I had problems with this, and my script now works after opening and saving in notepad as a test document with qoutes encasing the filename.

Please offer any advice on this issue.
  #2 (permalink)  
Old 07-04-2007
cbkihong cbkihong is offline Forum Advisor  
Advisor
  
 

Join Date: Sep 2002
Location: Hong Kong, China
Posts: 1,624
Quote:
Originally Posted by Heidi.Ebbs View Post
but can you advise which is the best text editor to use out of Notepad and Wordpad?
Provided you save the document in ASCII, using any text editor has no difference. For me I will prefer Notepad because it is a text editor, not a "word processor" that can save text files. But you can just use any other free/commercial text editors on Windows anyway. I will only use notepad when there is no alternative installed because it doesn't do syntax highlighting. For me, I install gvim on Windows. The choice is always yours.

Quote:
however I had problems with this
Most likely you did not save the file as ASCII text, so it may become doc or rtf or something like that.

As a general rule, just make sure you are always saving the script as ASCII text, and always use FTP ASCII mode (if you use Binary mode, you have to use a Windows text editor that supports Unix EOL, and save the script with Unix EOL).
  #3 (permalink)  
Old 07-12-2007
Abdussamad Abdussamad is offline
Registered User
  
 

Join Date: Jul 2007
Location: Karachi, Pakistan
Posts: 1
You should use Notepad as it is a plain text editor while Wordpad is a word processor.
  #4 (permalink)  
Old 08-09-2007
nareshprasanna nareshprasanna is offline
Registered User
  
 

Join Date: Apr 2007
Posts: 1
hi i have a doubt

Quote:
Originally Posted by Heidi.Ebbs View Post
I am new to using UNIX and after uploading a new script to UNIX from Windows using FTP, the script doesn't always work. It seems this depends on the text editor I use and the transfer type. I understand all scripts should be transferred using ASCII, but can you advise which is the best text editor to use out of Notepad and Wordpad?

After doing some research it seems wordpad is most popular, however I had problems with this, and my script now works after opening and saving in notepad as a test document with qoutes encasing the filename.

Please offer any advice on this issue.
Hi you could directly type the required script in unix editor right.
why should you type it in wordpad or notepad and FTP it to UNIX?
  #5 (permalink)  
Old 08-10-2007
Heidi.Ebbs Heidi.Ebbs is offline
Registered User
  
 

Join Date: Jun 2007
Posts: 10
Smile

Being new to UNIX, using the editor VI has previously proved to be a bit of a challenge and has taken some time to come to terms with the different keys that should be used for navigating around VI.

However, since posting this topic I have been on a UNIX course and have a much better understanding now of permissions, FTP, VI and much more

:-)
  #6 (permalink)  
Old 09-03-2007
arungavali arungavali is offline
Registered User
  
 

Join Date: Sep 2007
Posts: 4
NotePad

Notepad is as ASCII as you can get, by my understanding. WordPad still allows for formatting. I would stick with NotePad.
  #7 (permalink)  
Old 09-04-2007
wmccull wmccull is offline
Registered User
  
 

Join Date: Jul 2007
Posts: 19
Notepad for sure, incidentaly, i use pico which is extreml user friendly
Sponsored Links
Reply

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 07:14 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
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