Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 02 Oct 2014, 01:06
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » REQUESTS
textroom
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 2 Posts_count   Goto page: 1, 2 Next
Author Message
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Tue 19 Oct 2010, 09:15    Post_subject:  textroom  

We have one full page text editor (I put it in Tmxxine twinkle)

Maybe this is better? Tried installing in 5.2 pre release as a deb but missing dependencies . . .

http://code.google.com/p/textroom/
http://code.google.com/p/textroom/downloads/list

_________________
Puppy WIKI
Back to top
View user's profile Send_private_message Visit_website 
seaside

Joined: 11 Apr 2007
Posts: 886

PostPosted: Wed 20 Oct 2010, 10:11    Post_subject:  

To: The Maine Lobster
Subj: In House Use

No need to outsource. Now you can have a 1 room text editor in seconds! See below for the 1den production of... Proom.

Code:
#!/bin/sh

echo 'style "proom" {
  font_name             = "DejaVu Sans 12"
  bg[NORMAL]         = "black"
  base[NORMAL]         = "black"
  text[NORMAL]         = "green"
  }
class "*t*" style "proom"' > /tmp/gtkrc
export GTK2_RC_FILES=/tmp/gtkrc:/root/.gtkrc-2.0

export Proom='
<window title="Proom" width-request="1250" height-request="750" decorated="false">
<edit wrap-mode="1" left-margin="300" right-margin="300"><variable>EDIT</variable></edit>
<action signal="key-press-event">echo "$EDIT" >/root/mystuff</action>
 </window>'
gtkdialog3 -p Proom



Just hit Alt-F4 to save and quit.

Cheers,
s
(Be sure to air out Proom periodically) Very Happy Very Happy
Back to top
View user's profile Send_private_message 
dejan555


Joined: 30 Nov 2008
Posts: 2666
Location: Montenegro

PostPosted: Wed 20 Oct 2010, 10:25    Post_subject:  

This actually looks kinda cool Smile
Not exactly my type of editor but fun to play with, thanks. Wink

_________________


Back to top
View user's profile Send_private_message Visit_website MSNM 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Wed 20 Oct 2010, 11:19    Post_subject:  

Quote:
No need to outsource.


Cool?
It makes Antartica look tropical (may soon happen)

This is why I love Puppy
Seaside has done what other distros require
massive resources to achieve.

My sister has started a writing course with the OU
this will be ideal Smile

_________________
Puppy WIKI
Back to top
View user's profile Send_private_message Visit_website 
aragon

Joined: 15 Oct 2007
Posts: 1698
Location: Germany

PostPosted: Thu 21 Oct 2010, 13:56    Post_subject:  

Now if you do that one with a file open dialog and a save dialog that does not destoy the previous notes, it would be very nice...

Aragon

_________________
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
Back to top
View user's profile Send_private_message 
seaside

Joined: 11 Apr 2007
Posts: 886

PostPosted: Thu 21 Oct 2010, 16:40    Post_subject:  

aragon wrote:
Now if you do that one with a file open dialog and a save dialog that does not destoy the previous notes, it would be very nice...

Aragon


Aragon,

Perhaps... yet out of the concept intended. By adding buttons and toolbars, it becomes just another editor when plenty of excellent and far better ones abound. Change the background, foreground, margins, run maximized and that's almost it.

The allure of this "black hole" background with a center of "soothing green text" is supposedly to draw out a writer's muse in allowing a gush of ideas and words to come forth in a continous stream, without any distractions. Then, after the burst has been fulfilled, that gem of information would be edited in a REAL editor.

Does that actually work better for writers?

I don't know.... you'll have to ask Lobster. Very Happy

Regards,
s
Back to top
View user's profile Send_private_message 
seaside

Joined: 11 Apr 2007
Posts: 886

PostPosted: Sun 24 Oct 2010, 20:11    Post_subject:  

Just to follow-on, here's a way to express and then impress.

- Get all those great thought streams out in a "Pomodoro" concentrated burst in a soft green environment.

- Hit Alt-F4 and your gems are now appearing in Geany - ready for a wordly messaging.

Code:

#!/bin/sh

echo 'style "proom" {
  font_name             = "DejaVu Sans 12"
  bg[NORMAL]         = "black"
  base[NORMAL]         = "black"
  text[NORMAL]         = "green"
  }
class "*t*" style "proom"' > /tmp/gtkrc
export GTK2_RC_FILES=/tmp/gtkrc:/root/.gtkrc-2.0

export Proom='
<window title="Proom" width-request="1250" height-request="750" decorated="false">
<edit wrap-mode="1" left-margin="300" right-margin="300"><variable>EDIT</variable></edit>
<action signal="delete-event">echo "$EDIT" >/root/mystuff</action>
<action signal="delete-event">geany /root/mystuff</action>
 </window>'
gtkdialog3 -p Proom



This program gets 100WPM on a pound of thought.... Very Happy

Cheers,
s
Back to top
View user's profile Send_private_message 
scsijon

Joined: 23 May 2007
Posts: 1046
Location: the australian mallee

PostPosted: Sun 07 Nov 2010, 19:22    Post_subject:  

lobster, anyone?

has anyone repackaged this as a .pet yet, if not i'll have a go at a complete .pet (inc dependancies) while waiting for the programmers of another package i'm working with to sort out a problem I found for me in their next release beta.
Back to top
View user's profile Send_private_message Visit_website 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Sun 07 Nov 2010, 21:23    Post_subject:  

scsijon a pet would be great. Cool

Such zero distraction systems do work.

_________________
Puppy WIKI
Back to top
View user's profile Send_private_message Visit_website 
scsijon

Joined: 23 May 2007
Posts: 1046
Location: the australian mallee

PostPosted: Tue 09 Nov 2010, 06:50    Post_subject:  

consider it under way
Back to top
View user's profile Send_private_message Visit_website 
Taavi

Joined: 10 Mar 2006
Posts: 146
Location: Suomi, Finland

PostPosted: Sat 15 Oct 2011, 18:31    Post_subject:  

This is just the best writing app I have ever seen. As doing some kind of writings myself I share seaside's thoughts about the editors. When you write you just write and anything else is unnecessary. Usually there is so much on the screen to ruin your concentration. And it is so easy to start playing with your superdeluxewordprocessor and then you just notice that all those undying words you had in mind have disappeared for ever.

I modified it a little. This version has hotkey alt+m to save text and clear the screen. It saves your memorable lines to a directory named by weeknumber in the file named with time stamp ymdHMS. And now you just keep on going, empty your mind totally, move around from subject to an other, alt+m and no need to stop.

I have
Code:

<Group>
<Class>teksturi</Class>
  <Option>nolist</Option>
  <Option>noborder</Option>
  <Option>layer:12</Option>
</Group>


in /etc/xdg/templates/_root_.jwmrc to get real full screen.

Code:

#!/bin/sh

 echo 'style "proom" {
   font_name             = "DejaVu Sans 14"
   bg[NORMAL]         = "black"
   base[NORMAL]         = "black"
   text[NORMAL]         = "green"
   }
 class "*t*" style "proom"' > /tmp/gtkrc

 export GTK2_RC_FILES=/tmp/gtkrc

mkdir -p /mnt/home/texts/$(date +%W)

 export Proom='
<window title="Proom" width-request="1250" height-request="750" decorated="false">
<hbox>
<hbox visible="false">
<button use-underline="true">
<label>_Muistiin</label>
<action>echo "$EDIT" >/mnt/home/texts/$(date +%W)/$(date +%y%m%d%H%M%S)</action>
<action>clear:EDIT</action>
</button>
</hbox>
<edit wrap-mode="2" left-margin="250" right-margin="250" cursor-visible="false"><variable>EDIT</variable></edit>
</hbox>
</window>'
gtkdialog3 --class=teksturi -p Proom


And then you have numbered directories stuffed with files which names don't tell you nothing.

For this situation I tried to build a browser. It gets six first word of every file for the selector so you get a hint of what treasures are hiding there. It browses those numbered directories. And it doesn't look good.

Notice here that I'm not a professonal in scripting and with gtkdialog. I guess I've done things funny and wrong ways. But I throw it here, so someone more professonal maybe take a look at it and clears and fixes this. And I will learn again something new. But I like this idea, yes.

Code:

#!/bin/bash

#Function to open texts in geany. It uses list formed: Six first words of the file {/path/to/file}
avaa () {
AUKI="$( grep -i  "$TEKSTI" /tmp/txi/tlista | sed 's/.*{\(.*\)}.*/\1/')"
geany "$AUKI" &
 }
export -f avaa

#Function to make lists for file selector.
selaa () {
cat /tmp/txi/"$NRO"lista > /tmp/txi/lista
 }
export -f selaa

mkdir /tmp/txi
touch /tmp/txi/lista

#Collect data for selectors, hlista for directory listing, tlista for function avaa, and "${KANSIO}"lista for file selector. The last one is named with (week)number prefix to get own file list for each directory. So the selaa function in directory selector cats the proper list for the file selector.
for dir in /mnt/home/texts/*
do
KANSIO=$(basename $dir)
echo "${KANSIO}" >> /tmp/txi/hlista
for file in /mnt/home/texts/"${KANSIO}"/*
do
NIMI="$(awk 'NR==1 {print $1,$2,$3,$4,$5,$6}' ${file} | sed 's/[ \t]*$//')"
POLKU=$(readlink -f "$file")
echo "${NIMI} {${POLKU}}" >> /tmp/txi/tlista
echo "${NIMI}" >> /tmp/txi/"${KANSIO}"lista
done
done

 export TEKSTIT='
<window title="Tekstit" width-request="350" height-request="540">
<hbox>
<hbox width-request="40" height-request="530">
<table>
<label>vko</label>
<variable>NRO</variable>
<input>cat /tmp/txi/hlista</input>
<action>selaa</action>
<action>refresh:TEKSTI</action>
</table>
</hbox>
<hbox  width-request="300"  height-request="530">
<tree>
<label>tekstit</label>
<variable>"TEKSTI"</variable>
<input>cat /tmp/txi/lista</input>
<action>avaa</action>
<action>refresh:TEKSTI</action>
</tree>
</hbox>
</hbox>
</window>'

#Place the box in upper right corner of the screen so geany have room to open.
gtkdialog3 -p TEKSTIT --geometry +1+1

#clearing
unset TEKSTIT
unset -f avaa
unset -f selaa
rm -r /tmp/txi


Oops, if you want to try these remember to change needed directories, I have all my files in /mnt/home/
Back to top
View user's profile Send_private_message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Sat 15 Oct 2011, 19:02    Post_subject:  

Quote:
consider it under way


Rolling Eyes what happened? New version to pet Cool

thanks for improvements Smile

_________________
Puppy WIKI
Back to top
View user's profile Send_private_message Visit_website 
Taavi

Joined: 10 Mar 2006
Posts: 146
Location: Suomi, Finland

PostPosted: Sat 15 Oct 2011, 19:19    Post_subject:  

Back to the roots Very Happy
Back to top
View user's profile Send_private_message 
scsijon

Joined: 23 May 2007
Posts: 1046
Location: the australian mallee

PostPosted: Sun 16 Oct 2011, 21:37    Post_subject:  

Lobster wrote:
Quote:
consider it under way


Rolling Eyes what happened? New version to pet Cool

thanks for improvements Smile


Last was done and sent to someone for uploading/adding to ppm, sorry don't remember who Question ?lobster.

I will chase new version source this week (0.8.2) and find my building notes from last time to see what the problems were before building.

I can't promise immediate action as i'm at a problem fix stage for the first public alpha for qtpuppy, but it shouldn't be more than a week, i'll put them on my website when completed. If serious problems arrive it may be a further week

versions will be wanted for?: wary52, lucid528, qtpuppy, ????

regards

edited today:

Uh folks, sorry but I won't be building the latest version in a hurry, the number of basic puppy packages that will require updating for this thing to run is rediculous, to start with there is only one dependancy out of eleven that we have in our tree that it considers up to date, let alone a core package or three.

It will remain on my todo list, just not this month!

regards
scsijon
Back to top
View user's profile Send_private_message Visit_website 
seaside

Joined: 11 Apr 2007
Posts: 886

PostPosted: Sun 23 Oct 2011, 10:57    Post_subject: Proom-0.4
Sub_title: Writing environment
 

********************
To puppy writers....

I've created a Proom-0.4 pet here with ideas from Taavi -
http://murga-linux.com/puppy/viewtopic.php?p=575668#575668

It should run on any puppy.

Cheers,
s
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 2 Posts_count   Goto page: 1, 2 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » REQUESTS
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0967s ][ Queries: 11 (0.0035s) ][ GZIP on ]