LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-25-2005, 09:47 AM   #1
killerbob
Member
 
Registered: Oct 2004
Location: Ottawa, ON
Distribution: Slackware
Posts: 662

Rep: Reputation: 31
a potentially stupid question....


I apologize, this really isn't the right place to ask this question, but I'm at a loss as to where else I can ask it. I try to avoid my local LUG (I've got a disagreement of personality with a few too many members. Best you don't ask about it... ), and it really isn't important enough to ask Slashdot....

Anyhoo...

I've been using KATE for a long time. Aside from QT, it's actually about the only reason I have to still install KDE on my systems (even though I've switched to XFCE). For developpers, I have a hard time thinking of any text editor that's better, though that could be simply because I haven't looked. I don't need to: it does everything I want in an editor, except for having program execution. Since most of my programming is done in PHP and JavaScript for web, however, that's only a minor annoyance.

Here's the deal. I like KATE. A lot. And I'm not going to switch from it. However, my father has recently gotten himself addicted to an OSS project (phpGedView, a family tree database program), and is having an utterly nasty time with development, in part because he doesn't have a decent editor. He's new to PHP and JavaScript, but has about 40 years' experience programming, and really needs a decent editor. I'd be happy to install Linux on his laptop, set him up with KDE, and be off to the races. The problem is that unlike my mother, he'd actually notice the change. And he'd be pissed. He has stated reasons for which he insists on sticking with Windows. His laptop hard drive is miniscule, and dualbooting isn't an option. (He's also dealing with a really crappy windows-based implementation of the CVS system)

So narrative over, here's the question: is anybody aware of a project that seeks to either port KATE, or provide the same functionality, for which a Windows port exists?

There is an alternative. My computer is on 90% of the time anyway, and I don't have a problem leaving it on. Is anybody aware of a *free* XDMCP client for Windows? Something he could use to remote control into my computer to use the unix tools for development, without needing to get rid of the Win2k on his laptop? And I'm not talking about using VNC. That's way too slow and bulky for my tastes.




Thanks in advance,
-bob
 
Old 05-25-2005, 10:07 AM   #2
rose_bud4201
Member
 
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 929

Rep: Reputation: 30
I think the only way to get KATE on his computer would be to run it through Cygwin - think he'd let you install that?

Other than that, you could look into Nx. It's very nearly real-time, and is pretty nifty. Granted, I had some issues setting it up my first time, but they've got good help pages.
 
Old 05-25-2005, 10:15 AM   #3
uberNUT69
Member
 
Registered: Jan 2005
Location: Tasmania
Distribution: Xen Debian Lenny/Sid
Posts: 578

Rep: Reputation: 30
Re: a potentially stupid question....

Quote:
There is an alternative. My computer is on 90% of the time anyway, and I don't have a problem leaving it on. Is anybody aware of a *free* XDMCP client for Windows? Something he could use to remote control into my computer to use the unix tools for development, without needing to get rid of the Win2k on his laptop? And I'm not talking about using VNC. That's way too slow and bulky for my tastes.
[/B]
freenx is pretty cool, and allows you to use individual apps and/or complete desktops.
www.nomachine.org
 
Old 05-25-2005, 05:06 PM   #4
killerbob
Member
 
Registered: Oct 2004
Location: Ottawa, ON
Distribution: Slackware
Posts: 662

Original Poster
Rep: Reputation: 31
Thanks for the suggestion... NX looks promising, but now I've got a headache...

After a whole lot of recompiles and reinstalls following any documentation I can actually find, I *think* I'm almost there. It's actually logging in and authenticating, but it's timing out on the session startup.

Here's the transaction log that I'm getting... needless to say, I want to get it working for myself before I foist it on anybody else.
Code:
NX> 203 NXSSH running with pid: 3864
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
NX> 200 Connected to address: 192.168.18.56 on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
HELLO NXSERVER - Version 1.4.0-04-CVS OS (GPL)
NX> 105 hello NXCLIENT - Version 1.4.0
NX> 134 Accepted protocol: 1.4.0
NX> 105 SET SHELL_MODE SHELL
NX> 105 SET AUTH_MODE PASSWORD
NX> 105 login
NX> 101 User: killerbob
NX> 102 Password: 
NX> 103 Welcome to: madhatter user: killerbob
NX> 105 listsession --user="killerbob" --status="Suspended","Running" --geometry="1600x1200x32+render" --type="unix-console"
NX> 127 Sessions list of user 'killerbob' for reconnect:

Display Type             Session ID                       Options  Depth Screen         Status      Session Name
 ------- ---------------- -------------------------------- -------- ----- -------------- ----------- ------------------------------


NX> 148 Server capacity: not reached for user: killerbob
NX> 105 startsession --session="madhatter" --type="unix-default" --cache="8M" --images="32M" --cookie="979708b38ba9825ff8ceb3013ef3132c" --link="wan" --virtualdesktop="1" --kbtype="pc102/ca" --nodelay="1" --encryption="1" --backingstore="when_requested" --geometry="fullscreen" --media="0" --agent_server="" --agent_user="" --agent_password=""  --screeninfo="1600x1170x32+render"

NX> 1000 NXNODE - Version 1.4.0-04-CVS OS (GPL)
NX> 700 Session id: madhatter-1004-856B018E12E3522F9D45B294B4364FB4
NX> 705 Session display: 1004
NX> 703 Session type: unix-default
NX> 701 Proxy cookie: 8543fbfc6a3011d5059e3169ec7523ab
NX> 702 Proxy IP: 127.0.0.1
NX> 706 Agent cookie: 979708b38ba9825ff8ceb3013ef3132c
NX> 704 Session cache: unix-default
NX> 707 SSL tunneling: 1
NX> 105 NX> 504 Session startup failed.
NX> 1004 Error: nxagent failed to start. Session timed out.
NX> 1001 Bye.
Using the Windows client from !M, of course. If I was able to setup the Linux client on his machine, I wouldn't be here, would I? The system I'm trying to connect to is my laptop (testing purposes before I throw it on the production machine). I can see the HDD activity light flickering, and the transaction log indicates that it's actually trying to execute something, but I even had it timeout when trying to run xterm on login (instead of KDE).

I'm at a bit of a loss.... does anybody have a suggestion for how to make this thing work, or should I just rm -rf and go back to the drawing board?
 
Old 05-25-2005, 05:48 PM   #5
username17
Member
 
Registered: Aug 2004
Location: Norfolk VA
Distribution: Slackware 11
Posts: 230

Rep: Reputation: 30
I did read the post but I don't see why he has to use KATE?
I agree it does look nice, but when I'm on Linux I use VIM, when on windows I use notepad.

If he has to use KATE then my point is null, but why don't you just find him a decent windows based text editor?

A friend at work who codes on windows uses Notepad 2, http://www.flos-freeware.ch/notepad2.html.
It has syntax highlighting and line numbers, and it's GPL'd!

Either way, GL.
-Jason
 
Old 05-25-2005, 10:02 PM   #6
killerbob
Member
 
Registered: Oct 2004
Location: Ottawa, ON
Distribution: Slackware
Posts: 662

Original Poster
Rep: Reputation: 31
It doesn't have to be KATE specifically... he's already using something called Crimson editor, which is decent. What he liked about KATE was the ability to expand/shrink sections of code you don't want to look at. There's a little plus sign next to each function, while..loop, etc. that, when clicked, hides all of the code within the section. It also shows a small line that helps visualize the program's structure.

When you're dealing with a program that's thousands of lines of code, and having to debug sections of code that are inter-dependant but hundreds of lines apart, that is an immensely useful ability. It reduces or even eliminates the amount of scrolling and window-switching that you need to do in order to perform the task. A bit of an exaggeration in his case, but he is dealing with php and j-scripts that are upwards of 500-1000 lines of code. It's that ability, really, that I'm seeking to duplicate.
 
Old 05-25-2005, 10:37 PM   #7
Geist3
Member
 
Registered: Oct 2003
Location: Richmond, Virginia USA
Distribution: Slackware 12.2
Posts: 59

Rep: Reputation: 15
Why not use a Knoppix Live CD? Or perhaps Slax?
 
Old 05-26-2005, 01:40 PM   #8
username17
Member
 
Registered: Aug 2004
Location: Norfolk VA
Distribution: Slackware 11
Posts: 230

Rep: Reputation: 30
Hello,
I found a free windows text editor that has sytnax highlighting, line numbers, and code folding.
http://www.pnotepad.org/index.html

I assume that code folding means, it folds the code under to "hide" a section of it.
Check it out,
-Jason
 
Old 05-26-2005, 02:15 PM   #9
rhb327
Member
 
Registered: May 2004
Distribution: Slackware Current
Posts: 161

Rep: Reputation: 30
I use VIm on both *nix and windoze. It has folding and syntax highlighting which seem to be
the two major requirements mentioned thus far. Not to mention the quickfix functions for code
development.

Just my 2¢
 
Old 05-26-2005, 02:56 PM   #10
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, OpenSuSE
Posts: 1,839

Rep: Reputation: 242Reputation: 242Reputation: 242
I think there is more than one option for you:

PHP IDE
JEdit
.. and many more

The first thing I'd suggest is that you search the following two sites for "code folding":

http://sourceforge.net
http://freshmeat.net

If you find this too tedious I'd recommend that you look at a PHP/Web IDE (possibly non-free) or something like JEdit.

If the target machine has a recent Java VM installed, JEdit is a really decent programming editor. Before you shout: Startup time is long, but once it is up JEdit runs pretty fast --- it's one of far too few examples that it is possible to write fast running Java programs. Ok, the target machine must not be too old...

JEdit is expandable with plug-ins. Thus it can support many hundreds of programming languages, and certainly PHP and Javascript. It also can do folding (I just don't know if it does it by default or with a plug-in module).

Have fun!

gargamel

Last edited by gargamel; 05-26-2005 at 02:58 PM.
 
Old 05-26-2005, 03:27 PM   #11
prj
Member
 
Registered: Aug 2003
Location: South Wales
Distribution: Kubuntu, Ubuntu server, SuSE 11, Knoppix, Puppy, Myth. Oh alright then, all of them
Posts: 177

Rep: Reputation: 30
A Windows solution...............eeeeeek!

Have a look at Textpad

IMHO its that good I had it running under Wine for a while and even paid for it, despite the everlasting trial version.
Loads of modules available.

Why O why dont they port it to Linux
 
Old 05-26-2005, 03:48 PM   #12
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, OpenSuSE
Posts: 1,839

Rep: Reputation: 242Reputation: 242Reputation: 242
Oh yes, there must be loads of offers. One I just overlooked: Eclipse!

(Might be overkill for your purposes, though).

gargamel
 
Old 05-26-2005, 06:04 PM   #13
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
When I need something crossplatform I generally use http://www.jedit.org and sometimes vim. Just depends what I need.
 
Old 05-26-2005, 10:03 PM   #14
rose_bud4201
Member
 
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 929

Rep: Reputation: 30
Eclipse, although it has all the requirements for an IDE, is however *not* one of the few examples that it is possible to write fast running Java programs. I'm required to use it at work for my Java development, and a worse IDE I've never had to use [Disclaimer: this is my opinion, you don't have to agree].

I'm definitely going to come down hard on the side of Emacs (or Vim, as your preference may be ) for those who don't mind their editors coming with mile-long manuals. Otherwise, yep, Jedit it is.
 
  


Reply



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
Stupid, stupid question; I lost Klaptop. :( Surfrider Slackware 2 08-31-2005 09:12 PM
Stupid Dumb Stupid Question... drigz Linux - Software 3 09-23-2004 03:09 PM
Gnome Themes In Fedora - Potentially Dumb Question salvatore Fedora 4 03-13-2004 08:58 PM
Potentially stupid question about fonts in *box themes Electrode Linux - Software 0 03-01-2003 07:45 PM
Potentially stupid question: how to move glib? paavaka Linux - General 4 02-18-2002 08:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:03 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
Open Source Consulting | Domain Registration