Post #47,102
7/26/02 7:31:37 PM
|
I think I got it
There's a text editor called CONText Pro (freeware) which allows you to set your file format to UNIX. I'll test this out and make sure it works as designed.
The added benefit is that the students will have a reasonably full-featured programming editor, rather than NotePad. If it works okay, I may recommend that this be part of the standard install.
Tom Sinclair "Subverting Young Minds Since 03/13/2000"
|
Post #47,198
7/27/02 2:57:22 PM
|
Um...
Virtually any good text editor will do this.
There are plenty of them. Including for the Windows platform Emacs, vim, GWD Text Editor, Textpad, and so on. All of which both allow you to work with files in Unix format, and give you syntax highlighting.
Cheers, Ben
"... I couldn't see how anyone could be educated by this self-propagating system in which people pass exams, teach others to pass exams, but nobody knows anything." --Richard Feynman
|
Post #47,240
7/27/02 8:28:52 PM
|
Good point
But I'm not that familiar with Windows text editors, since I don't use them myself. I only use OS X and Linux and there are plenty of options there.
However, our programming classes all either use the editor built into the IDE (VC++, etc.) or Notepad (for HTML, Javascript, Perl). The idea of having a decent standalone programmer's text editor is not yet in common parlance around these parts.
I'm doing my best, though, to introduce them to decent tools.
Tom Sinclair "Subverting Young Minds Since 03/13/2000"
|
Post #47,248
7/27/02 11:30:19 PM
|
I named several decent ones
And notepad does not count.
If they don't believe you, tell them that a good editor at a minumum should offer line numbers (when Perl tells you that there is a problem on line 431, do you count down to it?), the ability to use either line ending, and syntax highlighting. And that is a bare minimum.
You will get a list of options which are at least OK for Perl [link|http://www.perlmonks.org/index.pl?node=Outside%20Links|here]. Most are free or shareware. And, of course, if you focus on ones like [link|http://www.gnu.org/software/emacs/windows/ntemacs.html|emacs] you will get the benefit of teaching them tools that they will also find on Unix.
Cheers, Ben
PS If they are teaching Perl, HTML and JavaScript using Notepad on Windows, I dread to think about the quality of the Perl that is likely being taught. :-(
"... I couldn't see how anyone could be educated by this self-propagating system in which people pass exams, teach others to pass exams, but nobody knows anything." --Richard Feynman
|
Post #47,261
7/28/02 9:50:36 AM
|
Notepad has a goto line number function.
It's Ctrl+G. I know this because, unfortunately, I get to use NotePad to debug JavaScript in IE because that's the only editor IE thinks is installed for viewing HTML. As to why I'm using IE ... well the pages I write for have to work in IE. :-)
Wade.
"Ah. One of the difficult questions."
|
Post #47,262
7/28/02 9:58:24 AM
|
?????
all I get is nothing when I Ctrl+G in Notepad What version of Windows are you using? If you're using 2K, try MSE.exe which is even better than the downloadable environment MS offers
A
Play I Some Music w/ Papa Andy Saturday 8 PM - 11 PM ET All Night Rewind 11 PM - 5 PM Reggae, African and Caribbean Music [link|http://wxxe.org|Tune In]
|
Post #47,297
7/28/02 11:56:12 PM
|
Windows 2000.
And no, I don't use NotePad to *edit* my HTML - I use it to *view* the downloaded HTML because that's what IE calls.
Wade.
"Ah. One of the difficult questions."
|
Post #47,264
7/28/02 10:13:05 AM
|
You still don't have to use Notepad
Cut-and-paste is your friend.
Cheers, Ben
"... I couldn't see how anyone could be educated by this self-propagating system in which people pass exams, teach others to pass exams, but nobody knows anything." --Richard Feynman
|
Post #47,268
7/28/02 11:40:19 AM
|
Can't you
add another editor under the Explorer folder "folder options"/"file types"/"edit" setting for html? I did that on my Windows box, then went under IE's "Internet Options"/"programs" and Voila! there was the editor...
Ah, the 'intuitive benefits' of MS-style integration...
Imric's Tips for Living- Paranoia Is a Survival Trait
- Pessimists are never disappointed - but sometimes, if they are very lucky, they can be pleasantly surprised...
- Even though everyone is out to get you, it doesn't matter unless you let them win.
|
Post #47,296
7/28/02 11:55:03 PM
|
Ooh... didn't try that one.
Well, okay, Vim is now listed, but IE still calls up NotePad when I go view source. :-/
Wade.
"Ah. One of the difficult questions."
|
Post #47,301
7/29/02 7:16:01 AM
|
Play with the registry?
It looks to me like the choice is controled by a registry key: HKEY_CLASSES_ROOT\\.htm\\OpenWithList\\Notepad\\shell\\edit\\command
You might play with the registry and insert your prefered editor. Alternately you might just remove the section from Notepad down, and let the system ask you what you want to use.
If you do this be sure to save a copy of the registry hive first.
Hugh
|
Post #47,275
7/28/02 3:24:10 PM
|
Yes, you did and thanks
Now it's a matter of educating the educators.
Tom Sinclair "Subverting Young Minds Since 03/13/2000"
|