|
||||||
| 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. |
|
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
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 |
|
|||
|
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. |
|
|||
|
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 |
|
|||
|
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 |
|
|||
|
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.
|
|
|||
|
Quote:
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 |
|
|||
|
press alt+f2 & type kwrite in the run box,then hit enter. after a second or 2,up will pop kwrite
Andy |
|
|||
|
Quote:
Brilliant ! My quest is over ! Many many many thanks Andy ! And everybody who has responded to this topic ! Tim |
|
|||
|
Quote:
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. |
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|