|
Joined: Nov 2006
Posts: 3,095 Likes: 1
Carpal Tunnel
|
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095 Likes: 1 |
The reason I say to rename the file on the server is because Windows does not like files that start with a . Well it's "Windows Explorer" that doesn't like to save the file. You can use notepad as well or DOS to save it on Windows system. Just in the save as from NOTEPAD use quotes around it when you save it ".htaccess" and it will be saved correctly. Make sure you FTP it up in ASCII mode as well. .
|
|
|
|
Joined: Aug 2006
Posts: 1,649 Likes: 1
Pooh-Bah
|
Pooh-Bah
Joined: Aug 2006
Posts: 1,649 Likes: 1 |
The reason I say to rename the file on the server is because Windows does not like files that start with a . Well it's "Windows Explorer" that doesn't like to save the file. Weird. I never had that problem. Then again, I usually dump the file from the server, edit it, and re-upload it. Never had a problem w/ the filename.
GangsterBB.NET (Ver. 7.6.1.1) PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54 2007 Content Rulez Contest - Hon Mention UBB.classic 6.7.2 - RIP
|
|
|
|
Joined: Jun 2006
Posts: 16,366 Likes: 126
|
Joined: Jun 2006
Posts: 16,366 Likes: 126 |
I usually dump the file from the server, edit it, and re-upload it. thats what I do as well; windows explorer doesn't like to name things with just an extension, but as nt said, you can trick the "save as" box into doing it with using ""'s
|
|
|
|
Joined: Aug 2006
Posts: 1,649 Likes: 1
Pooh-Bah
|
Pooh-Bah
Joined: Aug 2006
Posts: 1,649 Likes: 1 |
windows explorer doesn't like to name things with just an extension, but as nt said, you can trick the "save as" box into doing it with using ""'s I don't know about Notepad -- I only use EditPad, and that lets me create .htaccess files with no problem to my XP desktop. Amendment: I use EditPad 3.5.3 -- before it got all BLOATED. If you can find that (free) version, you will NEVER use Notepad again! (PM me with your email for a copy )
Last edited by jgeoff; 01/18/2007 2:52 AM.
GangsterBB.NET (Ver. 7.6.1.1) PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54 2007 Content Rulez Contest - Hon Mention UBB.classic 6.7.2 - RIP
|
|
|
|
Joined: Jun 2006
Posts: 16,366 Likes: 126
|
Joined: Jun 2006
Posts: 16,366 Likes: 126 |
i'm too tired to pm you my email :nod:
|
|
|
|
Joined: Aug 2006
Posts: 1,649 Likes: 1
Pooh-Bah
|
Pooh-Bah
Joined: Aug 2006
Posts: 1,649 Likes: 1 |
i'm too tired to pm you my email :nod: I have it already. lol
GangsterBB.NET (Ver. 7.6.1.1) PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54 2007 Content Rulez Contest - Hon Mention UBB.classic 6.7.2 - RIP
|
|
|
|
Joined: Jun 2006
Posts: 16,366 Likes: 126
|
Joined: Jun 2006
Posts: 16,366 Likes: 126 |
|
|
|
|
Joined: Jun 2006
Posts: 3,839 Likes: 1
Carpal Tunnel
|
Carpal Tunnel
Joined: Jun 2006
Posts: 3,839 Likes: 1 |
I use ultraedit - great for searching for strings in code....
|
|
|
|
Joined: Jun 2006
Posts: 16,366 Likes: 126
|
Joined: Jun 2006
Posts: 16,366 Likes: 126 |
I've tried both notepad++ and ultraedit, too bulky lol... give me something that is low impact, tiny (size) and easy to use.
|
|
|
|
Joined: Jun 2006
Posts: 3,839 Likes: 1
Carpal Tunnel
|
Carpal Tunnel
Joined: Jun 2006
Posts: 3,839 Likes: 1 |
that is why we use you xxx
|
|
|
|
Joined: Nov 2006
Posts: 3,095 Likes: 1
Carpal Tunnel
|
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095 Likes: 1 |
I've tried both notepad++ and ultraedit, too bulky lol... give me something that is low impact, tiny (size) and easy to use. EDLIN for Windows, VI for Linux You one of those guys that work hard to prove you can do it eh Gizmo. Your prerogative I suppose, but I'll take the fancier stuff myself, MUCH faster coding than built-in notepad type editors.
|
|
|
|
Joined: Jun 2006
Posts: 16,366 Likes: 126
|
Joined: Jun 2006
Posts: 16,366 Likes: 126 |
I use nano (a Pico clone) for linux; only because I don't like VI, joe, etc.
All I do is code in Notepad/Wordpad; never had an issue with "how fast" i can do things... The only downside is that I can't easily find what line i'm on lol...
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
I've tried a variety of various editors and I always end up going back to VI. I'd say 98% of everything in UBB.threads was done in VI.
|
|
|
|
Joined: Jun 2006
Posts: 16,366 Likes: 126
|
Joined: Jun 2006
Posts: 16,366 Likes: 126 |
Onlything I use VI for is visudo to edit my sudoers file hehe.
|
|
|
|
Joined: Nov 2006
Posts: 3,095 Likes: 1
Carpal Tunnel
|
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095 Likes: 1 |
I've tried a variety of various editors and I always end up going back to VI. I'd say 98% of everything in UBB.threads was done in VI. masochist.
|
|
|
|
Joined: Jun 2006
Posts: 16,366 Likes: 126
|
Joined: Jun 2006
Posts: 16,366 Likes: 126 |
hahaha, Rick scared the windows enforcer, quick, hide the eggs!
|
|
|
|
Joined: Nov 2006
Posts: 3,095 Likes: 1
Carpal Tunnel
|
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095 Likes: 1 |
LOL - I actually used to use EDLIN and VI but once you really start having to do a lot of coding and use a modern editor you can code a lot faster better code.
Knowing how to use the built-in tools though is good so that if you have to work on another system without modern tools you still know how to do it.
If I was paying you to code though and you were using just the built-in tools I'd think twice about paying you a decent wage if it were based on the hour.
.
|
|
|
|
Joined: Jun 2006
Posts: 16,366 Likes: 126
|
Joined: Jun 2006
Posts: 16,366 Likes: 126 |
Easy, install yum on the new *nix varient and then install nano ... And I code quite fast using just notepad, it's all I ever use (other than nano/pico); it's not a matter of the tool or how many "cool newbie options" it has, it's a matter of how well you work with what you're used to ...
|
|
|
|
Joined: Nov 2006
Posts: 3,095 Likes: 1
Carpal Tunnel
|
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095 Likes: 1 |
Okay boss. I suppose we can agree to disagree and let it be.
|
|
|
|
Joined: Jun 2006
Posts: 16,366 Likes: 126
|
Joined: Jun 2006
Posts: 16,366 Likes: 126 |
exactly... IMO, a user is more abpt to work well and fast with the tools that they're accustomed to, if anything, introducing new tools will cause things to take longer as they have to get used to the new fangled tool/options. The only thing in notepad/wordpad that can be updated that would be of any use to me would be if they where to add line numbering; everything else i can add myself (html code, php code, hex colors, etc)
|
|
|
|
Joined: Jun 2006
Posts: 3,839 Likes: 1
Carpal Tunnel
|
Carpal Tunnel
Joined: Jun 2006
Posts: 3,839 Likes: 1 |
I use nano (a Pico clone) for linux; only because I don't like VI, joe, etc.
All I do is code in Notepad/Wordpad; never had an issue with "how fast" i can do things... The only downside is that I can't easily find what line i'm on lol... pico for me vi - is too complicated
|
|
|
|
Joined: Nov 2006
Posts: 3,095 Likes: 1
Carpal Tunnel
|
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095 Likes: 1 |
Well they aren't too good at replacing strings in hundreds of files at the same time like advanced editors. They also don't do column/block editing that I know of. You guys can keep your editors and I'll keep mine
|
|
|
|
Joined: Jun 2006
Posts: 3,839 Likes: 1
Carpal Tunnel
|
Carpal Tunnel
Joined: Jun 2006
Posts: 3,839 Likes: 1 |
I use pico on the server - but Ultraedit on my laptop
|
|
|
|
Joined: Jun 2006
Posts: 16,366 Likes: 126
|
Joined: Jun 2006
Posts: 16,366 Likes: 126 |
Lol I can replace multiple strings wiht both notepad and wordpad ... No so much in nano/pico though...
|
|
|
|
Joined: Jun 2006
Posts: 3,839 Likes: 1
Carpal Tunnel
|
Carpal Tunnel
Joined: Jun 2006
Posts: 3,839 Likes: 1 |
I am not aware of anything for a linux server that acts in a simialr way to notepad - it is left to right scrolling that would be nice.
|
|
|
|
Joined: Jun 2006
Posts: 16,366 Likes: 126
|
Joined: Jun 2006
Posts: 16,366 Likes: 126 |
vi can do a find and replace, but I don't generally use that much, generally i use the locate and edit the line
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
Well they aren't too good at replacing strings in hundreds of files at the same time like advanced editors. There are always options perl -pi -e "s/Find This String/Replace with this String/" *.ext
|
|
|
|
Joined: Nov 2006
Posts: 3,095 Likes: 1
Carpal Tunnel
|
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095 Likes: 1 |
Well they aren't too good at replacing strings in hundreds of files at the same time like advanced editors. There are always options perl -pi -e "s/Find This String/Replace with this String/" *.ext No doubt there are options for seasoned users but still not quite as easy as clicking a button to do it. You would also need a better regular expression or you would easily wipe out and ruin the other files. You could also do for each and grep, etc.. just that each time you would spend a while with the syntax unless you did it often, in an advanced editor it takes that guess work out of it. I'm not trying to persuade anyone to change what or how they do things - just being a post W... like Gizmo - hehe .
|
|
|
|
Joined: Aug 2006
Posts: 1,649 Likes: 1
Pooh-Bah
|
Pooh-Bah
Joined: Aug 2006
Posts: 1,649 Likes: 1 |
The only thing in notepad/wordpad that can be updated that would be of any use to me would be if they where to add line numbering Gizmo - I'll send you a copy of EditPad 3.5.3 to try out -- it has line numbering (well, it has "Go to line #)) and a few other nice touches that Notepad doesn't have (like no file size limit), but it's still ultra slim. There isn't even an install - you just run it. No color-coding, though - that's the only thing I miss about it compared to say, Dreamweaver's source view which I use sometimes also. Later versions of EditPad have it, but I've found them to be more bloated for an everyday .txt reader.
GangsterBB.NET (Ver. 7.6.1.1) PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54 2007 Content Rulez Contest - Hon Mention UBB.classic 6.7.2 - RIP
|
|
|
|
Joined: Jun 2006
Posts: 684
Addict
|
Addict
Joined: Jun 2006
Posts: 684 |
I had to start using Crimson Editor so I could find line numbers of code that I had to edit to fix stuff as a beta tester. It has a bunch of advanced stuff that some of you may be interested in. It's free and works well on Windows. www.crimsoneditor.com
|
|
|
|
Joined: Nov 2006
Posts: 3,095 Likes: 1
Carpal Tunnel
|
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095 Likes: 1 |
Gizmo - I'll send you a copy of EditPad 3.5.3 to try out -- it has line numbering (well, it has "Go to line #)) and a few other nice touches that Notepad doesn't have (like no file size limit) FYI - The built-in Windows Notepad can GOTO line numbers as well by menu or by CTRL-G it also has no file size limits since Windows 2000 and it can enter a current "TIME and DATE" with F5 Tons of great editors out there but unless someone is fed up with what they're using most won't give another editor a try as they don't feel the need (as evidenced by this thread). I used to use Crimson a long time ago but recently switched to using Notepad++ for a freebie on other users machines if I want more than the built-in notepad. .
|
|
|
|
Joined: Aug 2006
Posts: 1,649 Likes: 1
Pooh-Bah
|
Pooh-Bah
Joined: Aug 2006
Posts: 1,649 Likes: 1 |
The built-in Windows Notepad can GOTO line numbers as well by menu or by CTRL-G it also has no file size limits since Windows 2000 and it can enter a current "TIME and DATE" with F5 Well whattaya know! Can you tell how long it's been since I've used it?? EditPad still does some cooler things, tho
GangsterBB.NET (Ver. 7.6.1.1) PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54 2007 Content Rulez Contest - Hon Mention UBB.classic 6.7.2 - RIP
|
|
|
|
Joined: Nov 2006
Posts: 3,095 Likes: 1
Carpal Tunnel
|
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095 Likes: 1 |
EditPad still does some cooler things, tho hehe I'm sure it does. A programmer I know is actively trying to get me to switch to using his editor ASE - It's a great editor and does some cool stuff too but having used UltraEdit for so long now and being used to it and it's advanced features his version does not compete for me. He keeps improving it though but he gears it more towards Scripters and Programmers and I have other uses and needs for an editor besides just those tasks. .
|
|
|
|
Joined: Jun 2006
Posts: 16,366 Likes: 126
|
Joined: Jun 2006
Posts: 16,366 Likes: 126 |
'eh looks no differant than EditPlus and I have that registered
|
|
|
0 members (),
1,875
guests, and
47
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|