LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-16-2009, 03:27 PM   #1
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,087

Rep: Reputation: 337Reputation: 337Reputation: 337Reputation: 337
True dual-mode console/X-window text-editor for Slackware 12.2?


Is there a REAL text-editor that can operate from either the console and/or X-window, and that has some of the features found in most word processors? For Slackware12.2
OK-I am not looking for nano, vim, emacs, etc.
I need something that can handle "writing stuff"-that is writing text/rtf documents with save/save as, etc.
Nice if it had word wrap, tabs, indent, bold, italics, etc and EASY to use.
Asking 'cause my laptop's going to die from trying to use Kwrite, etc.
Abiword has too many depends for Slackware. Openoffice, etc bloated.
Vi, vim, nano, joe, etc-not true writer's tools-that's like catching fish with a hammer!
I need a simplistic, low-resource "notepad" type text editor that can operate from both console and x-window.
Help!
 
Old 03-16-2009, 06:05 PM   #2
David1357
Senior Member
 
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,302
Blog Entries: 1

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by linus72 View Post
I need a simplistic, low-resource "notepad" type text editor that can operate from both console and x-window.
Try mped. It has an ncurses interface with a menu system and a GTK interface.

You have to set your DISPLAY variable to get the GTK interface according to my experiments.
 
Old 03-16-2009, 07:05 PM   #3
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,087

Original Poster
Rep: Reputation: 337Reputation: 337Reputation: 337Reputation: 337
Awesome! I found maybe exactly what I need-JDarkroom.
( http://www.codealchemists.com/jdarkroom/ )
This is what I used before I blew up Winblowz XP with Unetbootin.
There is however an issue...One must issue this command at the terminal to activate the JAR file...java -jar JDarkRoom.jar
It then activates!
Anyway-there must be a way to write a script or something so that it can be called up by clicking a desktop icon or menu-Is this possible?
If so, how?
Here is the full term output-
Code:
bz@bz-desktop:~$ sudo su
[sudo] password for bz: 
root@bz-desktop:/home/bz# cd /home/bz/Desktop/ABIWORD
root@bz-desktop:/home/bz/Desktop/ABIWORD# java -jar JDarkRoom.jar
Starting JDarkRoom...
JDarkRoom: adjusting for 1024x768 display...
JDarkRoom started running at Mon Mar 16 19:00:19 EDT 2009
Unexpected error caught: java.lang.NullPointerException
Stacktrace: java.lang.NullPointerException
     at sun.awt.image.VolatileSurfaceManager.displayChanged(VolatileSurfaceManager.java:331)
     at sun.awt.SunDisplayChanger.notifyListeners(SunDisplayChanger.java:132)
     at sun.java2d.SunGraphicsEnvironment.displayChanged(SunGraphicsEnvironment.java:1262)
     at sun.awt.X11GraphicsDevice.setDisplayMode(X11GraphicsDevice.java:424)
     at sun.awt.X11GraphicsDevice.setFullScreenWindow(X11GraphicsDevice.java:330)
     at jdarkroom.JDarkRoom.<init>(JDarkRoom.java:155)
     at jdarkroom.JDarkRoom.main(JDarkRoom.java:40)
Thank you for using JDarkRoom.  Have a nice evening!
root@bz-desktop:/home/bz/Desktop/ABIWORD#
 
Old 03-17-2009, 12:36 AM   #4
David1357
Senior Member
 
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,302
Blog Entries: 1

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by linus72 View Post
Code:
sun.awt.X11GraphicsDevice.setDisplayMode(X11GraphicsDevice.java:424)
     at sun.awt.X11GraphicsDevice.setFullScreenWindow(X11GraphicsDevice.java:330)
     at jdarkroom.JDarkRoom.<init>(JDarkRoom.java:155)
     at jdarkroom.JDarkRoom.main(JDarkRoom.java:40)
Looks like it is trying to use a non-existent X11 server. Did you try starting it with X windows running? I downloaded the jar file and it ran on Windows, so I think it needs a window manager to work.
 
Old 03-17-2009, 05:42 AM   #5
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,087

Original Poster
Rep: Reputation: 337Reputation: 337Reputation: 337Reputation: 337
Actually, yes it runs ok while using Gnome, haven't tried it without X yet.
The webpage has more info about using it with linux-investigating now.
Anyone else know of a similar software?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Text Editor on Fedora Core 4 in Text Mode blong4life Linux - Software 5 07-31-2006 10:07 PM
new to linux : x window text editor mariogarcia Linux - Newbie 6 09-26-2005 02:56 PM
text editor at rescue mode? abtimoteo Ubuntu 3 09-18-2005 09:58 AM
console text editor recomendation djc Linux - Newbie 7 03-31-2004 07:22 AM
Text Editor in Console Mode ? membrax Linux - Hardware 5 12-29-2002 12:14 AM


All times are GMT -5. The time now is 08:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration