Wordpad or Notepad?


 
Thread Tools Search this Thread
Special Forums UNIX Desktop Questions & Answers Wordpad or Notepad?
# 8  
Old 09-04-2007
Try using one of these free text editors. They have much more functionality.

Textpad
TextPad - the text editor for Windows

Programmers File Editor (PFE)
Programmer's File Editor Home Page
# 9  
Old 08-17-2008
The newline characters are different between Unix and Windows. So if you write a script in Windows, it may not work in Unix.

dos2unix is one utility that you can use to clean up your windows text files for use in Unix.
# 10  
Old 09-13-2008
i'd say use notepad ...

however ...

regardless of what text editor one uses in windows, one should always get proficient in vi at a minimum --- ed would be even better --- since that would be the only text editor one can get if one runs into server problems and needs to modify files to get things working again ...

Smilie
# 11  
Old 05-21-2009
If you'd rather stay in the Windows GUI for your scripts in the log run...

... there are two options, and they're both freeware.

* Crimson Editor, which is so great for creating, editing and saving Unix files that I now have it set to edit practically every .dot file in my Cygwin install.

* Alpine, a standalone version of Pine (Unix email client) and Pico (text editor) paired by their authors and onetime maintainers at the University of Washington. The Pico standalone app saves in UTF-8, so it might be worthwhile checking some of its saved output via cat or vi before uploading any of it. I'm partial to Pico and nano anyway, so I was very gratified to find there was a Win32 standalone of the former.

Quote:
Originally Posted by JustIce
regardless of what text editor one uses in windows, one should always get proficient in vi at a minimum --- ed would be even better ---
Here I would have to agree. Even the OS X Terminal, while providing nano (and maybe pico too, nowadays, who knows), installs with vim (vi modified) as the $EDITOR selection in its .bashrc. And most of the helps and how-to's for Mac command-line you find on the Web assume you use vim as your editor.

Hope this was helpful.

BZT

Quote:
Originally Posted by Heidi.Ebbs
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

:-)

Last edited by SilversleevesX; 05-21-2009 at 11:56 AM.. Reason: Pointed up the difference between CLI and S/A Pico
# 12  
Old 05-21-2009
dos2whatever

No panacea that dos2unix (or 'tleast maybe the one I use isn't robust enough).

I've had occasions happen where it left garbage characters (carat-qmark pairings particularly) in files I thought were, at minimum, ASCII and the line-endings just needed tweaking. I find the better approach to be to use a CLI editor or the GUI one I mentioned in my previous post, Crimson Editor.

BZT

Quote:
Originally Posted by Frostybeard
The newline characters are different between Unix and Windows. So if you write a script in Windows, it may not work in Unix.

dos2unix is one utility that you can use to clean up your windows text files for use in Unix.
# 13  
Old 05-21-2009
Thank you

Thanks for all the replies. I ended up learning to edit w/ VI.
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. Windows & DOS: Issues & Discussions

UNIX and notepad++

I connect to my office server using ftp option in notepad++ I am not able to open directory's with out setting my clear case view in the notepad++ Hence pls help me in setting the view in notepad++ so that it can read all the files and directorys (6 Replies)
Discussion started by: Syed Imran
6 Replies

2. UNIX for Dummies Questions & Answers

Formatting from Notepad++ to Vi

Hi, just quick question, I currently type up my scripts in Notepad++ and then copy them into my file (in VI). However, i've noticed that all the lines get messed up and it becomes difficult to read the script. so i've to spend time then using '\' at the end of lines etc and re-formatting... (7 Replies)
Discussion started by: horhif
7 Replies

3. Solaris

Wordpad file in solaris

i have a file which i open in wordpad shows proper formated o/p column wise .. but same file which is txt file when i do cat in solaris shows grabbled o/p is there any way i can see the output same as wordpad or txt pad ? even in solaris ? Following is the o/o when i do a #cat file.txt | more... (8 Replies)
Discussion started by: fugitive
8 Replies

4. UNIX for Dummies Questions & Answers

Output of the script in notepad

Hi All, I want to show my output for the script to notepad.Anybody know what is the command to do this... Thanks.. (7 Replies)
Discussion started by: mastercar
7 Replies

5. Shell Programming and Scripting

Strange Characters After Using Notepad

Hello all, I'm new to UNIX and new to this forum, so forgive my lack of knowledge. I'm new with editing in vi so I FTP scripts to a Windows machine and edit the script in notepad (when I need to do something quickly). Sometimes when I FTP the script back to the UNIX box, strange characters... (4 Replies)
Discussion started by: dgower2
4 Replies
Login or Register to Ask a Question