SitePoint Sponsor

User Tag List

Results 1 to 11 of 11
  1. #1
    SitePoint Zealot
    Join Date
    Jul 2005
    Location
    Osoyoos BC Canada
    Posts
    178
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Using Open Office to write code.

    I have recently bought an Asus Eee PC which is a tiny portable running a linux variant, which I intend to use while traveling.

    I need to occasionally download/modify/save and upload web pages, while away from home, created at home using notepad++ on a winbox.

    The bundled text editor is Open Office, but I can't see anyway to use Open Office as a code editor, ie with no formatting added etc, and if I try the create html option, it inserts old fashioned uppercase tags, <B></B> etc which I then have to convert to <strong></strong> etc..

    Has anyone any thought on getting Open Office to just be a basic code editor with no preset formatting?

    Thanks

  2. #2
    SitePoint Zealot
    Join Date
    Aug 2007
    Location
    Toronto
    Posts
    184
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Why don't you just edit the document with a different text editor? Or is that not an option in this case? Just a thought...

  3. #3
    Function Curry'er JimmyP's Avatar
    Join Date
    Aug 2007
    Location
    Brighton, UK
    Posts
    2,006
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You should try out wine!!!
    James Padolsey
    末末末末末末末末末末末末末末末末末末末
    Awesome JavaScript Zoomer (demo here)
    'Ajaxy' - Ajax integration solution (demo here)

  4. #4
    In memoriam gold trophysilver trophybronze trophy Dan Schulz's Avatar
    Join Date
    May 2006
    Location
    Aurora, Illinois
    Posts
    15,495
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'd definately get a plain text editor for Linux. Try searching here on the forums for some. I know there's a dedicated thread on text editors, but I have WAY too many tabs open right now to look for it.

  5. #5
    SitePoint Zealot
    Join Date
    Jul 2005
    Location
    Osoyoos BC Canada
    Posts
    178
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ctrl + Alt +T opens a console and a GNU editor called nano is available. It seems to work fine as a basic code editor.

    I don't 'yet' know how to install a linux prog on the eee pc, but it is on my 'to do' list.

    Thanks..

  6. #6
    SitePoint Author silver trophybronze trophy

    Join Date
    Nov 2004
    Location
    Ankh-Morpork
    Posts
    12,159
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Any Linux distro should come with Vim (vi improved) – although I don't know about this one. Okay, so it as a steep learning curve, but once you get acquainted with it, it's probably the fastest and most efficient editor in the world.

    It's great for editing code, too, since it has syntax highlighting, autoindent, autocompletion, etc.
    Birnam wood is come to Dunsinane

  7. #7
    SitePoint Zealot
    Join Date
    Jul 2005
    Location
    Osoyoos BC Canada
    Posts
    178
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've found that the eee PC also includes kwrite which seems to be a simple (GUI) text editor.

    Vim is also included, but as far as I can see using it is non GUI and, as you say has a steep learning curve. In the year 2008 that seems a wee bit crazy!

  8. #8
    SitePoint Author silver trophybronze trophy

    Join Date
    Nov 2004
    Location
    Ankh-Morpork
    Posts
    12,159
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The GUI version is called gvim.
    Birnam wood is come to Dunsinane

  9. #9
    SitePoint Zealot
    Join Date
    Jul 2005
    Location
    Osoyoos BC Canada
    Posts
    178
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks..

    While vim is on the machine, gvim is not.

  10. #10
    SitePoint Author silver trophybronze trophy

    Join Date
    Nov 2004
    Location
    Ankh-Morpork
    Posts
    12,159
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just use vim in an xterm window then.
    Birnam wood is come to Dunsinane

  11. #11
    om nom nom nom Stomme poes's Avatar
    Join Date
    Aug 2007
    Location
    Netherlands
    Posts
    10,233
    Mentioned
    47 Post(s)
    Tagged
    1 Thread(s)
    If you don't have time for the learning curve though, kwrite/kate is perfect. It's pretty much the Notepad of KDE, while vi is much much more powerful.

    One thing I've noticed between KDE and Gnome (unless it was just the setup) was that I could open gEdit (Gnome's version of Notepad) via ssh and edit my files while they sit on the server. In KDE I needed an actuall terminal session with ssh open first. But I might have just done it wrong : )


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •