Geany: January 2008 Archives

Notepad++ quick update -- testing my latest Windows text editor ... and a tribute to Jerry Pournelle and Byte magazine

| | Comments (5) |

Notepad++ is working out pretty well so far. The latest Windows text editor in my quest for a better, freer text-editing experience, Notepad++ is under the GPL license, so it's free and open-source. It's also not a port of a Linux/Unix editor like Geany, and the annoying Geany bug -- in which extra linefeeds (or carriage returns?) are inserted in Windows (CR/LF) formatted text files -- is thankfully not present in Notepad++.

In fact, Notepad++ allows you to set whether you want your text files to be in Windows (CR/LF), Unix (LF) or Mac (CR???) format. Since the files look the way I want (and cut/paste that way) in the default Windows format, I'm pretty happy. I like the way you can change the case of letters -- ctrl-U for lower-case, ctrl-shift-U for upper. I'll have to get used to it, because every other program I use does it a different way.

The search/replace function in Notepad++ is very good. It even keeps your previous search/replace words in a drop down so you can use them again in the session. I haven't yet figured out how to search for text and replace it with a carriage return/linefeed, but if I figure that one out, Notepad++ will become a must-have editor on my Windows box.

Notepad++ seems to remember the last directory I saved to, and all newly created files default to that directory. But I don't think it remembers the directory from the last time the program ran. EditPad Lite does remember, and it's a great help. I wouldn't be opposed to setting my "home" directory manually, but I'm not sure this can be done. If using the Notepad++ directory for files causes it to open to the same directory every time, that's a small sacrifice for me to make; I generally store all of my text files in one place, and it doesn't matter where that place is (though it's nice to be able to choose it in advance, though navigating to my text-file directory once per day isn't an insurmountable hardship).

Notepad++ remembers the last eight files I've opened, and they're available for reopening in the File menu. I think I can set it to remember more. For me, the more the better.

Why a text editor? I remember Jerry Pournelle, prolific science-fiction writer and long-winded columnist for Byte magazine way, way back in the day talking about the pre-IBM-PC machines he had set up for word processing in what he called (and still calls) Chaos Manor, and all the technical specs, trials and tribulations he went through. He's definitely an inspiration for this blog and its style, although I've never quite thought of it that way until now. (I used to love Byte back in the '80s.) Pournelle always talked about text editors, and at the time, I had no idea what a "text editor" was. I knew what a word processor was, but it took awhile for the concept of a text editor and what it can do to sink in.

And then came vi. Vi's great when it's the only game in town, as it was on the UC Santa Cruz timeshare Unix box I had an account on in the late '80s. Today I can fake it in vi, but I'm no master.

I still use word processors occasionally -- usually AbiWord, sometimes OpenOffice, occasionally MS Word on the Mac. But more and more -- with all the Web work I do -- text editors are quicker, more flexible, faster -- and most importantly, they give you clean ASCII output that isn't mucked up with extra crap.

End note: I Googled Jerry Pournelle to see if I was spelling his name right. I'm glad to see his Web site, which I'm going to explore at greater length at my earliest opportunity.

Goodbye Geany, hello Notepad++

| | Comments (0) |

Since Geany in Windows can't manage to get the spacing between lines right without we selecting the LF mode (as opposed to the CR/LF mode) for every file I open, I decided to look elsewhere for my Windows text editor solution. (Note: this "setting" doesn't seem to make a difference in EditPad Lite -- things come out OK no matter which kind of line endings I choose.)

Next up: Notepad++, which unlike my former favorite EditPad Lite, is under the GNU license, meaning it's free and open-source -- a requirement for my new Windows text editor.

So far, Notepad++ is looking very good. I can open multiple files in tabs, I can wrap lines without the wrapping screwing up the file (the biggest detriment -- to me, specifically -- in Linux/Unix console editors -- is when word-wrapping inserts line-feeds everywhere they wrap; I just want to see the wrap, not have the wrap be permanent -- sorry, vi).

Confession: I opened up GVim for Windows, which I've had installed for a while. There's no way that would ever work. I'm just being realistic.

So I'll see how Notepad++ goes and report back.

Geany for Windows Tip No. 1 -- getting rid of the extra spaces when copying and pasting

| | Comments (0) |

I'm not saying I'm gonna stick with Geany in Windows, even though I've had nothing but praise for it as a Linux application. I'm not crazy about the paragraph I'm working on going from a white background to gray (and I haven't figured out how to turn this "feature" off), nor am I crazy about the cursor disappearing at times when I scroll down and it's a the far left of the screen ...

But I did figure out the solution to one of my problems:

When I copied and pasted my text from Geany into whatever Web program I'm prepping it for, I ended up with extra lines. I fixed it by going under Document -- Set Line Endings and switching from Convert and Set to CR/LF (Win) to Convert and set to LF (Unix).

(Note: Having to do this for EVERY file is a pain in the ass. Why can't I just set it and forget it?)

I also noticed that Geany -- mainly a text editor for programmers -- has a couple of features that might be useful: Under Tools -- Export, you can choose to output text as HTML or LaTex (the latter being useful for Linux/Unix typesetting but the former being useful for just about everything I do).

Tech Talk column

Steven Rosenberg's weekly Tech Talk column, which appears Saturdays in the Los Angeles Daily News, is now available on the Daily News Technology page.

About this blog

Comments are back: Comments have returned to Click, but due to the thousands of spam comments clogging up the system each day, commenters must now log in. To comment, either create a Movable Type account when prompted, or create and use a Typekey account. Movable Type, as configured on this blog, allows commenters to create a Movable Type account, verify it via e-mail and then sign in to comment. Other methods of verification are OpenID, Live Journal and Vox.




Steven Rosenberg aims to learn what he does not know. He writes about it here.



About this Archive

This page is a archive of entries in the Geany category from January 2008.

Geany: February 2008 is the next archive.

Find recent content on the main index or look in the archives to find all content.

Recent Comments

Steven Rosenberg on My latest project: OpenBSD on the Toshiba Satellite 1100-S101: That's one of the coolest ones. A bit understated, which takes away fr ...

Morten Juhl-Johansen Zölde-Fejér on My latest project: OpenBSD on the Toshiba Satellite 1100-S101: Disturbing to see your comment about the OpenBSD t-shirt when I am wea ...

Morten Juhl-Johansen Zölde-Fejér on Think about giving and getting the One Laptop Per Child: But wasn't this just because Windows wouldn't fly with the earlier spe ...

seanlynch on Xubuntu and Ubuntu 8.04 LTS — Day 3: touchpad configuration help. Look into the command line utility tpcon ...

Steven Rosenberg on Xubuntu and Ubuntu 8.04 LTS — Day 3: @Captain Trav: I had the same idea as you. I hoped that 8.04 would wo ...

linuxcanuck.wordpress.com on Xubuntu and Ubuntu 8.04 LTS — Day 3: Thanks for the blog. It was good reading. I like XFCE and use it lots. ...

linuxcanuck.wordpress.com on Xubuntu and Ubuntu 8.04 LTS — Day 3: Captain Trav, This is fear mongering at its worst. Your experience, wh ...

Captain Trav on Xubuntu and Ubuntu 8.04 LTS — Day 3: Whatever you do, don't install Ubuntu 8.10 on a daily-use machine expe ...

Steven Rosenberg on Xubuntu 8.04 LTS — Day 1: More on GNOME vs. KDE. I suppose if I was a developer and really liked ...

Steven Rosenberg on Xubuntu 8.04 LTS — Day 1: I could've easily brought in the Kubuntu desktop, and KDE does run fai ...

Powered by Movable Type 4.21-en

Advertisement