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 Wed 26 Sep 2018, 10:22
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Documents
A NWP/A NWPUS--A Noob's Word Processor and Utilities Suite
Post new topic   Reply to topic View previous topic :: View next topic
Page 7 of 7 [105 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7
Author Message
OvrMaHd


Joined: 10 Nov 2017
Posts: 14

PostPosted: Sat 24 Mar 2018, 21:04    Post subject:    

Quote:
Pelo
Location: Mer méditerrannée (1 kms°)

PostPosted: Wed 13 Sep 2017, 05:27 Post subject: NWP is what i need. Reply with quote
amigo wrote:
Where does word processing come into this?

It's not the final version Users will wait a little bit . I am so in need of typing , texlive, kingsoft, libre-office, abiword, are not enough.
'i can't get satisfation !' NWP is what i need.


This thread is a hoot! It's a YouTube fact that when option choices in software approaches 10 percent of your number of neurons you have achieved Nyquist limit - oh-yah

[/code][/list]
Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1564
Location: nyc

PostPosted: Thu 19 Apr 2018, 02:41    Post subject: fix for quirky xenial 8.5
Subject description: get yad from the ppm and dump the following into a terminal:
 

Code:
echo $'
<JWM>

<Tray  autohide="true" insert="right" x="302" y="1" border="1" height="28" valign="top" >
<TrayButton icon="c.machue-207.jpg">exec:xdotool key ctrl+9 ctrl+8 Return F2 ctrl+7</TrayButton>

<TrayButton popup="Show Desktop" icon="mini-desktop12.xpm">showdesktop</TrayButton>

<TrayButton icon="/nwp/keys/icons/rootm-def/pr6.xpm">root:6</TrayButton>
<TrayButton icon="/nwp/keys/icons/rootm-def/pr7.xpm">root:7</TrayButton>
<TrayButton icon="/nwp/keys/icons/rootm-def/pr8.xpm">root:8</TrayButton>
<TrayButton icon="/nwp/keys/icons/rootm-def/pr9.xpm">root:9</TrayButton>
<TrayButton icon="/nwp/keys/icons/rootm-def/pr0.xpm">root:0</TrayButton>
<Dock/>

<TrayButton label="" icon="ws.png" border="true">exec:/nwp/ww</TrayButton>

<!--<TrayButton popup="pmount" icon="mini-hdisk.xpm">exec:pmount</TrayButton> -->
<TrayButton popup="partview" icon="mini-hdisk.xpm">exec:partview</TrayButton>
<TrayButton popup="pmount"  icon="mini-hdisk.xpm">exec:pmount</TrayButton>    
<!--<Pager/> -->


<TrayButton label="" icon="cr2.png" border="true">exec:/nwp/cr</TrayButton>


<!--label="vtg"  -->
<TrayButton label="" icon="cc.png" border="true">exec:/nwp/ccdi</TrayButton>
<TrayButton label="" icon="ca.png" border="true">exec:/nwp/cadi</TrayButton>
<Clock format="%l:%M %p">PupClockset</Clock>

</Tray>


<!-- you can take the  icon="mini-dog.xpm" bit and make copies, flipped or inverted or rotated, and use that in place of the numbers. would also get some of the original puppy imagery back on the desktop.... just go to /root/puppy-reference/mini-icons, open the dog or one like it in mtpaint, rotate, rename, substitute. you could also make the menu buttons pretty much any image you like...  -->
</JWM>
' > /nwp/root3/9/topright
/nwp/jio


Quirky Xenial64 8.5 uses an older JWM syntax than i was expecting, and it didn't have the same icon for partview i'd been counting on, so this overwrites the file that calls the non-existent tray icon (which stretched out the tray) and resets the jwm config files' syntax to the old version (shrinks the top tray back to a normal size and gets the top and side tray to autohide again).

(and yes, it's still got the unfortunate holdover name of "topright" despite being center left if anything).
Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1564
Location: nyc

PostPosted: Thu 03 May 2018, 02:48    Post subject: bbwp updated as bwp
Subject description: 1.3 now available
 

no change to any of the keyboard configuration sets, but the browser word processor itself gets templates and help/paste-formatting files that waste less screen space (pdf download/print preview (content is scalable) is unaffected by working settings). from the vtg thread:
(
subject: bwp 1.3: some new backup and formatting shortcuts,
Subject description: better use of screen real estate, and a mini version of the duals folder from the nwp
)

Puppus Dogfellow wrote:
bwp1.3.pet upped.


if you're working in the default templates and styles/info/scrap sheets, run
Code:
mkdir -p /file/wp/
cp -au /root/my-applications/bbwp/html /usr/local/bwp/ /nwp/wp/bbwp/ /file/wp/
or something similar before upgrading so your stuff doesn't get overwritten (it'll be in /file/wp as described below. change the locations to suit your preferences--code is also the new ark and arc nwp shortcuts (ll (or gl, since this is after all the geany thread version of all this) in main (p) launcher followed by the name of the file to quickly edit it after installation in full nwp installs).

more from that Styles,Scrap2/bwp help and info file:

Quote:

[...]
5/1

will probably have 1.3 up by the morning (unless the mcc version ends up getting merged into it). here's the new pinstall script so far:
Code:

#!/bin/sh
#bwp, a version of bbwp, a fragment of anuupus...
#right click templates for spell check and no spell check were backwards last time.
#updated version gives support for more fonts, colors, and paragraph alignment (through styles,scrap2; see the other styles sheet for credits and links. in short, you edit in a browser tab and save through your browser's file (html) and print (pdf) menus. bookmark individual files or folders as tabs or groups thereof. use the vtg and geany as additional means of launching or backing up your work. copy in formatting from the styles tabs to the spellcheck/no spellcheck blanks. default is left aligned serif.
cp -f /root/my-applications/bbwp/html/bbwp-2-nospchk /root/.config/rox.sourceforge.net/Templates/bwp-2-nospchk
cp -f /root/my-applications/bbwp/html/bbwp-1-spchk /root/.config/rox.sourceforge.net/Templates/bwp-1-spchk
cp -f /root/my-applications/bbwp/html/Styles,Scrap2.html /root/.config/rox.sourceforge.net/Templates/bwp-3-Styles,Scrap2.html
cp -fRu /root/my-applications/bbwp/html /root/.config/rox.sourceforge.net/Templates/bwp-0
#since i never made a /nwp/wp specific launcher, it makes more sense to call the codes from /nwp itself:
cp -f /root/my-applications/bin/bbch /nwp/bbch
echo $'
#!/bin/sh
defaultbrowser /nwp/bbwp/html/bbwp-1-spchk /nwp/bbwp/html/Styles,Scrap2.html /nwp/bbwp/html/bbwp-2-nospchk /nwp/bbwp/html/box1 /nwp/bbwp/html/Untitled2 /nwp/bbwp/html/Untitled1 /nwp/bbwp/html/Styles

' > /nwp/bbwp
chmod 755 /nwp/bbwp
#run line below to have the nwp call bbdef from my/apps-bin
#cp -f /root/my-applications/bin/bbdef /nwp/bbdef
cp -f /root/my-applications/bin/bbfir /nwp/bbfir
cp -f /root/my-applications/bin/bbg /nwp/bbg
cp -f /root/my-applications/bin/bb-iron /nwp/bb-iron
cp -f /root/my-applications/bin/bbpm /nwp/bbpm
cp -f /root/my-applications/bin/bbwpe /nwp/bbwpe
cp -f /root/my-applications/bin/bbwpr /nwp/bbwpr
cp -f /root/my-applications/bin/dil2 /nwp/dil2
#add html folder to nwp/wp/bbwp---it's just missing the launchers (menu items call to ~/my-apps/bin)
#mkdir -p /nwp/wp/bbwp/
cp -fRu /root/my-applications/bbwp/html /nwp/wp/bbwp/
cp -fRu /root/my-applications/bbwp/html /usr/local/bwp/

#[...]the codes above (without the path) would work in either terminal or nwp/pwn launcher. you can also copy the desktop files and replace your default browser with a supplemental (possibly with its own sessions and folders of bookmarks to work with apart from your main bwp/bbwp setup).
#to activate in document (vtg/full nwp versions), place cursor at
#makepet path/to/document
#(give it a separate line, possibly with a mv line to save your backups elsewhere).
echo $'
#!/bin/sh
exec makepet "$@"
' > /root/.config/rox.sourceforge.net/Templates/drag2makepet
chmod 755 /root/.config/rox.sourceforge.net/Templates/drag2makepet
#dragging a folder to the makepet script is a convenient way to make a quick archive/backup of it. if you're using the pet function for archiving, rename (and/or relocate) as you go because each new pet will overwrite the older one.
#also in the last version, but since this update should work as a standalone word processor, i included it so as not to offer an unnecessarily limited version.

#1.2 to 1.3 adds the following and makes better use of screen real estate (smaller margins and less padding. return line width to 60 and padding to 4 for the older look, something in between for something in between).

#arc and ark are backup utilities for the default folders and identical. modify one or both. run before each new bwp, bbwp, or mmcwp upgrade.
echo $'#!/bin/sh
mkdir -p /file/wp/
cp -au /root/my-applications/bbwp/html /usr/local/bwp/ /nwp/wp/bbwp/ /file/wp/
' > /nwp/ark
chmod 755 /nwp/ark
echo $'#!/bin/sh
mkdir -p /file/wp/
cp -au /root/my-applications/bbwp/html /usr/local/bwp/ /nwp/wp/bbwp/ /file/wp/
' > /nwp/ark
chmod 755 /nwp/arc
#launcher shortcuts for tab, en, em, and non breaking space
#when in text editor mode (faster saving is one benefit), entering line breaks, tab spaces, and blank space in general is non-intuitive. here are some launcher shortcuts to try and make up for that:
echo $'#!/bin/sh
xdotool type "&nbsp;&nbsp;&nbsp;&nbsp;"
' > /nwp/tab
chmod 755 /nwp/tab
echo $'#!/bin/sh
xdotool type " &nbsp;"
' > /nwp/spc
chmod 755 /nwp/spc
echo $'#!/bin/sh
xdotool type "&emsp;"
' > /nwp/em
chmod 755 /nwp/em
echo $'#!/bin/sh
xdotool type "&ensp;"
' > /nwp/en
chmod 755 /nwp/en
echo $'#!/bin/sh
xdotool type "<br>"
' > /nwp/br
chmod 755 /nwp/br
#repair broken horizontal rule shortcut. paw and pbw (to force page breaks (after and before) are also useful in text editor mode (but don't need repair--just mentioning them as a tip)).
echo $'
#!/bin/sh
xdotool type \'<hr size="2" align="left" width="60%" color="grey">\'
' > /nwp/hrl
chmod 755 /nwp/hrl
#to do: add a version of the dual launchers folder for an mcc version of the upgrade
#(though it's already an upgrade of the word processor offered in that thread). run
#mkdir -p /file/wp/
#cp -au /root/my-applications/bbwp/html /usr/local/bwp/ /nwp/wp/bbwp/ /file/wp/
#first if you've been working in the files but haven't been renaming them.
#additional info: the same print window you use to download your work as pdf can also scale it,
#so using the default size plus the heading (h1-h5) tags rather than the font size choices to set relative text size may make more sense (it would also reduce the overall size of the package considerably).
#the wider editing view set in the browser window doesn't affect the print preview display--if you like post its and other files in the margins, set the line width to something even less than 60 ("column view").
fixmenus
jwm -reload

change in shade for the new stuff. as the comments say, run
Code:
mkdir -p /file/wp/
cp -au /root/my-applications/bbwp/html /usr/local/bwp/ /nwp/wp/bbwp/ /file/wp/

#first if you've been working in the files but haven't been renaming them
(that's both arc and ark--two new (customizable) nwp launch codes (talking full nwp installs; after installation, gl or ll in the launcher and then either ark or arc in the next launcher (geany or leafpad) and you can edit the paths or set others for easy backups (a good place to add a "cp -au /file/wp /path/and/folder/you/pick #(use the mkdir -p command if it doesn't already exist)" as mentioned earlier.


the "duals" mentioned is just a folder of drag-to scripts for opening the bwp's (and earlier versions') files (individually or in batches) in a browser and text editor simultaneously. seems to fit with the drag to copy and drag to pet scripts it already has. anyway, it's just a dozen or so variations on:

Code:

#!/bin/sh
exec defaulttexteditor "$@"| exec defaultbrowser "$@"


the four possible variations for text editor part were the above, geany, geany -i, and leafpad. did a bunch of substitution in geany with the cnt code (
Code:
echo $'
(content--script spits out a sample create-file-with-content template)
' > (path to file)


(see above for the fixed broken hrl tag version--it'll show you what to do if your 'content' has the symbols (& ') the code needs to use as the beginning and end of what you want it to make. if only single quotes (an apostrophe), use doubles (real quotes), or use backslashes any time you need to show a (ex:) \& or \' in what gets printed out to > .../(filename)

(i think you may need to \ \'s, but i'm not sure; it may be just a character without something to "escape.")(look up "escaping characters" for more).(in a search engine, not here).

...

and ended with with what appears to be about three dozen (i luckily have little
memory of doing it). as you can see, i gave the desktop files (never got through with making icons for all of them) the same cryptic names as the launcher shortcuts they also point to.
anything with a gi is going to have a new instance of geany launched. same for anything that's got a "geani" in it. defaults x2 is "def" in the launcher (you can drag the files to the running programs instead of the scripts), which is also you'd name them for vtg use. see the shortcuts list in any of the linked threads for more of that sort of stuff.

….seems i ranted myself away from some continuity regarding the screenshot below…

(newer version of the pinstall for 1.3 will add something like:
Code:


#for now i'll just put copies of the drag2pet script and 2 of the
#simultaneous browser-text editor launch scripts in the bwp/bbwp and mcc folders (nwp and /root/my-apps)
#drag either gip or def to the make copies scripts to make a set of templates
#to fit your apps and preferences
echo $'#!/bin/sh
exec defaulttexteditor "$@"| exec defaultbrowser "$@"
' > /root/my-applications/bin/def
chmod 755 /root/my-applications/bin/def
cp -f /root/my-applications/bin/def /nwp/mc/mcc/def
cp -f /root/my-applications/bin/def /root/my-applications/mc/mcc/def
cp -f /root/my-applications/bin/def /root/my-applications/bbwp/html/def
echo $'#!/bin/sh
exec geany -i "$@"| exec palemoon "$@"
' > /root/my-applications/bin/gip
chmod 755 /root/my-applications/bin/gip
cp -f /root/.config/rox.sourceforge.net/Templates/drag2makepet /root/my-applications/mc/mcc/drag2makepet
cp -f /root/my-applications/bin/gip /nwp/mc/mcc/gip
cp -f /root/my-applications/bin/gip /root/my-applications/mc/mcc/gip
cp -f /root/my-applications/bin/gip /root/my-applications/bbwp/html/gip
cp -f /root/.config/rox.sourceforge.net/Templates/drag2makepet /nwp/mc/mcc/drag2makepet



here's that pic i mentioned:
[...]

here's the contents of that "to decryptify.." file:

one of the drawback to the quick launch codes is that sometimes they're a bit too cryptic to be of use.
here's what the things in the folder open:
(geany with an i indicates it will open a new instance of geany if there's already an instance (or more) running. leaf is leafpad. g by itself is geany. l by itself indicates leafpad is the text editor part of the dual launch. p is pale moon. ff is firefox. c is chromium (ll in leafpad if you're using chrome and you want to give it rather than chromium the quicker launch call.)

defaultsx2.desktop -- opens your default text editor and your default browser
geany-opera.desktop
leaf-dillo.desktop -- dillo leafpad
dlll.desktop -- dillo leafpad
ged.desktop -- geany dillo
leaf-slimjet.desktop -- leafpad slimjet
gc.desktop -- geany chromium
gep.desktop -- geany palemoon
leafy.desktop -- leafpad, seamonkey
geani-chrome.desktop -- chrome, geany new instance
ges.desktop -- geany seamonkey
lec.desktop -- leafpad chromium
geanifirefox.desktop -- geany new instance firefox
gib.desktop -- [seems as though i never actually made the file this one directs you to]
lep.desktop -- leafpad palemoon
geani-opera.desktop -- geany new instance
gic.desktop -- geany new instance
lff.desktop -- leafpad firefox
geany-chrome.desktop -- geany chrome
gid.desktop -- geany new instance
lop.desktop -- leafpad opera
geanydefbrowser.desktop -- geany default browser
gip.desktop -- geany new instance

geany-firefox.desktop -- geany firefox
gis.desktop -- geany new instance seamonkey
txt-ed-ff.desktop -- default text editor firefox
geany-jet.desktop -- geany slimjet
leaf-chrome.desktop -- leafpad google chrome

(still a little cross referencing to do, but this should make it easier (though not every browser listed (i.e. dillo, older operas, …) may be able to use the content editable code the browser view hinges upon.



some new launcher codes:

arc -- backup bwp
ark -- backup bwp (dup)
em -- type out html emspace
en -- type out html en space
tab -- type out html tab space
spc -- type out non breaking space (in text editor mode, html removes breaks and spaces you don't explicitly tag.)
br -- type out line break tags <br>

^(until you remember to remember it at least; <p> tags ("paragraph") are less reliable for this (as the name perhaps suggests. seems to work sometimes though).



if you don't have the nwp and the launch code cheat sheet it provides, and you want the benefits of the text editor's quick saves and text manipulation tools, you could always make a cheat sheet directly on the page and sandwich it with
Code:


<!--  -->



(put all the tags and crib notes between arrows like that (cmt in the launcher) and you'll have something that only shows up in text editor view--neither the browser tab nor the print preview/output/pdf file show that as part of your content).

...

bwp1.3.pet now up. it's up to 23k (240 installed, most of it the original styles sheet copied three times).

contents/ingredients (tree -h):

├── [ 89] pet.specs
├── [6.7K] pinstall.sh
├── [ 80] root
│ ├── [ 80] my-applications
│ │ ├── [ 60] bbwp
│ │ │ └── [ 200] html
│ │ │ ├── [ 589] bbwp-1-spchk
│ │ │ ├── [ 578] bbwp-2-nospchk
│ │ │ ├── [ 11K] box1
│ │ │ ├── [ 11K] box2.html
│ │ │ ├── [ 82K] Styles
│ │ │ ├── [ 37K] Styles,Scrap2.html
│ │ │ ├── [ 586] Untitled1
│ │ │ └── [ 582] Untitled2
│ │ └── [ 240] bin
│ │ ├── [ 366] bbch
│ │ ├── [ 371] bbdef
│ │ ├── [ 364] bbfir
│ │ ├── [ 370] bbg
│ │ ├── [ 361] bb-iron
│ │ ├── [ 364] bbpm
│ │ ├── [ 394] bbwpe
│ │ ├── [ 85] bbwpr
│ │ ├── [ 372] bwp
│ │ └── [ 244] dil2
│ └── [ 60] puppy-reference
│ └── [ 40] mini-icons
└── [ 60] usr
└── [ 60] share
└── [ 160] applications
├── [ 313] bbwp-conf2.desktop
├── [ 327] bbwp-conf.desktop
├── [ 279] bbwp-def2.desktop
├── [ 294] bbwp-def.desktop
├── [ 284] bbwp-geani.desktop
└── [ 276] bwp.desktop

10 directories, 26 files

conf2.desktop opens the folders containing the templates, which should help with dragging and dropping onto the dual launchers in bwp, mcc, nwp-wp, etc. (those folders are also the default location ark and arc look to backup).




if you're using the text editor to brainstorm and the browser view to add formatting (font faces and line breaks), make sure to hit refresh on the right windows and in the right order or you may end up overwriting some of your changes with some of your other changes (a second browser's window (separate program--bwp doesn't use much resources) with unrefreshed stages could help. alternately, doing something like \n for <br> in the search and replace boxes (with Use regular expressions ticked) will swap out all your natural line breaks for ones that will show in your pdf and in the browser view that more or less is the one that counts (you could send the pdf, the text file, or the html (i.e that same text file but understood by the machines to be opened in a browser tab), but only two are really comfortably readable for most people). if you want the views between the programs to be more consistent, you could instead substitute the line breaks for line breaks plus the break tag: \n for \n<br>



if the new browser view is too wide, adjust the line width back to 60 or whatever suits your preferences and habits best (you can view it as a thin column in between stacks of post it notes and the pdf/browser/ultimate layout isn't affected).

careful with the browser refreshes and geany reloads and the order you do them; a careless browser refresh can wipe out a lot of work, though backup views in other tabs, windows, or browsers (or geany windows for that matter) may add additional safeguards.

as always, enjoy, have fun, report problems.

--pd

____

after further consideration, i think the br substitution deal discussed above is a bit dopey (though perhaps useful in other scenarios). since pasting your natural (typed rather than coded) tab spaces, non breaking spaces, and line breaks from from a plain text file works with those empty spaces preserved, there's really no reason to fiddle with the matter in geany view. said another way, for brainstorming, plain text files (leafpad or geany) pasted into a master document of sorts (one of your browser view versions or templates) may make more sense and save time in the long run (and also produce more readable rough/text editor mode drafts); the browser window can handle the formatting more intuitively, the text windows save quicker and have better text manipulation tools available, and if you've already got the nwp or mcc pet installed, there's now makepet backup capability coming from the mcc drag to make copies folder, which can now also dual launch your template files (and you can deposit a bunch of those templates there or anywhere else on your system with a right click if you're using rox).



the earlier post has some background and discusses the vtg, batch launches, and the first sets of improvements. from
PostPosted: Sat 28 Apr 2018, 04:47 Post subject: 19k mini word processor that uses the vtg as a start center
Subject description: and for backups; big improvement over earlier version (puup):

Puppus Dogfellow wrote:
bwp1.2.pet

earlier in the thread (http://murga-linux.com/puppy/viewtopic.php?p=860364#860364) i go on about geany as a word processor, or at least start to make an issue of it. here's a version that's actually good enough to use (though in the end, most of your editing may end up being done in your browser windows, and the organization through your browsers' bookmarks).

see
Styles,Scrap2/bwp help and info,
[...] an update to the bbwp/mcc-wp mini word processor, and another update of the mini word processor for more, but to possibly save you a click or two, or at least show you a somewhat practical use for the thing, here's most of the second half (the more vtg-heavy half) of that help file (same as spin update post above):

Puppus Dogfellow wrote:
bwp1.2.pet

more color, font, and special character options, more support (documentation) for the vtg (backups, launching variations of sets with multiple browsers, general review), and now you can launch the templates from the styles or box tabs. the Styles,Scrap2/bwp help and info in the vtg folder mentioned a post up attempts to explain the changes and how to further customize and use the bwp.

from Part Two of Styles,Scrap2/bwp help and info

Quote:

[...]__

added some special characters to the original styles sheet:

______________
this may be the legacy styles sheet, but it's as good a place as any to offer more special characters for your copy and pasting enjoyment or needs:

[...]
___
yet another source:
https://www.copypastecharacter.com/all-characters
(april update introduces colors and additional formatting options, as well as allowing for a reduced initial launch (bwp regulates some of it to the "box" files)).


and here's the newer pinstall.sh:

#!/bin/sh
#bwp, a version of bbwp, a fragment of anuupus...
#right click templates for spell check and no spell check were backwards last time.
#updated version gives support for more fonts, colors, and paragraph alignment (through styles,scrap2; see the other styles sheet for credits and links. in short, you edit in a browser tab and save through your browser's file (html) and print (pdf) menus. bookmark individual files or folders as tabs or groups thereof. use the vtg and geany as additional means of launching or backing up your work. copy in formatting from the styles tabs to the spellcheck/no spellcheck blanks. default is left aligned serif.

[...]


--

most of the changes come from the box files/tabs, which now allow you to launch the templates from startup links (not all the links carry over with the copy-paste; the text box and upload functions unsurprisingly don't work from this document:

[...]


use the styles templates to grab (select or copy) formatting (colors, font, paragraph, etc) to paste
(ctrl+v) or middle click into your working document. copy the u, i, and b from the underline, bold, and
italics bits to have them available from the clipboard (less moving about between tabs to format your
document--those shortcuts vary by clipboard, but the cut, copy, paste, redo and undo all work as expected).
download your working template/s as html, open and bookmark it/them, and use the print menu to save your work as pdf.

thanks to http://https://thiscouldbebetter.wordpress.com/2012/12/18/loading-editing-and-saving-a-text-file-in-html5-using-javascrip/
for this page's download box, and thanks to this pcworld article for the editable tab code (data:text/html, <html contenteditable>)
the whole thing depends upon. (paste it (without the parentheses) into the address bar of your browser for a wider page view.


______
some of my related projects and threads down at what i find to be a friendly and helpful forum, http://murga-linux.com/puppy/index.php:

[...]

____

that's pretty much it. vtg'ing the launches through a start center (browserofchoice /paths/to/files as sessions) may be easier and allow more control in the long run.

p. dogfellow, 4/19/18

***

Part 3:

_ to 1--cleanup.
1 to 1.1 cleanup.

bwp1.1.pet

19k

(think it's okay. only thing to add, which would be separate (so part three may as well've read epilogue), would be a vtg launch sheet of some kind (easier and faster to use and customize than a window manager menu or a browser interface)).


_____


sample vtg entries (alt+z or click the cauliflower)(not part of base bwp, but you can always dump the codes you hone into a terminal if you haven't installed the full nwp)

geany /path/to/file /path/toooo/file (etc)

leafpad /file/6| leafpad /file/7| leafpad /file/8| leafpad /file/9| leafpad /file/10

geany -i /path/to/file /path/toooo/file (etc)

defaultbrowser /root/my-applications/bbwp/html/bbwp-1-spchk /root/my-applications/bbwp/html

rox /your/stuff_that's_here/ /and/there /etc/stuff

(copy and paste as templates and substitute your files and their locations; rearrange combinations, swap in other browsers (most will take the above syntax it seems. leafpad has to be asked as above rather than the more convenient way rox and geany can carry it out (you can grab your files by selecting them physically then pasting their highlight into a text document--instant batch launch for most everything except leafpad)...

anyway, like i said, apart from the basically separate issue vtg stuff (if it were part of the pinstall i'd just've noted the dual use in the comments), bwp1.1 is done and contains its own help file (the bulk of its size and also the way it handles your formatting choices).

bbwpe gives a sample of all the bwp's files set up for easy copy, paste, or launching:


#!/bin/sh
geany -i /root/my-applications/bbwp/html/Styles,Scrap2.html /root/my-applications/bbwp//html/box1 /root/my-applications/bbwp/html/Untitled2 /root/my-applications/bbwp/html/Untitled1 /root/my-applications/bbwp/html/Styles /root/my-applications/bbwp/html/bbwp-1-spchk /root/my-applications/bbwp/html/bbwp-2-nospchk /root/my-applications/bbwp/html/box2.html /root/my-applications/bin/bwp

___

puppus dogfellow, 4/23/18

(gave a makeshift vtg launch sheet a shot)

----

4/27

upped 1.2. (insert tab support, more readable box content (box1 and 2 are both the same, and the old styles sheet grew from 17 to 82k, but the pet is still 19k). here's the description and the older folder's version of this file:

bwp to 1.1 cleaned mostly broken or misguided links. for the upcoming 1.2 box 1 and 2 are improved but identical (and so even more redundant (experiment with no fear!) given the copies that get made in usr/local and the nwp/wp (and the templates folder, now that i think of it--it's also just occurred to me i may not have mentioned the right click function version of the process in these pages--just right click it into existence, drag that file (or folder, if you chose the whole bwp-0 directory) to a browser, and you can run it from wherever you like, using the templates mostly for scrap (reload rather than save and you can start over til you get the hang of grabbing it the right way).

(i'm still kind of surprised it works this well).

vtg sheet will have backup functions via rsync -au and or cp -au (not that i know what the difference between au and a is--they both seem to work at least as well as cp -fRu, and update metadata better--not much experience or knowledge in this regard (and many others), but was using cp --fRu to update the nwp before i learned how to make pets. i think rsync is newer and cp is an ancient unix built-in that comes as a given with every kernel (which in my newbie state i take as the core of a current linux, with everything else on top being how developers make it usable for people who aren't developers) (and sometimes for those who are). you may not have rsync, but you probably do and it may be better. it's designed for networks, but
cp --help > /tmp/cph; geany /tmp/cph
rsync --help > /tmp/rsynch; geany /tmp/rsync
will give a sheet you can play around with as you learn more
(more vtg issue stuff, but you can always work out what you want from the help file and, once settled on the right code, dump it into the terminal for basically the same experience.)

...

so a little rambling to say i've updated the box scripts in the html folder (everything's got a newer date but i believe that's all i changed since the last upload).


___
bwp files, but google drive can't display the html the same way ibiblio (for example) does (or appears to to me).

might be easier to just install or extract the pet for a peek.

main change over bwp0 is the ability to call the templates from box tab itself.

more special characters and external links added (related projects).

___

p.dogfellow, 4/26

(original styles sheet updated to include variations on some of the formatting options in styles2 and some additional (mostly latin diacritic stuff) special characters) (also a really good link for that). it's in the online help folder as large,optional(82k), but it'll be the main version of the old styles/help/scrap sheet and the 17k version will be here for you to swap in if you like (backup code coming for the vtg will have something in it to automate this).

pd



pet is 19k under the same compression i used before.

(now up)



, which i'll now link back to here and try to remember is defunct.

***

________

vtg stuff:


1. basic backups

change the /file/wp bit at the end of each line to a place on your system you'd like for the backups. this will make the copies at usr/local/bwp the bwp folder, the html folder is your stuff launched from /root/my-applications/bbwp, and your bbwp folder from nwp comes over with that name. this backup is on the same partition as the other stuff (unless you've symlinked up your system otherwise), so a safer place may be another drive entirely (for which you could also do cp -a /file/wp /path/and/folder/you/pick (use the mkdir -p command if it doesn't already exist).

mkdir -p /file/wp/
cp -au /root/my-applications/bbwp/html /usr/local/bwp/ /nwp/wp/bbwp/ /file/wp/

make versions of line above to use your start center to also run backups. similar to the [program] --help >/tmp/progh; geany /tmp/progh type command discussed earlier for cp and rsync, you can use it for tar, which may be a better vtg way of doing backups than makepet, which will force you to use the message window to complete the action (better/quicker to use the right click drag2pet for that, but the bit below below starts the process. use ctrl+7 to toggle in and out of the message window (terminal tab if you're doing it through the menus) to name or otherwise label your pet (you can just hit enter for all the questions and each new archive will overwrite the last. otherwise name them through the popup and window to preserve earlier versions)).
makepet /root/my-applications/bbwp/html/
makepet /nwp/wp/bbwp/
makepet /usr/local/bwp/

right clicking to make a template in a given location will give you access to the drag-to version of makepet. it'll pop open the same little gui (in this capacity, it's something to help you label the pets(backups) of the directories in your archives).

substitute the copy (cp -a) command for a file manager (in puppy, typically rox), and you can open the folders you're copying and fine tune a launch protocol with that:

rox /root/my-applications/bbwp/html /usr/local/bwp/ /nwp/wp/bbwp/ /file/wp/

if you select some of the files from the folders that opened and then middle click into a text editor with a mouse, you get something like these results for the bwp folder in /usr/local:

/usr/local/bwp/bbwp-1-spchk /usr/local/bwp/bbwp-2-nospchk /usr/local/bwp/box1 /usr/local/bwp/box2.html /usr/local/bwp/Styles /usr/local/bwp/Styles,Scrap2.html /usr/local/bwp/Untitled1 /usr/local/bwp/Untitled2

just add a launcher (browser or text editor) and a space before the list. add other files' whole paths to the list (separating each you add by a space--there's no limit, but you may want to divide your files and folders into more manageable (and possibly redundant (for convenience's sake, of course) chunks), and you've got a start center line. place the cursor, click the cauliflower, and your choices will launch. launch with more than one browser to keep versions of a live document available as you work on it. set up how you'll ultimately like your sessions ("bookmark all tabs" in most browsers) to be saved--it's much quicker than doing it one by one through the file-open dialog.

(snuck in 2 and 3, basic start center and vtg as an organizational tool)

-------

NB: backup your stuff before installing any updates. most of this assumes a bbwp in the nwp folder (ignore this for non nwp installations, and ignore the vtg stuff for not vtg installations (though the former becomes a lesson on how to modify the box templates for your own stuff and the the latter is still relevant as "dump your stuff into the terminal instead of striking the cauliflower." (vtg=one line of code, click the cauliflower icon or alt+z; more than one line of code, highlight it then do the same. dumping into a terminal requires highlighting it in its entirety (regardless of how many lines it is) and then middle clicking it into a terminal (and sometimes hitting enter if it didn't automatically run/grab the last "carriage" return)).

highlight groups of files, paste them, arrange them, give them a launch command. that's the vtg start center for bwp, the browser word processor.


p. dogfellow 4/27/18

(this page has now become help, info, and development log).


….

more help and templates:

the difference between

geany -i /root/my-applications/bbwp/html/Styles,Scrap2.html /root/my-applications/bbwp//html/box1 /root/my-applications/bbwp/html/Untitled2 /root/my-applications/bbwp/html/Untitled1 /root/my-applications/bbwp/html/Styles /root/my-applications/bbwp/html/bbwp-1-spchk
/root/my-applications/bbwp/html/bbwp-2-nospchk /root/my-applications/bbwp/html/box2.html /root/my-applications/bin/bwp

and

geany /root/my-applications/bbwp/html/Styles,Scrap2.html /root/my-applications/bbwp//html/box1 /root/my-applications/bbwp/html/Untitled2 /root/my-applications/bbwp/html/Untitled1 /root/my-applications/bbwp/html/Styles /root/my-applications/bbwp/html/bbwp-1-spchk
/root/my-applications/bbwp/html/bbwp-2-nospchk /root/my-applications/bbwp/html/box2.html /root/my-applications/bin/bwp

is that the -i conveys you wish the files opened in a new instance of geany. for most things, the launch code is as i described, but as you'll see if you do the [program] --help >/tmp/progh; geany /tmp/progh bit for things like firefox and palemoon, there are usually many more options available. to use the vtg start sheet/center for libreoffice, use libreoffice6.0 --writer /paths/2 /your/files /yadda /shae or something similar.


this one's messed up because it's been installed on top of itself too many times--copy from your own actual file locations if you've got the nwp version of the bwp bbwp going.

firefox /nwp/wp/bbwp/html/html/bbwp-1-spchk /nwp/wp/bbwp/html/html/bbwp-2-nospchk /nwp/wp/bbwp/html/html/box1 /nwp/wp/bbwp/html/html/Styles /nwp/wp/bbwp/html/html/Styles,Scrap2.html /nwp/wp/bbwp/html/html/Styles,Scrap(2).html /nwp/wp/bbwp/html/html/Untitled1 /nwp/wp/bbwp/html/html/Untitled2

(the launch from nwp section of your box file may not work correctly even if you have the nwp installed because of this. on the bright side, it means if you're using the thing but keeping the default names for the blanks, or saving your work in the formatting styles sheets, it's less likely the last upgrade just overwrote your work).
(backup your stuff or rename the originals/these are the bits that will be a how to on customizing the box and styles tabs (basically look for the address bits, change those and the associated titles; look for the color bits, use gcolor2 (in most pups) or the geany color chooser to customize yours (queens and keyboards and six digit codes in the styles2 sheet); most things can be pasted in directly; fonts are tricky because just because your machine has it, doesn't mean your audience does on theirs. sizes are sizes, but serif supercalifragilistic may get rendered as plain serif in the end.))

never given a desktop file (the menu entry calls from /root/my apps/bin but is essentially):

defaultbrowser /usr/local/bwp/bbwp-1-spchk /usr/local/bwp/bbwp-2-nospchk /usr/local/bwp/box1 /usr/local/bwp/box2.html /usr/local/bwp/Styles /usr/local/bwp/Styles,Scrap2.html /usr/local/bwp/Untitled1 /usr/local/bwp/Untitled2

use the geany versions (the geany -i code is bbwpe in the terminal and on the menu) to change the tab titles or otherwise overhaul the files, templates, or boxes (there are a few things can't be edited through the editable window itself. alt+1 or n in the launcher in nwp installs gives you paste and place or highlight and select html codes you may find useful).

copy your own files or base your projects on these templates. check the desktop files in /usr/share/applications for an installed applications launch command if it's not the name itself (rare but happens).


______

(you could also launch music or hissing with the vtg if you like:

vlc /path/2/some_song (or playlist)
zensound; xdotool key f10 down down enter
(think the last bit is really F10 Down Down Return))
.

general tip: put quotation marks around paths that have spaces in them (prog "/path/2/spaced name").
***


here's an example of the color mod lines to look for (you're just replacing the D41B75 part with a six digit code you grabbed from one of the color wheels mentioned or some other of your choosing):

<p style="margin-bottom: 0in; line-height: 100%" align="justify"><font color="#D41B75">⌨</font></p>

you can also try swapping in fonts by duplicating any lines that name one and just changing that bit to something you know is an official font name (use gfontsel to pick some (the more common, the more likely your viewer will see what you think you're putting before them).

here's an example of the address/link lines in the file you can customize:

<a href="file:///nwp/wp/bbwp/html/bbwp-1-spchk" target="_blank">spchk</a><p>

use http:// instead of file:/// for web addresses. (this is also on the n and alt+1 menus as paste and place nwp commands (versions of link and table of contents entries)).





n menu refers to the shift plus spacebar popup menus (enter "n" in the p(wn) launcher). most of those formatting items have individual launch codes (check the lists above) assigned (which is generally a much faster way of getting them or doing most things).


short version: paste in formatting from the styles tabs and be sure to download your work to save it if using browser mode. edit the titles, customize the colors, and brainstorm in geany; fine tune stuff, type a tab space without jumping through a hoop (next version)--the main disadvantage of browser view mode is a slower save process.

it's light and quick and can be pared down further. middle click paste highlighted groups of files into a geany document to set up batch launches. launch from multiple sources to have many versions of a draft going at the same time. bookmark tabs as sessions. have fun.

--p. dogfellow


the "specil" popup for the special character cutting and pasting is rendered less useful with the new version, but you can use it to paste notes or formatting code for the geany view of the html side of things.

newest version is 23k (but doesn't include the mcc (make concurrent copies) or xmod (keyboard configuration presets) folders. it will however put the drag2makepet backup utility and a couple of versions of the dual launcher scripts in that folder if you've got it, and it'll put the two dual launch scripts in the bbwp folder in /root/my-applications/bin (you can use this as a stand alone word processor without the nwp, but as discussed above, the text paste and place and other utilities may come in useful). right click templates get updated, and you can now launch your files from the box an styles tabs (customize those files in a text editor)).

-p.dogfellow

here's the pet again:

bwp1.3.pet

(and my apologies if arranging those last two quoted posts as strata confuses the issue.)
Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1564
Location: nyc

PostPosted: Thu 03 May 2018, 23:46    Post subject: make sure to reload the browser view if you've changed the
Subject description: file in text mode...working in the comments to preserve a natural typing environment
 

(maybe working in plain text files in those folders (so you can take advantage of the default arc and ark backup shorts--it doesn't really matter where you put them if you alter those accordingly or take care of backups some other way) is a better way of going about your project, but here's a suggestion and a caution for it):

from Post subject: some more on text editor mode versus browser mode, comments,
Subject description: saves, reloads, refreshes, updating, and drag2makepet
(http://murga-linux.com/puppy/viewtopic.php?p=990683#990683)

Puppus Dogfellow wrote:
from

http://murga-linux.com/puppy/viewtopic.php?p=990673#990673
( a bit more on the bwp)

Puppus Dogfellow wrote:
Quote:

[…]if you don't have the nwp and the launch code cheat sheet it provides, and you want the benefits of the text editor's quick saves and text manipulation tools, you could always make a cheat sheet directly on the page and sandwich it with
Code:


<!--  -->   



(put all the tags and crib notes between arrows like that (cmt in the launcher) and you'll have something that only shows up in text editor view--neither the browser tab nor the print preview/output/pdf file show that as part of your content).




Quote:

careful with the browser refreshes and geany reloads and the order you do them; a careless browser refresh can wipe out a lot of work, though backup views in other tabs, windows, or browsers (or geany windows for that matter) may add additional safeguards.


if you've decided to work in the html document in geany mode rather than in browser view for the quick saves because you've discovered that putting your text between the arrows (
Code:
<!-- (i.e. here and this can go on indefinitely and be repeated (i.e. additional sets of arrows placed elsewhere in the document) as often as you like) -->
) is a good way to have an invisible draft going while preserving your spaces and tabs and visual poetry for some later paste in, make sure to refresh the browser version before the paste in that turns the comments contents into the working/formattable/browser/pdf draft or the download will overwrite the (now presumably backup) comments and all the other changes made since the browser view was loaded or last refreshed (despite the saves you may have made in geany or leafpad in the interim--sometimes it's easy to lose track of the sometimes invisible content).

...

pasting in page breaks from either line below in html view is perhaps easier than grabbing the page break line in the styles2 sheet, so future word processing templates will likely include
Code:

 <!--
<par style="font-size: 11pt; color:white; page-break-after: always"></par>
<par style="font-size: 11pt; color:white; page-break-before: always"></par>

-->


and something similar to this post as commented out comments on comments, saves, refreshes and reloads in the bwp.


install bwp 1.3 after whichever other versions of the mcc utility you choose and back up your bbwp folder if you've been saving your work in the default templates without renaming them (anything else in the folders is safe).

you could install the backup drag2 pets you make as pets, but i personally think of them as insta-archives and just extract them when i need what's in them (has actually saved some work for me that would've been otherwise lost, which is why i decided to offer it this way--since you're not making a duplicate file system inside the pet/directory you're compressing (a pet is basically a .gz compressed archive), it'll install as top level directories, which may not be what you want (though it makes locating the stuff generally easier, especially if you're in another pup running on the computer, and you need to go into old installations to check for some of your old files, or want to migrate your work over).

main changes over older version is better view in browser mode, an ability to launch your files from the box tabs, and the expanded styles sheets mentioned earlier.


(new set of launch codes for the p(wn), but that wasn't relevant in that thread. "paw" or "pbw" in the launcher will give you the page break codes that will be part of the next set of templates).
Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1564
Location: nyc

PostPosted: Fri 04 May 2018, 20:36    Post subject: an upgrade to some of the bwp/bbwp's original templates
Subject description: and a mini version of the bwp
 

from http://murga-linux.com/puppy/viewtopic.php?p=990762#990762,
new templates to replace bwp/bbwp's Untitled1 and Untitled2
easier text alignment, more streamlined interface--both are now spell check enabled:

Puppus Dogfellow wrote:
dump this into a terminal to upgrade those original Untitled templates from the bwp/bbwp:

Code:
echo $'
<!--
   nwp01.html
   mini-bwp/Untitled2
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 
<head>
<title>j,c,l,r--sp</title>
<meta http-equiv="content-type" content="text/;charset=utf-8" />
<meta name="generator" content="Geany 1.25" />
</head>
<title>top one is tab tag</title>
<body style="font-size:2rem;font-family:serif;line-height:1.5;max-width:90rem;margin:0 auto;padding:2rem;" spellcheck="true" contenteditable="">
<p style="margin-bottom: 0in; line-height: 100%" align="justify"><font face="Liberation Serif, serif">regular text<br><br>
<i>italics</i><br>
<b>bold</b><br>   
<u>underline</u><br>
<br>   
</font></p>
<p style="margin-bottom: 0in; line-height: 100%" align="justify">justified area<br><br></p>
<p style="margin-bottom: 0in; line-height: 100%" align="center">centered<br><br></p>
<p style="margin-bottom: 0in; line-height: 100%" align="left">left aligned<br><br></p>
<p style="margin-bottom: 0in; line-height: 100%" align="right">right aligned<br><br></p>
<p style="margin-bottom: 0in; line-height: 100%" align="justify"><br><br>document as a whole is justified--delete the areas you don\'t need, copy and paste those you do where you need them. to use this document as a word processor (mini-bwp), open and bookmark it in a browser, download a copy to reopen as your working document, keeping the original to grab formatting from and mess around in. download/save as pdf (print menu) or html (file menu--html will let you use the browser (or a text editor--faster saves and you can change the names in the tabs, but it \'s less intuitive overall) for further edits). <br><br>
p. dogfellow, 5/4/18<br>
<br>
<br>
</p>
</body>
</>
' > /root/my-applications/bbwp/html/Untitled2
echo $'
<!--
   nwp01.html
   mini-bwp/Untitled1
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 
<head>
<title>j,c,l,r--sp</title>
<meta http-equiv="content-type" content="text/;charset=utf-8" />
<meta name="generator" content="Geany 1.25" />
</head>
<title>top one is tab tag</title>
<body style="font-size:2rem;font-family:serif;line-height:1.5;max-width:90rem;margin:0 auto;padding:2rem;" spellcheck="true" contenteditable="">
<p style="margin-bottom: 0in; line-height: 100%" align="justify"><font face="Liberation Serif, serif">regular text<br><br>
<i>italics</i><br>
<b>bold</b><br>   
<u>underline</u><br>
<br>   
</font></p>
<p style="margin-bottom: 0in; line-height: 100%" align="justify">justified area<br><br></p>
<p style="margin-bottom: 0in; line-height: 100%" align="center">centered<br><br></p>
<p style="margin-bottom: 0in; line-height: 100%" align="left">left aligned<br><br></p>
<p style="margin-bottom: 0in; line-height: 100%" align="right">right aligned<br><br></p>
<p style="margin-bottom: 0in; line-height: 100%" align="justify"><br><br>document as a whole is justified--delete the areas you don\'t need, copy and paste those you do where you need them. to use this document as a word processor (mini-bwp), open and bookmark it in a browser, download a copy to reopen as your working document, keeping the original to grab formatting from and mess around in. download/save as pdf (print menu) or html (file menu--html will let you use the browser (or a text editor--faster saves and you can change the names in the tabs, but it \'s less intuitive overall) for further edits). <br><br>
<br>(Untitled 1 and 2 from the bwp have been upgraded and/or spun off from the bwp as the bwp2 and/or the mini-bwp/bwp-mini. as with the original (and bbwp before it), paste in formatting, links and other content. download to save. ctrl a,c,v,y,z and a few other keyboard shortcuts work in most browsers. link below can be deleted like any other text; use text editor view to paste in links to your files (tables of contents, etc)).<br><br>
p. dogfellow, 5/4/18<br>
<br>
<br>
<br>for more, see bbwp updated as bwp:<br>
<a href="http:///murga-linux.com/puppy/viewtopic.php?p=990597#990597" target="_blank">http://http://murga-linux.com/puppy/viewtopic.php?p=990597#990597</a><br>
</p>
</body>
</>
' > /root/my-applications/bbwp/html/Untitled1
cp -f /root/my-applications/bbwp/html/Untitled1 /root/.config/rox.sourceforge.net/Templates/Untitled1
cp -f /root/my-applications/bbwp/html/Untitled2 /root/.config/rox.sourceforge.net/Templates/Untitled2
cp -f /root/my-applications/bbwp/html/Untitled1 /root/.config/rox.sourceforge.net/Templates/bwp-0/Untitled1
cp -f /root/my-applications/bbwp/html/Untitled2 /root/.config/rox.sourceforge.net/Templates/bwp-0/Untitled2
cp -f /root/my-applications/bbwp/html/Untitled1  /nwp/wp/bbwp/html/Untitled1
cp -f /root/my-applications/bbwp/html/Untitled2  /nwp/wp/bbwp/html/Untitled2
#cp -fRu /root/my-applications/bbwp/html /root/.config/rox.sourceforge.net/Templates/bwp-0
cp -fRu /root/my-applications/bbwp/html/Untitled1 /usr/local/bwp/Untitled1
cp -fRu /root/my-applications/bbwp/html/Untitled2 /usr/local/bwp/Untitled2


if you want an even smaller version of the bwp, here's the mini-bwp:
Code:

#!/bin/sh
#puppus dogfellow, 5/4/18
mkdir -p /root/my-applications/bwp2/
echo $'
<!--
   nwp01-bwp2.html
   mini-bwp/Untitled1
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 
<head>
<title>j,c,l,r--sp</title>
<meta http-equiv="content-type" content="text/;charset=utf-8" />
<meta name="generator" content="Geany 1.25" />
</head>

<title>top one is tab tag</title>
<body style="font-size:2rem;font-family:serif;line-height:1.5;max-width:90rem;margin:0 auto;padding:2rem;" spellcheck="true" contenteditable="">

<p style="margin-bottom: 0in; line-height: 100%" align="justify"><font face="Liberation Serif, serif">regular text<br><br>
<i>italics</i><br>
<b>bold</b><br>   
<u>underline</u><br>
<br>   
</font></p>
<p style="margin-bottom: 0in; line-height: 100%" align="justify">justified area<br><br></p>
<p style="margin-bottom: 0in; line-height: 100%" align="center">centered<br><br></p>
<p style="margin-bottom: 0in; line-height: 100%" align="left">left aligned<br><br></p>
<p style="margin-bottom: 0in; line-height: 100%" align="right">right aligned<br><br></p>
<p style="margin-bottom: 0in; line-height: 100%" align="justify"><br><br>document as a whole is justified--delete the areas you don\'t need, copy and paste those you do where you need them. to use this document as a word processor (mini-bwp), open and bookmark it in a browser, download a copy to reopen as your working document, keeping the original to grab formatting from and mess around in. download/save as pdf (print menu) or html (file menu--html will let you use the browser (or a text editor--faster saves and you can change the names in the tabs, but it \'s less intuitive overall) for further edits). <br><br>
<br>(Untitled 1 from the bwp has been upgraded and/or spun off from the bwp as the bwp2 and/or the mini-bwp/bwp-mini. as with the original (and bbwp before it), edit in browser window, paste in formatting, links and other content. download to save. ctrl a,c,v,y,z and a few other keyboard shortcuts work in most browsers. link below can be deleted like any other text. use text editor view to paste in links to your files (for tables of contents, etc)).<br><br>
p. dogfellow, 5/4/18<br>
<br>
<br>
<br>for more, see bbwp updated as bwp:<br>
<a href="http:///murga-linux.com/puppy/viewtopic.php?p=990597#990597" target="_blank">http://http://murga-linux.com/puppy/viewtopic.php?p=990597#990597</a><br>
</p>
</body>
</>
' > /root/my-applications/bwp2/Untitled1
echo $'[Desktop Entry]
Encoding=UTF-8
Name=bwp2
Icon=/root/puppy-reference/mini-icons/mini-doc.xpm
Comment=browser based word processor
Exec=defaultbrowser /root/my-applications/bwp2/Untitled1
Terminal=false
Type=Application
GenericName=bwp2
Version=1.0
Categories=WordProcessor
' > /usr/share/applications/mini-bwp\(bwp2\)
fixmenus
jwm -reload

3k (uncompressed)

you can dump it into a terminal or save it as a script as a way to preserve the template you should duplicate and use as a blank (delete everything but your main choice of paragraph alignment, copy changes in formatting over from the original template).

doesn't overwrite anything, just becomes a file in bwp2 in /root/my-applications that gets launched by the default browser.


change the defaultbrowser bit in the desktop file above (second code chunk) if you have a different choice in mind and/or add additional bwp files and their paths to that same Exec line to batch launch when you start the bwp(mini).

in short, this upgrade makes things easier, so dump the green stuff into a terminal, and if you want to just try a mini version, run the second green chunk and/or save it to reset the the original template (freeing you from having to make a second copy to open as suggested above).
Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1564
Location: nyc

PostPosted: Fri 11 May 2018, 19:58    Post subject: another micro-bwp terminal dump update.
Subject description: generate template sets with "bwpt" in a terminal
 

(if you see two of these floating around, use the one that has a lot of .html extensions for the files it makes--ran into some problems leaving them off an earlier version).
from http://murga-linux.com/puppy/viewtopic.php?p=991579#991579,
Post subject: wasn't previously a problem, but now unlabled html files are
Subject description: being seen (at least some of the time) as plain text files...

Puppus Dogfellow wrote:
script and vtg sheet above apparently need the files made marked as html for some of the browsers at least some of the time, so i'll reup the two files from above with the fixes. to do it manually (if you've noticed the content is suddenly not editable), it's a bunch of swap and replaces...end lines (\n) for .html\n
...and [fontname][space]...---be back in a bit. sorry for the inconvenience.

---
here's the first bit:
Code:


#!/bin/sh
#makes bwpt (template /word processor maker)

echo $"

#!/bin/sh
#bwper
mkdir -p ./bwp1
#mkdir -p ./tasks
echo $'
<!--
   thiswordprocessor.html
  (/micro anuupuus/mini-bwp/Untitled0)
 file as word processor template maker
-->
<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\"
    \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">
<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\">
 
<head>
<title>bwp2</title>
<meta http-equiv=\"content-type\" content=\"text/;charset=utf-8\" />
<meta name=\"generator\" content=\"Geany 1.25\" />
</head>

<title>top one is tab tag</title>

<body style=\"font-size:2rem;font-family:serif;line-height:1.5;max-width:90rem;margin:0 auto;padding:2rem;\" spellcheck=\"true\" contenteditable=\"\">


<p style=\"margin-bottom: 0in; line-height: 150%\" align=\"justify\"><font face=\"serif\">regular text<br><br>
<i>italics</i><br>
<b>bold</b><br>   
<u>underline</u><br>
<br>   
</font></p>

<p style=\"margin-bottom: 0in; line-height: 150%\" align=\"justify\">justified area<br><br></p>
<p style=\"margin-bottom: 0in; line-height: 150%\" align=\"center\">centered<br><br></p>
<p style=\"margin-bottom: 0in; line-height: 150%\" align=\"left\">left aligned<br><br></p>

<p style=\"margin-bottom: 0in; line-height: 150%\" align=\"right\">right aligned<br><br></p>
<p style=\"margin-bottom: 0in; line-height: 150%\" align=\"justify\"><br><br>document as a whole is justified--delete the areas you don\'t need, copy and paste those you do where you need them. to use this document as a word processor (mini-bwp), open and bookmark it in a browser, download a copy to reopen as your working document, keeping the original to grab formatting from and mess around in. download/save as pdf (print menu) or html (file menu--html will let you use the browser (or a text editor--faster saves and you can change the names in the tabs, but it \'s less intuitive overall) for further edits). <br><br>
<br>(Untitled 1 and 2 from the bwp have been upgraded and/or spun off from the bwp as the bwp2 and/or the mini-bwp/bwp-mini. as with the original (and bbwp before it), paste in formatting, links and other content. download to save. ctrl a,c,v,x,y,z and a few other keyboard shortcuts work in most browsers. link below can be deleted like any other text; use text editor view to paste in links to your files (tables of contents, etc)).<br><br>
p. dogfellow, 5/4/18<br>
<br>
<br>
<br>for more, see bbwp updated as bwp:<br>
<a href=\"http:///murga-linux.com/puppy/viewtopic.php?p=990597#990597\" target=\"_blank\">http://http://murga-linux.com/puppy/viewtopic.php?p=990597#990597</a><br>
<!--use file:/// for your files (for tables of contents, long term convenience, etc) and http:// for websites  (second occurence of path above is text that shows--could be anything, but use &gt: &lt; to >< in plain text mode outside the comments (you can paste them into the browser view as you\'d expect with a regular word processor, but it won\'t work in straight up html mode.)-->

<br>insert<p style=\"margin-bottom: 0in; line-height: 150%\" align=\"left\"><font color=\"#159A5E\">&lt;par style=\"font-size: 8pt; color:white; page-break-after: always\"&gt;&lt;/par&gt;</font> <br><br>
in text editor view wherever you want to force a page break.
<br><br>
</p>
<br>
<h1>heading 1</h1>
<h2>heading 2</h2>
<h3>heading 3</h3>
<h4>heading 4</h4>
<h5>heading 5</h5>

<p style=\"margin-bottom: 0in; line-height: 150%\" align=\"justify\"><br><br>
<br>
<!--this is a comment. anything between arrows like these is hidden in browser and pdf download/print preview mode. -->
<!--

this is another comment. you can have as many as you like and they can go on indefinitely.
(you can type here and paste into browser view for the faster saves and more natural typing environment, but remember to keep track of your reloads and refreshes as well as your saves so you don\'t end up undoing what you\'ve done)
-->

<!--  get rid of the html in the title if the text editor has color coding for code and you find it annoying


Puppus Dogfellow, 5/5/18.
-->
<!--teach yourself html and more:
 https://www.w3schools.com/html/html_paragraphs.asp

alter this document as a new base template and/or make copies for backup. search and swap/find and replace 150 for 200 or 100 to change spacing from 1.5 to 2 or 1. do the same with serif to change font (mono and sans are two that work in testing).
  -->

</p>
<p style=\"margin-bottom: 0in; line-height: 150%\" align=\"justify\">to stick to working with (mostly) regular text files, paste your text into the word processor file for print preview, setting the formatting, and downloading either the html or pdf version of that stage. browser window text is scalable, but for reference, here\'s some nonscalable text: <br>
</p><br>
<br>
 <p style=\"font-size: 12pt; color:black; font-weight:normal; font-family: serif\">your serif 12 text here</p><br>
 <p style=\"font-size: 12pt; color:#5126D2; font-weight:normal; font-family: mono\">your mono 12 text here</p><br>
 <p style=\"font-size: 12pt; color:black; font-weight:normal; font-family: sans\">your sans 12 text here</p><br>



&lt;!-- <br><br>

see the commented out bits (they\'ll be between arrows like these) in text editor mode for more tips (they\'re not visible in browser mode. change the name that appears in the tab and the internal document name while you\'re there).
<br>

to focus more on browser use than text editor mode, make a copy of the appropriate template and rename it as your working document. open both with a browser and bookmark. reload the template if you\'ve made a mess of the formatting or preferred the way it was before you started to get the hang of things.
<br>--&gt;
<span style=\"font-size: 12pt; color:black; font-weight:normal; font-family: serif\">
12 point serif

</span>
<span style=\"font-size: 12pt; color:black; font-weight:regular condensed; font-family: sans\">

12point sans

</span>
<span style=\"font-size: 12pt; color:black; font-weight:regular condensed; font-family: mono\">

12 pt mono (no illustration of custom color code this time--use gcolor2 or your text editor\'s color picker to customize via the six digit code that follows the <i>color:</i> bit(s) you find in the html version(s)).

<br>

<br>
<br>
your <a href=\"file:///root/my-applications/mc/bwp1/\" target=\"_blank\">templates are here</a> and  <a href=\"file:///root/.config/rox.sourceforge.net/Templates/bwp1/\" target=\"_blank\">here if you\'ve </a>installed (a/some version/s of) thiswordprocessor.html through mccwp-bwp (or its terminal dump-in post/s).
<br>


</body>

</html>
' > ./bwp1/ser.html
#prep ser as as mon and san:
cp -f ./bwp1/ser ./bwp1/mon.html
cp -f ./bwp1/ser ./bwp1/san.html
sed -i 's/serif/sans/1' ./bwp1/san.html
sed -i 's/serif/sans/1' ./bwp1/san.html
sed -i 's/serif/mono/1' ./bwp1/mon.html
sed -i 's/serif/mono/1' ./bwp1/mon.html
#make three copies (x3) of base template: working, line spacing at 1 and 2:
cp -f ./bwp1/ser.html ./bwp1/ser1.5.html
cp -f ./bwp1/ser.html ./bwp1/ser1.html
cp -f ./bwp1/ser.html ./bwp1/ser2.html
cp -f ./bwp1/mon.html ./bwp1/mon1.5.html
cp -f ./bwp1/mon.html ./bwp1/mon1.html
cp -f ./bwp1/mon.html ./bwp1/mon2.html
cp -f ./bwp1/san.html ./bwp1/san1.5.html
cp -f ./bwp1/san.html ./bwp1/san1.html
cp -f ./bwp1/san.html ./bwp1/san2.html
#have the line spacing of ser1 and ser2 (etc) reflect their names:
sed -i '/150/ s//100/g' ./bwp1/ser1.html
sed -i '/150/ s//200/g' ./bwp1/ser2.html
sed -i '/150/ s//100/g' ./bwp1/mon1.html
sed -i '/150/ s//200/g' ./bwp1/mon2.html
sed -i '/150/ s//100/g' ./bwp1/san1.html
sed -i '/150/ s//200/g' ./bwp1/san2.html

#swap out the title tags:
sed -i '/bwp2/ s//m00/1' ./bwp1/mon1.5.html
sed -i '/bwp2/ s//m0/1' ./bwp1/mon.html
sed -i '/bwp2/ s//mSing/1' ./bwp1/mon1.html
sed -i '/bwp2/ s//mDub/1' ./bwp1/mon2.html
sed -i '/bwp2/ s//Untitled00/1' ./bwp1/ser1.5.html
sed -i '/bwp2/ s//Untitled0/1' ./bwp1/ser.html
sed -i '/bwp2/ s//Sing/1' ./bwp1/ser1.html
sed -i '/bwp2/ s//Dub/1' ./bwp1/ser2.html
sed -i '/bwp2/ s//s00/1' ./bwp1/san1.5.html
sed -i '/bwp2/ s//s0/1' ./bwp1/san.html
sed -i '/bwp2/ s//sSing/1' ./bwp1/san1.html
sed -i '/bwp2/ s//sDub/1' ./bwp1/san2.html

#swap out the internal name
#adjust for file and name (and remove the #):
#sed -i '/top one is tab tag/ s//newinternal/1' ./bwp1/san.html
#sed -i '/top one is tab tag/ s//newinternal/1' ./bwp1/san1.5.html
#sed -i '/top one is tab tag/ s//newinternal/1' ./bwp1/san1.html
#sed -i '/top one is tab tag/ s//newinternal/1' ./bwp1/san2   .html

#dual launchers (copy and adjust):
echo $'#!/bin/sh
exec defaulttexteditor \"\$@\"| exec defaultbrowser \"\$@\"
' > ./bwp1/def
chmod 755 ./bwp1/def
echo $'#!/bin/sh
exec geany -i \"\$@\"| exec palemoon \"\$@\"
' > ./bwp1/gip
chmod 755 ./bwp1/gip
" >  /root/my-applications/bin/bwpt
chmod 755 /root/my-applications/bin/bwpt
#create base template directory in ...mc and ...Templates, add a single template
#to the right click to go with the whole set option...adjust to suit your needs
#right click available, and terminal command to make full set
#in a given dir. is now "bwpt"
#script's an update/plugin for the mini word processor in the mcc utillity (as opposed to
#the one in nwp or the one in usr/local/bwp or the one in root/my-apps/bbwp), but with the
#directory that houses the drag2 scripts to make copies on your machine, you can use this
#as a stand alone:
mkdir -p /root/my-applications/mc
cd /root/my-applications/mc
bwpt
cd /root/.config/rox.sourceforge.net/Templates/
bwpt
cp -f /root/.config/rox.sourceforge.net/Templates/bwp1/ser1.5 /root/.config/rox.sourceforge.net/Templates/1.5ser.html



and here's the second bit:

Quote:




echo $'


right click or ctrl+shift+o in geany to use this document as a set of links/table of contents.

/root/my-applications/mc/bwp1/def.html
/root/my-applications/mc/bwp1/gip.html
/root/my-applications/mc/bwp1/mon.html
/root/my-applications/mc/bwp1/mon1.html
/root/my-applications/mc/bwp1/mon1.5.html
/root/my-applications/mc/bwp1/mon2.html
/root/my-applications/mc/bwp1/san.html
/root/my-applications/mc/bwp1/san1.html
/root/my-applications/mc/bwp1/san1.5.html
/root/my-applications/mc/bwp1/san2.html
/root/my-applications/mc/bwp1/ser.html
/root/my-applications/mc/bwp1/ser1.html
/root/my-applications/mc/bwp1/ser1.5.html
/root/my-applications/mc/bwp1/ser2.html

if you\'ve got the nwp or vtg installed, click the cauliflower or alt+z (or v in launcher) with cursor
on a line below will launch that command

open all in geany:
geany /root/my-applications/mc/bwp1/def /root/my-applications/mc/bwp1/gip /root/my-applications/mc/bwp1/mon.html /root/my-applications/mc/bwp1/mon1.html /root/my-applications/mc/bwp1/mon1.5.html /root/my-applications/mc/bwp1/mon2.html /root/my-applications/mc/bwp1/san.html /root/my-applications/mc/bwp1/san1.html /root/my-applications/mc/bwp1/san1.5.html /root/my-applications/mc/bwp1/san2.html /root/my-applications/mc/bwp1/ser.html /root/my-applications/mc/bwp1/ser1.html /root/my-applications/mc/bwp1/ser1.5.html /root/my-applications/mc/bwp1/ser2.html


open all in a new instance of geany:
geany -i /root/my-applications/mc/bwp1/def /root/my-applications/mc/bwp1/gip /root/my-applications/mc/bwp1/mon.html /root/my-applications/mc/bwp1/mon1.html /root/my-applications/mc/bwp1/mon1.5.html /root/my-applications/mc/bwp1/mon2.html /root/my-applications/mc/bwp1/san.html /root/my-applications/mc/bwp1/san1.html /root/my-applications/mc/bwp1/san1.5.html /root/my-applications/mc/bwp1/san2.html /root/my-applications/mc/bwp1/ser.html /root/my-applications/mc/bwp1/ser1.html /root/my-applications/mc/bwp1/ser1.5.html /root/my-applications/mc/bwp1/ser2.html

open all in default browser:

open the rox folder:
rox /root/my-applications/mc/bwp1/def /root/my-applications/mc/bwp1/gip /root/my-applications/mc/bwp1/mon.html /root/my-applications/mc/bwp1/mon1.html /root/my-applications/mc/bwp1/mon1.5.html /root/my-applications/mc/bwp1/mon2.html /root/my-applications/mc/bwp1/san.html /root/my-applications/mc/bwp1/san1.html /root/my-applications/mc/bwp1/san1.5.html /root/my-applications/mc/bwp1/san2.html /root/my-applications/mc/bwp1/ser.html /root/my-applications/mc/bwp1/ser1.html /root/my-applications/mc/bwp1/ser1.5.html /root/my-applications/mc/bwp1/ser2.html

open a given file from /root/my-applications/mc/bwp1/ in leafpad:

leafpad /root/my-applications/mc/bwp1/def
leafpad /root/my-applications/mc/bwp1/gip
leafpad /root/my-applications/mc/bwp1/mon.html
leafpad /root/my-applications/mc/bwp1/mon1.html
leafpad /root/my-applications/mc/bwp1/mon1.5.html
leafpad /root/my-applications/mc/bwp1/mon2.html
leafpad /root/my-applications/mc/bwp1/san.html
leafpad /root/my-applications/mc/bwp1/san1.html
leafpad /root/my-applications/mc/bwp1/san1.5.html
leafpad /root/my-applications/mc/bwp1/san2.html
leafpad /root/my-applications/mc/bwp1/ser.html
leafpad /root/my-applications/mc/bwp1/ser1.html
leafpad /root/my-applications/mc/bwp1/ser1.5.html
leafpad /root/my-applications/mc/bwp1/ser2.html

open all in palemoon:
palemoon /root/my-applications/mc/bwp1/def /root/my-applications/mc/bwp1/gip /root/my-applications/mc/bwp1/mon.html /root/my-applications/mc/bwp1/mon1.html /root/my-applications/mc/bwp1/mon1.5.html /root/my-applications/mc/bwp1/mon2.html /root/my-applications/mc/bwp1/san.html /root/my-applications/mc/bwp1/san1.html /root/my-applications/mc/bwp1/san1.5.html /root/my-applications/mc/bwp1/san2.html /root/my-applications/mc/bwp1/ser.html /root/my-applications/mc/bwp1/ser1.html /root/my-applications/mc/bwp1/ser1.5.html /root/my-applications/mc/bwp1/ser2.html
___
to get a table of contents/clickable index of these files for a browser launch, use their base directory:

defaultbrowser /root/my-applications/mc/bwp1/
palemoon /root/my-applications/mc/bwp1/
defaultbrowser /root/.config/rox.sourceforge.net/Templates/bwp1/ /root/my-applications/mc/bwp1/
palemoon /root/.config/rox.sourceforge.net/Templates/bwp1/ /root/my-applications/mc/bwp1/
firefox /root/.config/rox.sourceforge.net/Templates/bwp1/
palemoon /root/.config/rox.sourceforge.net/Templates/bwp1/

(highlight groups of files and paste in their paths, use space (literally type a space--i don\'t know off hand the regex for space...\s?...and substitute it with a \n in the find and replace boxes to swap what you get so it looks like the leafpad arrangement above (i used extend select and typed leafpad after that). most programs will respond to vtging the way the selection deposits it in a file (space rather than line delimited. i.e. usually selecting, middle clicking, and then adding the program followed by a space at the beginning of the line is enough "programming"/arranging of text.

' > /root/my-applications/mc/bwp4vtg



Quote:

to do it manually (if you've noticed the content is suddenly not editable), it's a bunch of swap and replaces...end lines (\n) for .html\n
...and [fontname][space]...



for the first chunk, that was accurate except for an extend select and typing of .html to get at some text that was nicely aligned to begin with. in the second chunk i had to do the same thing but there was more of it and the pieces not nicely aligned, so i had to substitute space for line break, line break for .html plus line break, and then back out the line breaks for spaces.

...which reminds me--if you don't make the "\n" in the vtg sheet "\\n" (i.e. "escape it")it will break the line and remove itself from the text displayed.


see more:

http://murga-linux.com/puppy/viewtopic.php?p=991315#991315
Post subject: three versions of template generator script
Subject description: pick/make a directory to work in and run/click (or vtg it, or keep a rox window open while you mod..

http://murga-linux.com/puppy/viewtopic.php?p=991127#991127
PostPosted: Tue 08 May 2018, 03:24 Post subject: thiswordprocessor.html updated as wordprocessor.html (6k).
Subject description: find and replace in selection to make a set of templates. copy/rename one as the working document
Quote:

the vtg sheet being made is a plain text file mostly for a set location, but it's not difficult to do the equivalent for others (sheet took a few minutes to make and a few more to turn into content-generated-by-script (cnt commant, scz command, and using a bunch of backslashes (\) to undo my habit of using apostrophes in the comments...dollar signs also need it...things got sandwiched by the command so i had to also do it for quotation marks...so that needed to be run three times, but overall it's a fairly quick process (and if you want, getting the commands on the jwm menus takes a little copying and editing of a few .desktop files and the jwm -reload command (i usually make little scripts for the stuff in the nwp folder (ll defaults to making stuff there, ch defaults to setting permissions there, but start with scz to make a plain file a script).

ll = leafpad launcher in the shift plus spacebar (main, p, pwn) launcher
gl = geany
(^give a title to your command)
scz = print out the shebang
ch = set permissions for it


(more on that in another post).

____

i'll probably post the non generated generator version (the bwpt script that's made by mccwp-bwp (what that first script is called on my machine at the moment) and makes the bwp1 folder of templates ) at some point since it's easier to edit and read--there was supposed to be an "auxer" to go with the previous version, but it got shelved a bit so that i can "bwpt" a directory...(and it's basically just a slightly preset version of copying vtg commands to files so you can launch them with desktop files and optionally send them to the windows manager menus like i hinted at with the gl ll scz ch stuff above).


the commented out tasks folder in the first part of the first code above is for an autogenerated mini nwp type folder for storing vtg commands you want to turn into scripts and possibly put on the jwm menus (it's semi shelved). the vtg sheet and the ability to launch browserwordprocessor (bwp--i pronounce it "boop") files from any tab that points to the appropriate files (now generated in any directory with ` (pops up terminal) and then "bwpt" (booped/boop't--bwpTemplates--also right click available) make a convenient addition to whatever additional bookmarking you do through the browser (still easier to open groups of tabs with it so still useful).

it's a 9.6k (not counting the vtg sheet), so it's considerably larger than the 2.5k microbwp from a post ago, but still smaller than the original bbwp. keyboard tweaks will be packaged with bwp-bbwp merger (and be a separate nwp plugin from the bwp (which when packed as a pet, will likely be combined with mcc functions/directory). unlike the 2.5k version, no desktop file or menu entry for this one at this time (the tasks folder will be a mini nwp of sorts--put in vtg or other commands as scripts isolated from your system (i do a lot of "which xyz" in the terminal to make sure my cryptic launch commands aren't shared by ancient unix or linux utilities or anything puppy is using, but that would only be a problem if i want to call it from a terminal. if i'm calling my files or scripts or programs or directories from the nwp, there's no way my names can interfere with anything (though as you can see from my having to redo the above script, sometimes making things easier (leaving off the .html extension) doesn't always work out. (and if i slowed down my efforts to edit the vtg file as fast as possible, i probably would've seen i could've just substituted " " for ".html ", but what can ya do)).


-p. dogfellow
Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1564
Location: nyc

PostPosted: Sun 13 May 2018, 01:14    Post subject: update and fix for last update script
Subject description: bwpt-mc.pet 5.4 k
 

includes the bwpt the last bwpter was supposed to have made. takes advantage of the fact that anything you download as html you can open through the browser by navigating to that window (makes the downloading and reaccessing your now renamed files and templates less inconvenient.

____
and here's the fix. from http://murga-linux.com/puppy/viewtopic.php?p=991583#991583:

Puppus Dogfellow wrote:
edited/improved 5/13:
Quote:
script and vtg sheet above apparently need the files made marked as html for some of the browsers at least some of the time, so i'll reup the two files from above with the fixes. to do it manually (if you've noticed the content is suddenly not editable), it's a bunch of swap and replaces...end lines (\n) for .html\n
...and [fontname][space]...---be back in a bit. sorry for the inconvenience.

---
here's the first bit:
Code:

[...]

[...]


Quote:

to do it manually (if you've noticed the content is suddenly not editable), it's a bunch of swap and replaces...end lines (\n) for .html\n
...and [fontname][space]...



for the first chunk, that was accurate except for an extend select and typing of .html to get at some text that was nicely aligned to begin with. in the second chunk i had to do the same thing but there was more of it and the pieces not nicely aligned, so i had to substitute space for line break, line break for .html plus line break, and then swap back out the line breaks for spaces.

...which reminds me--if you don't make the "\n" in the vtg sheet "\\n" (i.e. "escape it")it will break the line and remove itself from the text displayed.

___
(oops. double post. sorry again)

but here's some knowledge/insight gained:
Quote:

(and if i slowed down my efforts to edit the vtg file as fast as possible, i probably would've seen i could've just substituted " " for ".html ", but what can ya do)).

from http://murga-linux.com/puppy/viewtopic.php?p=991587#991587

not only a double post, but the now removed (from this post at least) script and vtg sheet were a little more messed up than i was expecting (and the fix made it worse and i ended up stepping off for a bit).

i like terminal dump updates better than pets generally, at least for my own stuff (just grabbed the icon for the pet i'm about to post by running "bwp-mc" through some code on the mcc page (thanks again to technosaurus), but this one passed the point of convenience after the fourth run through and fail, so i made it a pet.


anyway, this pet does what the original (and previous) post failed to do:

bwpt-mc.pet 5.4k

ignore the bit on the previous page--i'll post the bwpt mcbwpter was supposed to have made (and which you can mod to replace the new/working bwpt). some of the original file (still messed up and still available a post back) got moved to the pinstall script, which i'll post (copying out of the templates folder doesn't seem to work for some reason, but copying into it from the bwp1 directory that got made into it is just a few steps and you can better choose which templates become most easily accessible yourself that way).

bwpt in terminal make a bwpt1 folder in that directory (`/~ key opens the terminal in a given directory). if you're doing it from the general/main terminal, cd to the directory, then "bwpt."

sorry for the inconvenience/pet overwrites the previous errors.


also from the vtg thread, http://murga-linux.com/puppy/viewtopic.php?p=991774#991774:
PostPosted: Today, at 01:01 Post subject: bwp-mc, bwpt, the newer vtg for bwp sheet, and the previous
Subject description: pet as a forum attachment
Puppus Dogfellow wrote:
Code:
 #tree -h on the pet:
├── [  91]  pet.specs
├── [ 274]  pinstall.sh
├── [  80]  root
│   ├── [  80]  my-applications
│   │   ├── [  60]  bin
│   │   │   └── [8.4K]  bwpt
│   │   └── [  60]  mc
│   │       └── [6.5K]  vtg-bwp-mc
│   └── [  60]  puppy-reference
│       └── [  80]  mini-icons
│           ├── [ 620]  defbwpmc.xpm
│           └── [ 620]  deflbwpmc.xpm
└── [  60]  usr
    └── [  60]  share
        └── [  60]  applications
            └── [ 304]  bwp1-mc.desktop

9 directories, 7 files

______-

bwpt:
Code:

#!/bin/sh
mkdir -p ./bwp1
echo $'

<!--
   thiswordprocessor.html
  (/micro anuupuus/mini-bwp/Untitled0)
 
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 
<head>
<title>bwp2</title>
<meta http-equiv="content-type" content="text/;charset=utf-8" />
<meta name="generator" content="Geany 1.25" />
</head>

<title>top one is tab tag</title>

<body style="font-size:2rem;font-family:serif;line-height:1.5;max-width:90rem;margin:0 auto;padding:2rem;" spellcheck="true" contenteditable="">


<p style="margin-bottom: 0in; line-height: 150%" align="justify"><font face="serif">regular text<br><br>
<i>italics</i><br>
<b>bold</b><br>   
<u>underline</u><br>
<br>   
</font></p>

<p style="margin-bottom: 0in; line-height: 150%" align="justify">justified area<br><br></p>
<p style="margin-bottom: 0in; line-height: 150%" align="center">centered<br><br></p>
<p style="margin-bottom: 0in; line-height: 150%" align="left">left aligned<br><br></p>

<p style="margin-bottom: 0in; line-height: 150%" align="right">right aligned<br><br></p>
<p style="margin-bottom: 0in; line-height: 150%" align="justify"><br><br>document as a whole is justified--delete the areas you don\'t need, copy and paste those you do where you need them. to use this document as a word processor (mini-bwp), open and bookmark it in a browser, download a copy to reopen as your working document, keeping the original to grab formatting from and mess around in. download/save as pdf (print menu) or html (file menu--html will let you use the browser (or a text editor--faster saves and you can change the names in the tabs, but it \'s less intuitive overall) for further edits). <br><br>
<br>(Untitled 1 and 2 from the bwp have been upgraded and/or spun off from the bwp as the bwp2 and/or the mini-bwp/bwp-mini. as with the original (and bbwp before it), paste in formatting, links and other content. download to save. ctrl a,c,v,x,y,z and a few other keyboard shortcuts work in most browsers. link below can be deleted like any other text; use text editor view to paste in links to your files (tables of contents, etc)).<br><br>
p. dogfellow, 5/4/18<br>
<br>
<br>
<br>for more, see bbwp updated as bwp:<br>
<a href="http:///murga-linux.com/puppy/viewtopic.php?p=990597#990597" target="_blank">http://http://murga-linux.com/puppy/viewtopic.php?p=990597#990597</a><br>
<!--use file:/// for your files (for tables of contents, long term convenience, etc) and http:// for websites  (second occurence of path above is text that shows--could be anything, but use &gt: &lt; to >< in plain text mode outside the comments (you can paste them into the browser view as you\'d expect with a regular word processor, but it won\'t work in straight up html mode.)-->

<br>insert<p style="margin-bottom: 0in; line-height: 150%" align="left"><font color="#159A5E">&lt;par style="font-size: 8pt; color:white; page-break-after: always"&gt;&lt;/par&gt;</font> <br><br>
in text editor view wherever you want to force a page break.
<br><br>
</p>
<br>
<h1>heading 1</h1>
<h2>heading 2</h2>
<h3>heading 3</h3>
<h4>heading 4</h4>
<h5>heading 5</h5>

<p style="margin-bottom: 0in; line-height: 150%" align="justify"><br><br>
<br>
<!--this is a comment. anything between arrows like these is hidden in browser and pdf download/print preview mode. -->
<!-- 

this is another comment. you can have as many as you like and they can go on indefinitely.
(you can type here and paste into browser view for the faster saves and more natural typing environment, but remember to keep track of your reloads and refreshes as well as your saves so you don\'t end up undoing what you\'ve done)
-->

<!--  get rid of the html in the title if the text editor has color coding for code and you find it annoying


Puppus Dogfellow, 5/5/18.
-->
<!--teach yourself html and more:
 https://www.w3schools.com/html/html_paragraphs.asp

alter this document as a new base template and/or make copies for backup. search and swap/find and replace 150 for 200 or 100 to change spacing from 1.5 to 2 or 1. do the same with serif to change font (mono and sans are two that work in testing).
  -->

</p>
<p style="margin-bottom: 0in; line-height: 150%" align="justify">to stick to working with (mostly) regular text files, paste your text into the word processor file for print preview, setting the formatting, and downloading either the html or pdf version of that stage. browser window text is scalable, but for reference, here\'s some nonscalable text: <br>
</p><br>
<br>
 <p style="font-size: 12pt; color:black; font-weight:normal; font-family: serif">your serif 12 text here</p><br>
 <p style="font-size: 12pt; color:#5126D2; font-weight:normal; font-family: mono">your mono 12 text here</p><br>
 <p style="font-size: 12pt; color:black; font-weight:normal; font-family: sans">your sans 12 text here</p><br>



&lt;!-- <br><br>

see the commented out bits (they\'ll be between arrows like these) in text editor mode for more tips (they\'re not visible in browser mode. change the name that appears in the tab and the internal document name while you\'re there).
<br>

to focus more on browser use than text editor mode, make a copy of the appropriate template and rename it as your working document. open both with a browser and bookmark. reload the template if you\'ve made a mess of the formatting or preferred the way it was before you started to get the hang of things.
<br>--&gt;
<span style="font-size: 12pt; color:black; font-weight:normal; font-family: serif">
12 point serif

</span>
<span style="font-size: 12pt; color:black; font-weight:regular condensed; font-family: sans">

12point sans

</span>
<span style="font-size: 12pt; color:black; font-weight:regular condensed; font-family: mono">

12 pt mono (no illustration of custom color code this time--use gcolor2 or your text editor\'s color picker to customize via the six digit code that follows the <i>color:</i> bit(s) you find in the html version(s)).

<br>

your <a href="file:///root/my-applications/mc/bwp1/" target="_blank">templates are here</a> and  <a href="file:///root/.config/rox.sourceforge.net/Templates/bwp1/" target="_blank">here if you\'ve </a>installed (a/some version/s of) thiswordprocessor.html through mccwp-bwp (or its terminal dump-in post/s).


</body>

</html>
' > ./bwp1/ser.html

#prep ser as as mon and san:
cp -f ./bwp1/ser.html ./bwp1/mon.html
cp -f ./bwp1/ser.html ./bwp1/san.html
sed -i 's/serif/sans/1' ./bwp1/san.html
sed -i 's/serif/sans/1' ./bwp1/san.html
sed -i 's/serif/mono/1' ./bwp1/mon.html
sed -i 's/serif/mono/1' ./bwp1/mon.html



#make three copies (x3) of base template: working, line spacing at 1 and 2:
cp -f ./bwp1/san.html ./bwp1/san1.5.html
cp -f ./bwp1/san.html ./bwp1/san1.html
cp -f ./bwp1/san.html ./bwp1/san2.html
cp -f ./bwp1/mon.html ./bwp1/mon1.5.html
cp -f ./bwp1/mon.html ./bwp1/mon1.html
cp -f ./bwp1/mon.html ./bwp1/mon2.html
cp -f ./bwp1/ser.html ./bwp1/ser1.5.html
cp -f ./bwp1/ser.html ./bwp1/ser1.html
cp -f ./bwp1/ser.html ./bwp1/ser2.html

#have the line spacing of ser1 and ser2 (etc) reflect their names:
sed -i '/150/ s//100/g' ./bwp1/ser1.html
sed -i '/150/ s//200/g' ./bwp1/ser2.html
sed -i '/150/ s//100/g' ./bwp1/san1.html
sed -i '/150/ s//200/g' ./bwp1/san2.html
sed -i '/150/ s//100/g' ./bwp1/mon1.html
sed -i '/150/ s//200/g' ./bwp1/mon2.html
#swap out the title tags:

sed -i '/bwp2/ s//m00/1' ./bwp1/mon1.5.html
sed -i '/bwp2/ s//m0/1' ./bwp1/mon.html
sed -i '/bwp2/ s//mSing/1' ./bwp1/mon1.html
sed -i '/bwp2/ s//mDub/1' ./bwp1/mon2.html
sed -i '/bwp2/ s//Untitled00/1' ./bwp1/ser1.5.html
sed -i '/bwp2/ s//Untitled0/1' ./bwp1/ser.html
sed -i '/bwp2/ s//Sing/1' ./bwp1/ser1.html
sed -i '/bwp2/ s//Dub/1' ./bwp1/ser2.html
sed -i '/bwp2/ s//s00/1' ./bwp1/san1.5.html
sed -i '/bwp2/ s//s0/1' ./bwp1/san.html
sed -i '/bwp2/ s//sSing/1' ./bwp1/san1.html
sed -i '/bwp2/ s//sDub/1' ./bwp1/san2.html

#swap out the internal name
#adjust for file and name (and remove the #):
#sed -i '/top one is tab tag/ s//newinternal/g' ./bwp1/ser.html
#sed -i '/top one is tab tag/ s//newinternal/g' ./bwp1/ser1.5.html
#sed -i '/top one is tab tag/ s//newinternal/g' ./bwp1/ser1.html
#sed -i '/top one is tab tag/ s//newinternal/g' ./bwp1/ser2.html


#dual launchers (copy and adjust):
echo $'#!/bin/sh
exec defaulttexteditor "$@"| exec defaultbrowser "$@"
' > ./bwp1/def
chmod 755 ./bwp1/def
echo $'#!/bin/sh
exec geany -i "$@"| exec palemoon "$@"
' > ./bwp1/gip
chmod 755 ./bwp1/gip

Code:

pinstall
#!/bin/sh
#as a stand alone:
mkdir -p /root/my-applications/mc
cd /root/.config/rox.sourceforge.net/Templates/
bwpt
cd /root/my-applications/mc
bwpt
cp -f /root/.config/rox.sourceforge.net/Templates/bwp1/ser1.5.html /root/.config/rox.sourceforge.net/Templates/1.5ser.html



vtg-bwp-mc:
Quote:

(file is based around a convenience made for geany as it's set up in puppy linux. if you haven't got the vtg or know the deal about the cauliflowers machue, you can make desktop files or terminal dumps from the stuff. substitute anything that can open plain text files for the geany and leafpad bit. at present (5/12/1Cool, the browser based word processor still needs a text editor (or text editor function--the bwp series uses a text box for it, but text editors are quicker and have advantages in addition to the those highlighted below) to manually force page breaks, change the tab tag, and enter a tab space with the tab key.)

right click or ctrl+shift+o in geany to use this document as a set of links/table of contents.

/root/my-applications/mc/bwp1/def
/root/my-applications/mc/bwp1/gip
/root/my-applications/mc/bwp1/mon.html
/root/my-applications/mc/bwp1/mon1.html
/root/my-applications/mc/bwp1/mon1.5.html
/root/my-applications/mc/bwp1/mon2.html
/root/my-applications/mc/bwp1/san.html
/root/my-applications/mc/bwp1/san1.html
/root/my-applications/mc/bwp1/san1.5.html
/root/my-applications/mc/bwp1/san2.html
/root/my-applications/mc/bwp1/ser.html
/root/my-applications/mc/bwp1/ser1.html
/root/my-applications/mc/bwp1/ser1.5.html
/root/my-applications/mc/bwp1/ser2.html
/root/my-applications/mc/vtg-bwp-mc

if you've got the nwp or vtg installed, click the cauliflower or alt+z (or v in launcher) with cursor
on a line below will launch that command

open all in geany:
geany /root/my-applications/mc/bwp1/def /root/my-applications/mc/bwp1/gip /root/my-applications/mc/bwp1/mon.html /root/my-applications/mc/bwp1/mon1.html /root/my-applications/mc/bwp1/mon1.5.html /root/my-applications/mc/bwp1/mon2.html /root/my-applications/mc/bwp1/san.html /root/my-applications/mc/bwp1/san1.html /root/my-applications/mc/bwp1/san1.5.html /root/my-applications/mc/bwp1/san2.html /root/my-applications/mc/bwp1/ser.html /root/my-applications/mc/bwp1/ser1.html /root/my-applications/mc/bwp1/ser1.5.html /root/my-applications/mc/bwp1/ser2.html /root/my-applications/mc/vtg-bwp-mc


open all in a new instance of geany:
geany -i /root/my-applications/mc/bwp1/def /root/my-applications/mc/bwp1/gip /root/my-applications/mc/bwp1/mon.html /root/my-applications/mc/bwp1/mon1.html /root/my-applications/mc/bwp1/mon1.5.html /root/my-applications/mc/bwp1/mon2.html /root/my-applications/mc/bwp1/san.html /root/my-applications/mc/bwp1/san1.html /root/my-applications/mc/bwp1/san1.5.html /root/my-applications/mc/bwp1/san2.html /root/my-applications/mc/bwp1/ser.html /root/my-applications/mc/bwp1/ser1.html /root/my-applications/mc/bwp1/ser1.5.html /root/my-applications/mc/bwp1/ser2.html /root/my-applications/mc/vtg-bwp-mc

open all in default browser:

open the rox folder:
rox /root/my-applications/mc/bwp1/def /root/my-applications/mc/bwp1/gip /root/my-applications/mc/bwp1/mon.html /root/my-applications/mc/bwp1/mon1.html /root/my-applications/mc/bwp1/mon1.5.html /root/my-applications/mc/bwp1/mon2.html /root/my-applications/mc/bwp1/san.html /root/my-applications/mc/bwp1/san1.html /root/my-applications/mc/bwp1/san1.5.html /root/my-applications/mc/bwp1/san2.html /root/my-applications/mc/bwp1/ser.html /root/my-applications/mc/bwp1/ser1.html /root/my-applications/mc/bwp1/ser1.5.html /root/my-applications/mc/bwp1/ser2.html /root/my-applications/mc/vtg-bwp-mc

open a given file from /root/my-applications/mc/bwp1/ in leafpad:
leafpad /root/my-applications/mc/vtg-bwp-mc
leafpad /root/my-applications/mc/bwp1/def
leafpad /root/my-applications/mc/bwp1/gip
leafpad /root/my-applications/mc/bwp1/mon.html
leafpad /root/my-applications/mc/bwp1/mon1.html
leafpad /root/my-applications/mc/bwp1/mon1.5.html
leafpad /root/my-applications/mc/bwp1/mon2.html
leafpad /root/my-applications/mc/bwp1/san.html
leafpad /root/my-applications/mc/bwp1/san1.html
leafpad /root/my-applications/mc/bwp1/san1.5.html
leafpad /root/my-applications/mc/bwp1/san2.html
leafpad /root/my-applications/mc/bwp1/ser.html
leafpad /root/my-applications/mc/bwp1/ser1.html
leafpad /root/my-applications/mc/bwp1/ser1.5.html
leafpad /root/my-applications/mc/bwp1/ser2.html

open all in palemoon:
#/root/my-applications/mc/bwp1/def /root/my-applications/mc/bwp1/gip /root/my-applications/mc/vtg-bwp-mc
palemoon /root/my-applications/mc/bwp1/mon.html /root/my-applications/mc/bwp1/mon1.html /root/my-applications/mc/bwp1/mon1.5.html /root/my-applications/mc/bwp1/mon2.html /root/my-applications/mc/bwp1/san.html /root/my-applications/mc/bwp1/san1.html /root/my-applications/mc/bwp1/san1.5.html /root/my-applications/mc/bwp1/san2.html /root/my-applications/mc/bwp1/ser.html /root/my-applications/mc/bwp1/ser1.html /root/my-applications/mc/bwp1/ser1.5.html /root/my-applications/mc/bwp1/ser2.html

___
to get a table of contents/clickable index of these files for a browser launch, use their base directory:

defaultbrowser /root/my-applications/mc/bwp1/
palemoon /root/my-applications/mc/bwp1/
defaultbrowser /root/.config/rox.sourceforge.net/Templates/bwp1/ /root/my-applications/mc/bwp1/
palemoon /root/.config/rox.sourceforge.net/Templates/bwp1/ /root/my-applications/mc/bwp1/
firefox /root/.config/rox.sourceforge.net/Templates/bwp1/
palemoon /root/.config/rox.sourceforge.net/Templates/bwp1/
seamonkey /root/.config/rox.sourceforge.net/Templates/bwp1/ /root/my-applications/mc/bwp1/

(highlight groups of files and paste in their paths, use space (literally type a space--i don't know off hand the regex for space...\s?...and substitute it with a
in the find and replace boxes to swap what you get so it looks like the leafpad arrangement above (i used extend select and typed leafpad after that). most programs will respond to vtging the way the selection deposits it in a file (space rather than line delimited. i.e. usually selecting, middle clicking, and then adding the program followed by a space at the beginning of the line is enough "programming"/arranging of text.


---vtg---

to vtg bwp1s about, substitute path in line below:

cd /path/to/dir; bwpt

more: http://murga-linux.com/puppy/viewtopic.php?p=991583#991583

---mcc---
http://murga-linux.com/puppy/viewtopic.php?p=884162#884162

mkdir -p /file/bwp1/

cp -au /root/my-applications/mc/bwp1/ /file/bwp1/

^upcoming nwp shortcuts or overwrites. arc and ark are duplicates, so the above will likely end up as ark next pet or update (leaving arc as backup/archive default for bbwp)(this is the bwp)(or one of 12 versions of thiswordprocessor.html/wordprocessor.html)

nwp thread: http://murga-linux.com/puppy/viewtopic.php?p=850270#850270
A NWP/A NWPUS--A Noob's Word Processor and Utilities Suite



here it is as an attachment:


here's the attachment again:
bwpt-mc.pet
Description 
pet

 Download 
Filename  bwpt-mc.pet 
Filesize  5.32 KB 
Downloaded  63 Time(s) 
Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1564
Location: nyc

PostPosted: Mon 14 May 2018, 21:12    Post subject: 2 versions of the micro nwp now available
Subject description: 9 and 26k almost stand alone (you need a browser) word processors
 

bwpt-mc updated as mcbwp.pet (9.6k) and bbwp updated as bwp1.4 (26k and includes the smaller one).

mcbwp.pet

bwp1.4.pet

common to both: smaller default font (change back to rem2 if zooming is an insufficient way of adjusting for you) more closely scales to paper rather than screen space (all templates overwritten with the adjustment); bwpt in a terminal makes the bwp1 template sets in a given directory; updated vtg and box1.html pages; BBWP and bbwp menu entries (in the smaller one it's more of a place holder for your first set of custom templates (edit /root/my-applications/bin/bwpt or make a set and edit the individual files, then load them onto the .desktop file or a script that it calls) --edit as you like but it's set for the larger launch gets the capital letters (this will be covered in a future post that covers the still being put together auxer function); box2.html is still a duplicate of box1; you can launch, save, and adjust names, spacing and font from the browser alone if you wish; pasting in to a justified area and pasting in justified text all seem to now work better in the blank templates;....


larger one has more default colors, templates, special characters, and text that's supposed to be there to help you use the thing. it also gets the nwp/pwn launcher shortcuts described above plus "ta," which is as comfortable a natural tab space in browser view as i've come up with so far (shift plus space bar, ta in the launcher that comes up).

change the internal and tag name, toggle editability on and off, and adjust fonts, spacing, and alignment from the box view (text editor's better but this makes for one fewer dependency) if you prefer to avoid the copying and pasting from the info/formatting tabs, you can still use that and pdf preview to see how it would look on the page without all the code in the way/you can double check your work through the browser.

paste in from any source, download to save as html or pdf, reload to reflect text edits in the browser and vice versa, back up any templates you want to preserve as these pets will both overwrite the old ones if their names haven't been changed.

next version will have a mini-nwp set as part of the mcc icon/labeling/copying folder as a kind of micro nuup (uuord processor/ultimatesque utilities pack); to illustrate calls to isolated mini-scripts by keys or launchers, i'm going to do it for the included vtg sheet as desktop files (which are either buttons or menu items, depending on how you look at it. then you can decide if a leafpad or geany launcher (or even bwp launcher, though i haven't tested one of those yet) makes any sense for you.

--p.dogfellow.
Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1564
Location: nyc

PostPosted: Fri 25 May 2018, 16:38    Post subject: mcbwp "plugin" updated to mcbwp1; encompassing 1.5 updated
Subject description: and based on 1.4; box1 spun off as ewp--The Emergency Word Processor; fixes for tab sp. issue
 

bwp1.5 (46k)
mcbwp1 (12k)

ewp--EmergencyWordProcessor.html (159k)
ewp--EmergencyWordProcessor.html.gz (25k)

box1.1.html (159k)
box1.1.html.xz (18k)

if you activate the swap (the script's name in the launcher or clicking the script will do it), alt+ctrl+space will add a tab space, and alt+shift+space will spit out the page break code.
larger bwp's desktop file now active (guess that howto will have to wait some more--the keys and indentation issue have gotten in the way), and box1 and 2 are no longer copies of one another; preloading the boxes with the templates and styles sheets (turns out you have to paste into and download from the first box regardless it seems) allows the file to recreate (possibly customized on the fly) the styles and templates sheets, and so is a word processor maker of a sort. the autoindenting paragraph templates will be the next update of the old pu/up (the first micro word processor spinoff in this thread), and you could use a special character or some sort of find and replace strategy after the fact, but if you want to type in tab spaces in browser mode, i think one solution could be to make a toggle of the space bar keys:




these are the built in spacebar shortcuts:

Code:

<Key mask="A" key="space">exec:rox</Key>
<Key mask="C" key="space">exec:/nwp/ww</Key>
<Key mask="S" key="space">exec:/nwp/p</Key>
<Key mask="CA" key="space">exec:/nwp/rr</Key>
<Key mask="CS" key="space">exec:/nwp/cr</Key>
<Key mask="AS" key="space">exec:/nwp/t</Key>
<Key mask="CAS" key="space">exec:/nwp/rup</Key>

(rup--up from the bottom of the rox bookmarks recents, t--terminal, cr--close all rox, rr--rox recents, p --main launcher, ww--MochiMoppel's WinSwitcher; names are launch codes and shorter is usually better, but there are a few that i've had to make because i've forgotten their convenient original name)


new nwp shortcuts and a couple of blanks for browser based word processor use:

Code:

echo $'
#!/bin/sh
#newspacekeys /root/.jwm/jwmrc-personal
sed -i \'/"CA" key="space">exec:\/nwp\/rr/ s//"CA" key="space">exec:\/nwp\/bh1/g\' /root/.jwm/jwmrc-personal
sed -i \'/"AS" key="space">exec:\/nwp\/t/ s//"AS" key="space">exec:\/nwp\/bh2/g\' /root/.jwm/jwmrc-personal
sed -i \'/"CS" key="space">exec:\/nwp\/cr/ s//"CS" key="space">exec:\/nwp\/bh3/g\' /root/.jwm/jwmrc-personal
sed -i \'/"CAS" key="space">exec:\/nwp\/rup/ s//"CAS" key="space">exec:\/nwp\/bh4/g\' /root/.jwm/jwmrc-personal
fixmenus; jwm -restart
' >/nwp/jtab
chmod 755 /nwp/jtab

echo $'
#!/bin/sh
#root3-9
#newkeys0:
sed -i \'/"CA" key="space">exec:\/nwp\/rr/ s//"CA" key="space">exec:\/nwp\/bh1/g\' /nwp/root3/9/keys0
sed -i \'/"AS" key="space">exec:\/nwp\/t/ s//"AS" key="space">exec:\/nwp\/bh2/g\' /nwp/root3/9/keys0
sed -i \'/"CS" key="space">exec:\/nwp\/cr/ s//"CS" key="space">exec:\/nwp\/bh3/g\' /nwp/root3/9/keys0
sed -i \'/"CAS" key="space">exec:\/nwp\/rup/ s//"CAS" key="space">exec:\/nwp\/bh4/g\' /nwp/root3/9/keys0
#root3-9
#newkeys1:
sed -i \'/"CA" key="space">exec:\/nwp\/rr/ s//"CA" key="space">exec:\/nwp\/bh1/g\' /nwp/root3/9/keys1
sed -i \'/"AS" key="space">exec:\/nwp\/t/ s//"AS" key="space">exec:\/nwp\/bh2/g\' /nwp/root3/9/keys1
sed -i \'/"CS" key="space">exec:\/nwp\/cr/ s//"CS" key="space">exec:\/nwp\/bh3/g\' /nwp/root3/9/keys1
sed -i \'/"CAS" key="space">exec:\/nwp\/rup/ s//"CAS" key="space">exec:\/nwp\/bh4/g\' /nwp/root3/9/keys1
fixmenus; jwm -restart
' >/nwp/spc9
chmod 755 /nwp/spc9

echo $'
#!/bin/sh
#root3-9m
#newkeys0:
sed -i \'/"CA" key="space">exec:\/nwp\/rr/ s//"CA" key="space">exec:\/nwp\/bh1/g\' /nwp/root3/9menusblanks/keys0
sed -i \'/"AS" key="space">exec:\/nwp\/t/ s//"AS" key="space">exec:\/nwp\/bh2/g\' /nwp/root3/9menusblanks/keys0
sed -i \'/"CS" key="space">exec:\/nwp\/cr/ s//"CS" key="space">exec:\/nwp\/bh3/g\' /nwp/root3/9menusblanks/keys0
sed -i \'/"CAS" key="space">exec:\/nwp\/rup/ s//"CAS" key="space">exec:\/nwp\/bh4/g\' /nwp/root3/9menusblanks/keys0
#newkeys1:
sed -i \'/"CA" key="space">exec:\/nwp\/rr/ s//"CA" key="space">exec:\/nwp\/bh1/g\' /nwp/root3/9menusblanks/keys1
sed -i \'/"AS" key="space">exec:\/nwp\/t/ s//"AS" key="space">exec:\/nwp\/bh2/g\' /nwp/root3/9menusblanks/keys1
sed -i \'/"CS" key="space">exec:\/nwp\/cr/ s//"CS" key="space">exec:\/nwp\/bh3/g\' /nwp/root3/9menusblanks/keys1
sed -i \'/"CAS" key="space">exec:\/nwp\/rup/ s//"CAS" key="space">exec:\/nwp\/bh4/g\' /nwp/root3/9menusblanks/keys1
fixmenus; jwm -restart
' >/nwp/spc9m
chmod 755 /nwp/spc9m

echo $'
#!/bin/sh
#root3-10
#newkeys0:
sed -i \'/"CA" key="space">exec:\/nwp\/rr/ s//"CA" key="space">exec:\/nwp\/bh1/g\' /nwp/root3/10/keys0
sed -i \'/"AS" key="space">exec:\/nwp\/t/ s//"AS" key="space">exec:\/nwp\/bh2/g\' /nwp/root3/10/keys0
sed -i \'/"CS" key="space">exec:\/nwp\/cr/ s//"CS" key="space">exec:\/nwp\/bh3/g\' /nwp/root3/10/keys0
sed -i \'/"CAS" key="space">exec:\/nwp\/rup/ s//"CAS" key="space">exec:\/nwp\/bh4/g\' /nwp/root3/10/keys0
#root3-10
#newkeys1:
sed -i \'/"CA" key="space">exec:\/nwp\/rr/ s//"CA" key="space">exec:\/nwp\/bh1/g\' /nwp/root3/10/keys1
sed -i \'/"AS" key="space">exec:\/nwp\/t/ s//"AS" key="space">exec:\/nwp\/bh2/g\' /nwp/root3/10/keys1
sed -i \'/"CS" key="space">exec:\/nwp\/cr/ s//"CS" key="space">exec:\/nwp\/bh3/g\' /nwp/root3/10/keys1
sed -i \'/"CAS" key="space">exec:\/nwp\/rup/ s//"CAS" key="space">exec:\/nwp\/bh4/g\' /nwp/root3/10/keys1
fixmenus; jwm -restart
' >/nwp/spc10
chmod 755 /nwp/spc10


#
#reverse:
#



echo $'
#!/bin/sh
#revkeys0:
sed -i \'/"CA" key="space">exec:\/nwp\/bh1/ s//"CA" key="space">exec:\/nwp\/rr/g\' /nwp/root3/9/keys0
sed -i \'/"AS" key="space">exec:\/nwp\/bh2/ s//"AS" key="space">exec:\/nwp\/t/g\' /nwp/root3/9/keys0
sed -i \'/"CS" key="space">exec:\/nwp\/bh3/ s//"CS" key="space">exec:\/nwp\/cr/g\' /nwp/root3/9/keys0
sed -i \'/"CAS" key="space">exec:\/nwp\/bh4/ s//"CAS" key="space">exec:\/nwp\/rup/g\' /nwp/root3/9/keys0
#revkeys1:
sed -i \'/"CA" key="space">exec:\/nwp\/bh1/ s//"CA" key="space">exec:\/nwp\/rr/g\' /nwp/root3/9/keys1
sed -i \'/"AS" key="space">exec:\/nwp\/bh2/ s//"AS" key="space">exec:\/nwp\/t/g\' /nwp/root3/9/keys1
sed -i \'/"CS" key="space">exec:\/nwp\/bh3/ s//"CS" key="space">exec:\/nwp\/cr/g\' /nwp/root3/9/keys1
sed -i \'/"CAS" key="space">exec:\/nwp\/bh4/ s//"CAS" key="space">exec:\/nwp\/rup/g\' /nwp/root3/9/keys1
fixmenus; jwm -restart
' >/nwp/spc9r
chmod 755 /nwp/spc9r
echo $'
#!/bin/sh
revkeys0:
sed -i \'/"CA" key="space">exec:\/nwp\/bh1/ s//"CA" key="space">exec:\/nwp\/rr/g\' /nwp/root3/9menusblanks/keys0
sed -i \'/"AS" key="space">exec:\/nwp\/bh2/ s//"AS" key="space">exec:\/nwp\/t/g\' /nwp/root3/9menusblanks/keys0
sed -i \'/"CS" key="space">exec:\/nwp\/bh3/ s//"CS" key="space">exec:\/nwp\/cr/g\' /nwp/root3/9menusblanks/keys0
sed -i \'/"CAS" key="space">exec:\/nwp\/bh4/ s//"CAS" key="space">exec:\/nwp\/rup/g\' /nwp/root3/9menusblanks/keys0
#revkeys1:
sed -i \'/"CA" key="space">exec:\/nwp\/bh1/ s//"CA" key="space">exec:\/nwp\/rr/g\' /nwp/root3/9menusblanks/keys1
sed -i \'/"AS" key="space">exec:\/nwp\/bh2/ s//"AS" key="space">exec:\/nwp\/t/g\' /nwp/root3/9menusblanks/keys1
sed -i \'/"CS" key="space">exec:\/nwp\/bh3/ s//"CS" key="space">exec:\/nwp\/cr/g\' /nwp/root3/9menusblanks/keys1
sed -i \'/"CAS" key="space">exec:\/nwp\/bh4/ s//"CAS" key="space">exec:\/nwp\/rup/g\' /nwp/root3/9menusblanks/keys1
fixmenus; jwm -restart
' >/nwp/spc9mr
chmod 755 /nwp/spc9mr
echo $'
#!/bin/sh
#revkeys0:
sed -i \'/"CA" key="space">exec:\/nwp\/bh1/ s//"CA" key="space">exec:\/nwp\/rr/g\' /nwp/root3/10/keys0
sed -i \'/"AS" key="space">exec:\/nwp\/bh2/ s//"AS" key="space">exec:\/nwp\/t/g\' /nwp/root3/10/keys0
sed -i \'/"CS" key="space">exec:\/nwp\/bh3/ s//"CS" key="space">exec:\/nwp\/cr/g\' /nwp/root3/10/keys0
sed -i \'/"CAS" key="space">exec:\/nwp\/bh4/ s//"CAS" key="space">exec:\/nwp\/rup/g\' /nwp/root3/10/keys0
#revkeys1:
sed -i \'/"CA" key="space">exec:\/nwp\/bh1/ s//"CA" key="space">exec:\/nwp\/rr/g\' /nwp/root3/10/keys1
sed -i \'/"AS" key="space">exec:\/nwp\/bh2/ s//"AS" key="space">exec:\/nwp\/t/g\' /nwp/root3/10/keys1
sed -i \'/"CS" key="space">exec:\/nwp\/bh3/ s//"CS" key="space">exec:\/nwp\/cr/g\' /nwp/root3/10/keys1
sed -i \'/"CAS" key="space">exec:\/nwp\/bh4/ s//"CAS" key="space">exec:\/nwp\/rup/g\' /nwp/root3/10/keys1
fixmenus; jwm -restart
' >/nwp/spc10r
chmod 755 /nwp/spc10r
echo $'
#!/bin/sh
#space key toggle back(jwmrc-p):
sed -i \'/"CA" key="space">exec:\/nwp\/bh1/ s//"CA" key="space">exec:\/nwp\/rr/g\' /root/.jwm/jwmrc-personal
sed -i \'/"AS" key="space">exec:\/nwp\/bh2/ s//"AS" key="space">exec:\/nwp\/t/g\' /root/.jwm/jwmrc-personal
sed -i \'/"CS" key="space">exec:\/nwp\/bh3/ s//"CS" key="space">exec:\/nwp\/cr/g\' /root/.jwm/jwmrc-personal
sed -i \'/"CAS" key="space">exec:\/nwp\/bh4/ s//"CAS" key="space">exec:\/nwp\/rup/g\' /root/.jwm/jwmrc-personal
fixmenus; jwm -restart
' >/nwp/jtabr
chmod 755 /nwp/jtabr


#
#all at once:

#in:




echo $'
#!/bin/sh
#newspacekeys
sed -i \'/"CA" key="space">exec:\/nwp\/rr/ s//"CA" key="space">exec:\/nwp\/bh1/g\' /root/.jwm/jwmrc-personal
sed -i \'/"AS" key="space">exec:\/nwp\/t/ s//"AS" key="space">exec:\/nwp\/bh2/g\' /root/.jwm/jwmrc-personal
sed -i \'/"CS" key="space">exec:\/nwp\/cr/ s//"CS" key="space">exec:\/nwp\/bh3/g\' /root/.jwm/jwmrc-personal
sed -i \'/"CAS" key="space">exec:\/nwp\/rup/ s//"CAS" key="space">exec:\/nwp\/bh4/g\' /root/.jwm/jwmrc-personal
sed -i \'/"CA" key="space">exec:\/nwp\/rr/ s//"CA" key="space">exec:\/nwp\/bh1/g\' /nwp/root3/9/keys0
sed -i \'/"AS" key="space">exec:\/nwp\/t/ s//"AS" key="space">exec:\/nwp\/bh2/g\' /nwp/root3/9/keys0
sed -i \'/"CS" key="space">exec:\/nwp\/cr/ s//"CS" key="space">exec:\/nwp\/bh3/g\' /nwp/root3/9/keys0
sed -i \'/"CAS" key="space">exec:\/nwp\/rup/ s//"CAS" key="space">exec:\/nwp\/bh4/g\' /nwp/root3/9/keys0
sed -i \'/"CA" key="space">exec:\/nwp\/rr/ s//"CA" key="space">exec:\/nwp\/bh1/g\' /nwp/root3/9/keys1
sed -i \'/"AS" key="space">exec:\/nwp\/t/ s//"AS" key="space">exec:\/nwp\/bh2/g\' /nwp/root3/9/keys1
sed -i \'/"CS" key="space">exec:\/nwp\/cr/ s//"CS" key="space">exec:\/nwp\/bh3/g\' /nwp/root3/9/keys1
sed -i \'/"CAS" key="space">exec:\/nwp\/rup/ s//"CAS" key="space">exec:\/nwp\/bh4/g\' /nwp/root3/9/keys1
sed -i \'/"CA" key="space">exec:\/nwp\/rr/ s//"CA" key="space">exec:\/nwp\/bh1/g\' /nwp/root3/9menusblanks/keys0
sed -i \'/"AS" key="space">exec:\/nwp\/t/ s//"AS" key="space">exec:\/nwp\/bh2/g\' /nwp/root3/9menusblanks/keys0
sed -i \'/"CS" key="space">exec:\/nwp\/cr/ s//"CS" key="space">exec:\/nwp\/bh3/g\' /nwp/root3/9menusblanks/keys0
sed -i \'/"CAS" key="space">exec:\/nwp\/rup/ s//"CAS" key="space">exec:\/nwp\/bh4/g\' /nwp/root3/9menusblanks/keys0
sed -i \'/"CA" key="space">exec:\/nwp\/rr/ s//"CA" key="space">exec:\/nwp\/bh1/g\' /nwp/root3/9menusblanks/keys1
sed -i \'/"AS" key="space">exec:\/nwp\/t/ s//"AS" key="space">exec:\/nwp\/bh2/g\' /nwp/root3/9menusblanks/keys1
sed -i \'/"CS" key="space">exec:\/nwp\/cr/ s//"CS" key="space">exec:\/nwp\/bh3/g\' /nwp/root3/9menusblanks/keys1
sed -i \'/"CAS" key="space">exec:\/nwp\/rup/ s//"CAS" key="space">exec:\/nwp\/bh4/g\' /nwp/root3/9menusblanks/keys1
sed -i \'/"CA" key="space">exec:\/nwp\/rr/ s//"CA" key="space">exec:\/nwp\/bh1/g\' /nwp/root3/10/keys0
sed -i \'/"AS" key="space">exec:\/nwp\/t/ s//"AS" key="space">exec:\/nwp\/bh2/g\' /nwp/root3/10/keys0
sed -i \'/"CS" key="space">exec:\/nwp\/cr/ s//"CS" key="space">exec:\/nwp\/bh3/g\' /nwp/root3/10/keys0
sed -i \'/"CAS" key="space">exec:\/nwp\/rup/ s//"CAS" key="space">exec:\/nwp\/bh4/g\' /nwp/root3/10/keys0
sed -i \'/"CA" key="space">exec:\/nwp\/rr/ s//"CA" key="space">exec:\/nwp\/bh1/g\' /nwp/root3/10/keys1
sed -i \'/"AS" key="space">exec:\/nwp\/t/ s//"AS" key="space">exec:\/nwp\/bh2/g\' /nwp/root3/10/keys1
sed -i \'/"CS" key="space">exec:\/nwp\/cr/ s//"CS" key="space">exec:\/nwp\/bh3/g\' /nwp/root3/10/keys1
sed -i \'/"CAS" key="space">exec:\/nwp\/rup/ s//"CAS" key="space">exec:\/nwp\/bh4/g\' /nwp/root3/10/keys1
fixmenus; jwm -restart

' >/nwp/bwpk1
chmod 755 /nwp/bwpk1


#
#reverse:
#


echo $'
#!/bin/sh
#revkeys
sed -i \'/"CA" key="space">exec:\/nwp\/bh1/ s//"CA" key="space">exec:\/nwp\/rr/g\' /nwp/root3/9/keys0
sed -i \'/"AS" key="space">exec:\/nwp\/bh2/ s//"AS" key="space">exec:\/nwp\/t/g\' /nwp/root3/9/keys0
sed -i \'/"CS" key="space">exec:\/nwp\/bh3/ s//"CS" key="space">exec:\/nwp\/cr/g\' /nwp/root3/9/keys0
sed -i \'/"CAS" key="space">exec:\/nwp\/bh4/ s//"CAS" key="space">exec:\/nwp\/rup/g\' /nwp/root3/9/keys0
sed -i \'/"CA" key="space">exec:\/nwp\/bh1/ s//"CA" key="space">exec:\/nwp\/rr/g\' /nwp/root3/9/keys1
sed -i \'/"AS" key="space">exec:\/nwp\/bh2/ s//"AS" key="space">exec:\/nwp\/t/g\' /nwp/root3/9/keys1
sed -i \'/"CS" key="space">exec:\/nwp\/bh3/ s//"CS" key="space">exec:\/nwp\/cr/g\' /nwp/root3/9/keys1
sed -i \'/"CAS" key="space">exec:\/nwp\/bh4/ s//"CAS" key="space">exec:\/nwp\/rup/g\' /nwp/root3/9/keys1
sed -i \'/"CA" key="space">exec:\/nwp\/bh1/ s//"CA" key="space">exec:\/nwp\/rr/g\' /nwp/root3/9menusblanks/keys0
sed -i \'/"AS" key="space">exec:\/nwp\/bh2/ s//"AS" key="space">exec:\/nwp\/t/g\' /nwp/root3/9menusblanks/keys0
sed -i \'/"CS" key="space">exec:\/nwp\/bh3/ s//"CS" key="space">exec:\/nwp\/cr/g\' /nwp/root3/9menusblanks/keys0
sed -i \'/"CAS" key="space">exec:\/nwp\/bh4/ s//"CAS" key="space">exec:\/nwp\/rup/g\' /nwp/root3/9menusblanks/keys0
sed -i \'/"CA" key="space">exec:\/nwp\/bh1/ s//"CA" key="space">exec:\/nwp\/rr/g\' /nwp/root3/9menusblanks/keys1
sed -i \'/"AS" key="space">exec:\/nwp\/bh2/ s//"AS" key="space">exec:\/nwp\/t/g\' /nwp/root3/9menusblanks/keys1
sed -i \'/"CS" key="space">exec:\/nwp\/bh3/ s//"CS" key="space">exec:\/nwp\/cr/g\' /nwp/root3/9menusblanks/keys1
sed -i \'/"CAS" key="space">exec:\/nwp\/bh4/ s//"CAS" key="space">exec:\/nwp\/rup/g\' /nwp/root3/9menusblanks/keys1
sed -i \'/"CA" key="space">exec:\/nwp\/bh1/ s//"CA" key="space">exec:\/nwp\/rr/g\' /nwp/root3/10/keys0
sed -i \'/"AS" key="space">exec:\/nwp\/bh2/ s//"AS" key="space">exec:\/nwp\/t/g\' /nwp/root3/10/keys0
sed -i \'/"CS" key="space">exec:\/nwp\/bh3/ s//"CS" key="space">exec:\/nwp\/cr/g\' /nwp/root3/10/keys0
sed -i \'/"CAS" key="space">exec:\/nwp\/bh4/ s//"CAS" key="space">exec:\/nwp\/rup/g\' /nwp/root3/10/keys0
sed -i \'/"CA" key="space">exec:\/nwp\/bh1/ s//"CA" key="space">exec:\/nwp\/rr/g\' /nwp/root3/10/keys1
sed -i \'/"AS" key="space">exec:\/nwp\/bh2/ s//"AS" key="space">exec:\/nwp\/t/g\' /nwp/root3/10/keys1
sed -i \'/"CS" key="space">exec:\/nwp\/bh3/ s//"CS" key="space">exec:\/nwp\/cr/g\' /nwp/root3/10/keys1
sed -i \'/"CAS" key="space">exec:\/nwp\/bh4/ s//"CAS" key="space">exec:\/nwp\/rup/g\' /nwp/root3/10/keys1
sed -i \'/"CA" key="space">exec:\/nwp\/bh1/ s//"CA" key="space">exec:\/nwp\/rr/g\' /root/.jwm/jwmrc-personal
sed -i \'/"AS" key="space">exec:\/nwp\/bh2/ s//"AS" key="space">exec:\/nwp\/t/g\' /root/.jwm/jwmrc-personal
sed -i \'/"CS" key="space">exec:\/nwp\/bh3/ s//"CS" key="space">exec:\/nwp\/cr/g\' /root/.jwm/jwmrc-personal
sed -i \'/"CAS" key="space">exec:\/nwp\/bh4/ s//"CAS" key="space">exec:\/nwp\/rup/g\' /root/.jwm/jwmrc-personal
fixmenus; jwm -restart

' >/nwp/bwpk1
chmod 755 /nwp/bwpk1r


you can copy them over from nwp to ~/my-apps/bin or the ~/my-apps/mc/scripts folder the pets make (already in the nwp, but if you didn't have it installed, it'd make them), and fill them out with chunks you hone from the vtg sheet.

here's a template for a couple of bwp helpers and a couple of blanks (plus cr as an example to show where you add the code). putting the code on a separate script rather than in the window manager file means you can adjust what the keys do without having to restart or reload the manager or fix the menus):
Code:


echo $'
#!/bin/sh

rox -D /
' > /nwp/cr
chmod 755 /nwp/cr


echo $'
#!/bin/sh
#bwp helper 1--tab spaces for browser mode
xdotool type "     "
#set at five spaces
' > /nwp/bh1
chmod 755 bh1
echo $'
#!/bin/sh
#as key does same as paw in launcher
#page break after, white text (if any). paw.
xdotool type \'<par style="font-size: 11pt; color:white; page-break-after: always"></par>\'
#bwp helper two--page break code spit out for text editor view (there's a cut and paste version in styles2 that works in browser mode for bh1 and bh2)
' > /nwp/bh2
chmod 755 bh2

echo $'
#!/bin/sh

' > /nwp/bh3
chmod 755 bh3

echo $'
#!/bin/sh

' > /nwp/bh4
chmod 755 bh4


echo $'#!/bin/sh

' > /nwp/bh4
chmod 755 bh4


permissions are set--just fill out the content.
Back to top
View user's profile Send private message 
Puppyt

Joined: 09 May 2008
Posts: 831
Location: Gatton, Queensland

PostPosted: Mon 28 May 2018, 09:03    Post subject:  

Darren P. Dogfellow,
I have lurked on your multiple threads from time to time, I admit that I have been overawed with all your content to try anything seriously. So many bright and shiny toys on offer - where does anyone start? I am strongly reminded of "Hunt the WUMPUS" from both your thread title and the maze of information and links you provide... as I work through it I get "Zap - Superbat snatched" and lose the wood for the trees. You are learning as you go too - thanks for all your updates and your enthusiasm for your projects. Keep it going! Anyway I have a little time to kill, and found that your initial impetus for your wordprocessor was from Nooby - so in my books that is a Good Thing. So I want in.
Just experimenting with bwp1.5 now, just picking any of your projects at random. Oooooh, I am having a bit of fun *trying* to break things and explore intuitively, but pleasantly surprised with what I can do here. Appreciate your gifs, but pretty-please could you post a video about cranking up and using the key features of your wordprocessor (and assorted JWM tweaks) ? Cheers Smile

"I feel a draft..."

_________________
Search engines for Puppy
http://puppylinux.us/psearch.html; Google Custom Search; others TBA...
Back to top
View user's profile Send private message Visit poster's website 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1564
Location: nyc

PostPosted: Mon 28 May 2018, 22:54    Post subject: some overview  

Puppyt wrote:
Darren P. Dogfellow,
I have lurked on your multiple threads from time to time, I admit that I have been overawed with all your content to try anything seriously. So many bright and shiny toys on offer - where does anyone start? I am strongly reminded of "Hunt the WUMPUS" from both your thread title and the maze of information and links you provide... as I work through it I get "Zap - Superbat snatched" and lose the wood for the trees. You are learning as you go too - thanks for all your updates and your enthusiasm for your projects. Keep it going! Anyway I have a little time to kill, and found that your initial impetus for your wordprocessor was from Nooby - so in my books that is a Good Thing. So I want in.

make some templates--cv, stories with beginnings, middles, and ends, a place for class and name according to school rules, etc
Quote:


Just experimenting with bwp1.5 now, just picking any of your projects at random. Oooooh, I am having a bit of fun *trying* to break things and explore intuitively, but pleasantly surprised with what I can do here.

excellent on both counts

Quote:

Appreciate your gifs, but pretty-please could you post a video about cranking up and using the key features of your wordprocessor (and assorted JWM tweaks) ? Cheers Smile

_________________



you mean it's not self explanatory Crying or Very sad Embarassed

Quote:


"I feel a draft..."

Shocked Cool Laughing
(mere inspiration, i hope)

***

on a more serious note, what do you feel needs video clarification (i'm not adverse to the idea, just would have to figure out what to shoot that can't be "giffed" (i've been meaning to get some screen shots up for a while now--then thought maybe a pdf of gifs and info made by it to show some of what it can do--do i show my mouse cursor clicking the file and print menus?...), and what software to use and which machine to do it on).

as far as features for a nooby (and if by "i want in" you mean contribute, posting templates you've made as attachments to this thread may be the simplest way, but if you can hack the browser gui...that's be cool, too Cool Cool ) that are somewhat not word processor specific--i'm about to make a specific version of the keys for this word processor (bwp1.5 or any of those that type directly into a browser tab) for the make concurrent copies thread--i'd have to go hunt for code if not for "sehd" (sed help) in the launcher).

i'm glad there's enough there for you to "explore intuitively," and it should stand up to all manner of abuse (or repair itself by remaking itself), and i agree with your post in scsijon's Storywriting program for teenagers--it is potentially useful there. i see it as something you don't really need computer experience to use (no more fumbling around with this than menus and buttons of a new interface--people get to use a relatively familiar interface (their choice of browser, or at least the one they've seen before on the computer a relative, caregiver, or teacher is trying to get them to use--and all word processors should allow a tabbed interface, though lack of ability to key in a tab is somewhat of an annoyance (but less so if you haven't yet been conditioned to use it, i suppose)), but if you have some, you can somewhat painlessly gain a little more (page break code spit out from launcher in html (geany/leafpad/box1-2) view ("paw," which stands for pagebreak above whitetext(though blank)) is much faster than finding the page break spot to copy off of Styles2, copying it, and pasting into your document--it will get its own key in the mcc version, too (i was sort of building it up as a microcosm of this mess of a thread to serve as a almost brief explanation Razz ).

anyway, i'll have some time coming up to do the visuals in a bit, but a quick tip i've picked up is that pasting in formatting for text (color, font, size) doesn't seem to rely on line breaks being copied, but paragraph formatting often does. sometimes it appears necessary to make room for the paste in by adding carriage returns to the target (pressing enter about where you want to new formatting to go before you paste), and sometimes it doesn't, so your own templates seem to be the best way to go about organizing things. pointing your browser at the directory that holds the templates (bwpt in a terminal will give you a set in any given directory, minus the big styles and info sheets and boxes--the box2 and 1.1 files can make more styles sheets) gives you a set of documents you can launch at a click. advantages over most other word processors is speed and multiview (same document viewed from many browsers or windows or tabs or text editors at once to keep many versions alive and your wake safe (so long as your machine doesn't crash, which leads to the next strength, robustness--any modern browser or text editor should work, and pdf and html are universal formats from what i can tell. you shouldn't lose your ability to view or work on your work no matter what OS you use.

it's fast and light on resources. templates load instantly and most have the browser running anyway, so it's almost invisible in that regard (not that it's not impossible to choke the machine with heaps of browsers running at once, each with multiple tabs and instances--it inspires that kind of abuse, whereas i remember lighting candles before using Word).

anyway, that's my sales pitch.

the jwm stuff (and the aemenu stuff that mirrors it) is the same idea as the custom keys and layers--make it easier to work on your documents--resize things, split the screens, --i use the lpx notepad everyday set at autostart--i don't notice it as a feature but i suppose "lpx" in the launcher is a key feature and organizational tool...

it's supposed to be easy to swap out the useless and annoying stuff for stuff that specifically fits your needs, whether we're talking wp or uup (word processor or ultimatesque utilities pack).

to get back to concerns mentioned in scsijon's thread--autoindentation is something html can do from what i've read, but i've failed at it on two for two templates so far. as far as autocapitalization of the first word in each sentence, libre office has "sentence case"; i thought that was a property of geany, but it can probably approximate it with a find and replace of some kind.


hth

-d
Back to top
View user's profile Send private message 
Puppyt

Joined: 09 May 2008
Posts: 831
Location: Gatton, Queensland

PostPosted: Wed 30 May 2018, 21:53    Post subject:  

Hi Puppus - thanks for your lengthy and considered reply. I've been juggling projects on different computers/puppy environments since my last post - apologies for the delay.
My earlier statement for inclusion related to that irrepressible trailblazer, Nooby. Even now, nearly 2 years from his passing I find myself retreading his footsteps as I track down one issue or another on the forum. Like Nooby, I guess - I have occasional voids in my databank - what really does "VTG" even stand for?? Couln't find a definition in several threads and not in your 226-page users guide for nwp and vtg... That, unfortunately, could indicate to you the "Dummy's Guide"-level of understanding that I have in just obtaining your word processor - not even addressing template creation at this stage...

So - what do you recommend for a word-processor ONLY approach, pu/up (puup! or puup.1)? bwp1.5? emergency wp? nwp? While I appreciate the really useful series of launchers you included with an nwp package I downloaded - really liked 24 virtual desktops etc (selling you short sorry - it was a few days ago when I was testing) - I also really liked the jwm setup that I had going in radky's dpup stretch 7.5... couldn't get my tray2 back (or tray1 or menus), even after I uninstalled your pet. Perhaps an environment like your Precise spins or a basic official Puppy might be best for all your launchers and hotkeys etc - although I think that new users to Puppy/JWM/rox would benefit greatly from a cutdown version of your launchers to provide *all* the winkey combinations they are familiar with from the M$ environment.

With regards an introductory video about your nwp/enhanced geany, really I meant something straight-forward about getting in, and getting on with producing text without the distractions of the M$ Word model (e.g., comments outlined to a retrospective on WordStar. I think that much information you have written is also self-explanatory - but unfortunately I have not been able to pick the cherries of information out very cleanly at this stage. Although with regards to the Storywriting for Teenagers issue - I thought I saW [EDIT] from my re-readings of your jwm/geany/nwp threads this morning that you had the automatic new paragraph indent sorted, and that got me excited - but that ability isn't always resident?

I'm on a fresh install of Dpup Stretch now and will test out what I think are your word processor -only (without launchers and other enhancements) pets while I drum up a report for an academic governance wrangle... cheers Smile

Quote:
Quote:


"I feel a draft..."

Shocked Cool Laughing
(mere inspiration, i hope)


Maybe - but don't sit downwind of me, just to be safe...
My obscure statement relates to the warning of a bottomless pit nearby in WUMPUS - American spelling though - so for Australian/English it appropriately reads here as a version of a manuscript. We would write "draught" for the same breeze... but on reading it we would get confused about whether we were talking about a wind or a beer... I'm thirsty now...

_________________
Search engines for Puppy
http://puppylinux.us/psearch.html; Google Custom Search; others TBA...
Back to top
View user's profile Send private message Visit poster's website 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1564
Location: nyc

PostPosted: Thu 31 May 2018, 06:34    Post subject:  

Puppyt wrote:
Hi Puppus - thanks for your lengthy and considered reply. I've been juggling projects on different computers/puppy environments since my last post - apologies for the delay.
My earlier statement for inclusion related to that irrepressible trailblazer, Nooby. Even now, nearly 2 years from his passing I find myself retreading his footsteps as I track down one issue or another on the forum. Like Nooby, I guess - I have occasional voids in my databank - what really does "VTG" even stand for?? Couln't find a definition in several threads and not in your 226-page users guide for nwp and vtg... That, unfortunately, could indicate to you the "Dummy's Guide"-level of understanding that I have in just obtaining your word processor - not even addressing template creation at this stage...

Virtual Terminal (,)Geany (since that's the only thing it'll work on)
it's also sometimes the Virtual Geany Terminal

in short, the geany document you are working on becomes a terminal screen with persistent history and tabbed browsing. it's also indifferent to context--it'll only work on what the cursor is positioned for or what is highlighted. that is, if you're writing about leafpad

and at the above stage (ie the cursor is there because that's what you just wrote and arrowed back one on; if you don't arrow back you'll get a potential leafpad document called whatever the next word in your sentence is) press the cauliflower button, anything labeled vtg or vgt (or the same capitalized), or alt+z, leafpad will launch--it works for one liners by placing the cursor and then hitting the cauliflower, and any commands longer than one line work on the same principal but need to be highlighted.

it's a geany specific thing as far as being a launcher and menu system, but for non geany use, it's a series of text files that had commands i found useful or thought potentially useful as i was finding my way around this new working environment.

and that's where Nooby's concerns overlapped my own. puppy is light and quick, and the major word processors generally part of suites that are not; he wanted to be able to code his way to a formatted document with a text editor, and i wanted geany's tabs, speed, and reliability. i saw some code from miriam that i thought would help us both, but it turned out too late to be of use for Nooby. i didn't really know him well, but he seemed like a friendly and guiding presence, so i figured i'd pursue a common interest and see what he thought.


Quote:

So - what do you recommend for a word-processor ONLY approach, pu/up (puup! or puup.1)? bwp1.5? emergency wp? nwp? While I appreciate the really useful series of launchers you included with an nwp package I downloaded - really liked 24 virtual desktops etc (selling you short sorry - it was a few days ago when I was testing) - I also really liked the jwm setup that I had going in radky's dpup stretch 7.5... couldn't get my tray2 back (or tray1 or menus), even after I uninstalled your pet. Perhaps an environment like your Precise spins or a basic official Puppy might be best for all your launchers and hotkeys etc - although I think that new users to Puppy/JWM/rox would benefit greatly from a cutdown version of your launchers to provide *all* the winkey combinations they are familiar with from the M$ environment.


i see now how buried some of the documentation has gotten and apologize. one of the features is supposed to be (worked last time i tried it in xenial32 and tahr64...and one of the six series slackos...--it's been a while since i've tested) quick switches for your configuration sets--your original pristine set (as far as jwm is concerned) was supposed to have been ported in as configuration 39; my39 in the launcher would've/should've given you back your original setup but allowed you to keep the launchers and functions (you'd need a new way to activate it, but the scripts it calls and files it uses would still be in place).

mae in the launcher and as a desktop file (also utility menu) allows piecemeal uninstallation of the rest of the thing. i seem to remember there being a version somewhere on the root1 menu, but all i'm seeing now is mod the configuration file helpers and quickswitches...

i'm in the process of making a cut down version of this that can be built up; maybe the giant thing that can be taken apart approach wasn't such a good idea, but i wanted to take my stuff with me as quickly as i could (for general use, that became the port and store features).

i'd recommend bwp1.5 since it gives you two initial launch choices instead of one. full screen in browser mode is a huge wasteland of usable, distraction free space. you can use a plain text editor and paste in and format after the fact--the Untitleds are blank--choose justification or left align to start. or just use one of the bwpt templates and write over what's there--save formatting examples you think you'll need (or use a separate copy for general templates, one for your working document and paste between them) until the end, then delete the excess.

if i had a serious report to do, i'd write it in geany, and format it after the fact in a bwp window after picking a font and spacing for the thing as a whole.

as far as the winkey, in jwm that's modifier 4 and i haven't used windows in a while and don't remember their original functions too well. the xmod pets that were "plugins" for the earlier versions include a way to use mod 3, but you'd have to pick a key to use for it (i generally pick pause break). with it, you can get 24 keys for anything, and the file you use can be swapped out with a quick rename--sets of 24 for any key (though five modifiers at a time may not work or be prohibitively silly, so 15 to 23 layers per key (mod 3 optional) times however many swap folders of scripts with the same name as what the keys call you have).

in short that's how the key banks and menus get swapped in, but the older approach relied more on sed, and this seems quicker and better (preview next post)--i kind of feel i've left you in a lurch and am trying to respond as quickly as i can (six in the morning here).

for the most part i've avoided assigning anything to the winkey, but i made templates for hundreds of combos that include it (playing around with substitutions and the then new for me select to copy middle click to paste linux feature ended with piles of keys and windows positioning scripts (etc)).

Quote:

With regards an introductory video about your nwp/enhanced geany, really I meant something straight-forward about getting in, and getting on with producing text without the distractions of the M$ Word model (e.g., comments outlined to a retrospective on WordStar. I think that much information you have written is also self-explanatory - but unfortunately I have not been able to pick the cherries of information out very cleanly at this stage. Although with regards to the Storywriting for Teenagers issue - I thought I saW [EDIT] from my re-readings of your jwm/geany/nwp threads this morning that you had the automatic new paragraph indent sorted, and that got me excited - [/b]but that ability isn't always resident? [b]

I'm on a fresh install of Dpup Stretch now and will test out what I think are your word processor -only (without launchers and other enhancements) pets while I drum up a report for an academic governance wrangle... cheers Smile



i saw the concern in that thread and took interest because in browser mode, you can't use the tab key to enter a tab space--the specific solution being sought there would've worked here, but i more or less accept two modifiers plus the spacebar as a workable substitute for ctrl+enter for page break and tab for tabspace.

as far as the specific need for tabs and sentence case--a quick search led to a few promising stack exchange answers (and i'm sure the gurus here can polish them further if we ask nicely). there may be a simple dragto script that can be applied, or a text editor find and replace sequence that's fairly painless in that concern's future. i'm cool with tabbing in text editors and the spacebar solution for the browser owning the tab key.


Quote:


Quote:
Quote:


"I feel a draft..."

Shocked Cool Laughing
(mere inspiration, i hope)


Maybe - but don't sit downwind of me, just to be safe...
My obscure statement relates to the warning of a bottomless pit nearby in WUMPUS - American spelling though - so for Australian/English it appropriately reads here as a version of a manuscript. We would write "draught" for the same breeze... but on reading it we would get confused about whether we were talking about a wind or a beer... I'm thirsty now...


i've known a few abysses in my time... but i thought of the ghosts of (a snorting and suddenly right behind me) Boxer, (a flatulent) Lou Reed, then the lyrics to Wish You Were Here...then Ogden Nash and Lewis Carrol. (searched wumpus and got videogames as most common result).

i could go for a porter or stout right now.

(Flying Dog or Sam Smith)

(that's suddenly and unfortunately become much more of my morning focus than practicing my bmx moves (i have zero skills) at the park...).

if by key features you meant the launcher shorts and versions, and the various keys--i need to do a repost of that stuff as well; for now, i think they're all at the bottom of the previous page (updated it then time turned the page on me).

hth.
Back to top
View user's profile Send private message 
Puppyt

Joined: 09 May 2008
Posts: 831
Location: Gatton, Queensland

PostPosted: Thu 31 May 2018, 10:05    Post subject:  

Cheers Puppus - no I'm not in any dramas whatsoever, so don't hurry on my account. Thanks very much for the tip on the configuration 39 - in truth I need to be more proactive on backing up anyways Smile And, I found that you have copious help files throughout your templates. I most recently tried puup.1 but had hassles actually getting started (from '/' install) - whereas eWp{EDITS}(bWp+box 1.1) runs OOTB and looks fine - cheers Smile Strangely, I will have to re-download bwp1.5 as the version I had kept returning the weird result (attached). Absolutely nothing {wrong*} at your end. No rush - thanks again, most appreciated.

PS thanks for the VTG/VGT explanation too
*EDIT included - my setup is askew somehow - works fine in other tests
Screenshot(1).jpg
 Description   not getting the usual pet installation dialogue
 Filesize   53.04 KB
 Viewed   85 Time(s)

Screenshot(1).jpg


_________________
Search engines for Puppy
http://puppylinux.us/psearch.html; Google Custom Search; others TBA...
Back to top
View user's profile Send private message Visit poster's website 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1564
Location: nyc

PostPosted: Sat 02 Jun 2018, 12:00    Post subject: before the new key mod, a little more on the launchers  

Quote:

http://murga-linux.com/puppy/viewtopic.php?p=993873#993873
Puppyt:

So - what do you recommend for a word-processor ONLY approach, pu/up (puup! or puup.1)? bwp1.5? emergency wp? nwp? While I appreciate the really useful series of launchers you included with an nwp package I downloaded - really liked 24 virtual desktops etc (selling you short sorry - it was a few days ago when I was testing) - I also really liked the jwm setup that I had going in radky's dpup stretch 7.5... couldn't get my tray2 back (or tray1 or menus), even after I uninstalled your pet. Perhaps an environment like your Precise spins or a basic official Puppy might be best for all your launchers and hotkeys etc - although I think that new users to Puppy/JWM/rox would benefit greatly from a cutdown version of your launchers to provide *all* the winkey combinations they are familiar with from the M$ environment.


the launchers are based on Iguleder's pexec001: http://www.murga-linux.com/puppy/viewtopic.php?p=544234#544234

i eliminated the dash dependency (it still needs yad, which i think most pups have, at least in the ppm) and preloaded an address to the popup:

Code:

#!/bin/sh
CMDLINE=$(yad --width=350 --skip-taskbar --center --on-top --fixed --sticky \
              --title="" --window-icon="/nwp/icons/purwup.png" \
              --entry --entry-label="Run command:"  \
              --column="command" --entry-text "/nwp/")
[ -z "$CMDLINE" ] && exit 0

$CMDLINE &
exit 0



it's that --entry-text "" bit that you have to change to get the thing to point to a specific location (batch of scripts with easy to type and remember names in an off path location i.e. a mini nwp) or to make it an application launcher (add a leafpad or geany or browsername to the quotation mark slot, skip a space, then mod the path as before and you'll either get a quick way to access extant files or a quick way to make new ones (new files opened with whatever name you give them may only work/has only been tried with the text editors ). the p launcher is a call to p- (the above file) plus and xdotool command to sweep right--the popup is prehighlighted in all the auxiliary launchers (you need to sweep right or your input will delete what's there--t calls a terminal, p is the main launcher, ll is the leafpad version, ...i'll repost the launcher shorts again soon as well).

with xdotool, the launchers can be made to access shortcuts and menus that work for any program--you just give the scripts that call the menus a name you can remember. for nwp use, it's original intent apart from moving around and resizing windows was to make it easy to enter the html code you'd need to make a formatted document with a text editor (assuming you didn't know markup (which i don't)). you could make the keys or the launcher call the files and codes and folders you need to do whatever you want faster than you could in just about any other way, i think.

my coding skills are particularly limited and i wasn't able to get the feature i wanted from pexec (preload a path and//or command) without losing its ability to store your command history (there originally was a dropdown menu of past commands you access). if you know how to put that feature back it could be of use apart from its original (lamentably gone) intent: you could access it, copy it, and make a vtg launch sheet from it. the new key mod assumes you'd want dozens of keys for every situation or program, and relies on folder swapping to do it, but with the vtg you could keep to fewer sets and mod them on the fly.

if you find the pets aren't installing smoothly i can add back the -reload and fixmenus lines to the pinstall as a possible solution. new key mod idea doesn't rely on the rest of the nwp, and i'll post the menu files that contain more or less all the paste in html code (and maybe the highlight and replace stuff, but that's more for the (in my opinion) more awkward and unpleasant html view of things--i'd much rather work in a plain text file or the browser window (blank or preformatted template) itself to start.

don't want you to risk another installation, but if my39/my39r doesn't put back your original setup and then toggle it back for the default nwp, something's broken, or at least incompatible with the pup you're running.

the mae popup and the alt one menu should give you ways to swap trays in or out and edit both them and the menus.

(my own interests are moving toward the smaller, mcc-folder based version).
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 7 of 7 [105 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Documents
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.3122s ][ Queries: 13 (0.0312s) ][ GZIP on ]