Go Back   openSUSE Forums > Archives > SLS Archives > ARCHIVES - SuSE Linux > ARCHIVES - Desktop Environments
Forums FAQ Members List Search Today's Posts Mark Forums Read


ARCHIVES - Desktop Environments KDE, GNOME, FVWM, etc.. all those window manager related questions get in here.

 
Page 1 of 2 1 2
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 21-May-2008, 04:27
timmoore46
Guest
 
Posts: n/a
Default

I have a custom application that seems to need the unix convention of a 'carriage return' and a 'new line' control code.

Now most applications are happy with just the 'Enter key' =(carriage return)

Open Office files can be saved a 'text' but it also adds extra control codes.

Now with the nice KDE desktop I really don't want to go back to the command line an 'Vi' (shriek !!!!)

Is there an 'easy to install' on suse 10.2 text editor that REALLY just saves pure ascii text without added jokes in existence ?

KWord ? Can that do it ? If so how is it done ? (hopefully without dropping down to the command line !

(Macs have these wonderful dmg files which just clear off and install applications without a glitch ! Any thing like that on Linux ?)

Any comments greatly appreciated !



Tim



  #2 (permalink)  
Old 21-May-2008, 04:35
FeatherMonkey
Guest
 
Posts: n/a
Default

I use kate for all scripting never noticed anything wrong with the unix conventions. I believe kwrite is using the same stuff as kate so should do the same behaviour.

Should you have something then you could always use something to strip them, this would work for newlines from a windows point of view. For the specific points you want you would need to modify it. Also have -i that will strip the source with no need for an output file.

sed -e 's/\r$//' filetostrip > strippedfile

You could turn this into a little script.
  #3 (permalink)  
Old 21-May-2008, 05:17
thidney
Guest
 
Posts: n/a
Default

Nice "Flame" questions. There are lots of editor for use. KDE have build in editor which are used for editing in many aplication. It have couple of faces.
Simple kwrite, or more advance kate. If you press f4 in krusader you will get another face of this editor.
Other nice editors I like jedit - java, mousepad, gedit.

Yes, dmg are really nice. They are just disk images, like isos or whatever. Linux have them too, but integration is not so nice (you can`t just click as normal user to mount it ) For program installation we have rpm packages and collection of rpm packages called repositories.
You can mount dmg or iso files using mount -o loop
Hope it helps
  #4 (permalink)  
Old 21-May-2008, 06:36
oldcpu
Guest
 
Posts: n/a
Default

As noted, there are many text editors. My favourite VERY simple text editor is leafpad:
http://tarot.freeshell.org/leafpad/

It is packaged for openSUSE as an rpm by the Packman packagers:
http://packman.links2linux.de/package/leafpad
  #5 (permalink)  
Old 21-May-2008, 20:50
mdskinner
Guest
 
Posts: n/a
Default

I use KWrite for my text editing. Does the job just fine. I use it to edit html and php files mostly right now. I like the way it color codes the different text areas while I'm editing those files.
  #6 (permalink)  
Old 22-May-2008, 01:37
timmoore46
Guest
 
Posts: n/a
Default

Quote:
Nice "Flame" questions. There are lots of editor for use. KDE have build in editor which are used for editing in many aplication. It have couple of faces.
Simple kwrite, or more advance kate. If you press f4 in krusader you will get another face of this editor.
Other nice editors I like jedit - java, mousepad, gedit.

Yes, dmg are really nice. They are just disk images, like isos or whatever. Linux have them too, but integration is not so nice (you can`t just click as normal user to mount it ) For program installation we have rpm packages and collection of rpm packages called repositories.
You can mount dmg or iso files using mount -o loop
Hope it helps
[/b]
How do I get to kwrite in Suse 10.2 ? Is there some magic within Yast2 to find it and get it running ? I use KDE.

I was really really really trying to avoid using Bash under 'SU' conditions as one mistake and I could trash the OS ! h34r: h34r: h34r:

If I had a spare PC running then Ok but this PC is not for major experiments where the odd 'trashing' is ok !

Many thanks for the responses.



Tim
  #7 (permalink)  
Old 22-May-2008, 01:47
deltaflyer
Guest
 
Posts: n/a
Default

press alt+f2 & type kwrite in the run box,then hit enter. after a second or 2,up will pop kwrite

Andy
  #8 (permalink)  
Old 22-May-2008, 09:21
mdskinner
Guest
 
Posts: n/a
Default

you can find the launch in /opt/kde3/bin/
  #9 (permalink)  
Old 23-May-2008, 03:45
timmoore46
Guest
 
Posts: n/a
Default

Quote:
press alt+f2 & type kwrite in the run box,then hit enter. after a second or 2,up will pop kwrite

Andy
[/b]

Brilliant ! My quest is over !

Many many many thanks Andy !

And everybody who has responded to this topic !



Tim
  #10 (permalink)  
Old 23-May-2008, 03:51
oldcpu
Guest
 
Posts: n/a
Default

Quote:
My quest is over ! Many many many thanks Andy ![/b]
Cheers! Text editors can be very useful, especially in Linux where so many configuration settings are stored in text files.

Another trick, to change system files, is to start an editor (in kde) with: <span style="font-family:Courier New">gnomesu leafpad</span> #if for example leafpad is your favourite editor (or maybe its "gksu" instead of "gnomesu", I can't recall as I am not a gnome user).

I confess I like leafpad so much (its very very very basic) that I compiled it myself for 11.0 beta3, as leafpad is not yet available as an rpm (from packman packagers) for 11.0.
 
Page 1 of 2 1 2

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2