without a fix.
the word processing project in this thread goes back quite a while:
Puppus Dogfellow
Tue 16 Jun 2015, 02:37 Post subject: nearly all the custom packs in one folder that can be left
Subject description: outside your save file/shared with other puppies on your system
Gaexec_Paexack-jwm.tar.xz
http://www.murga-linux.com/puppy/viewto ... 016#851016
Puppus Dogfellow
Sun 13 Dec 2015, 09:00 Post subject: jwm word processor functions plus a bunch of other stuff.
Subject description: 827kb
http://murga-linux.com/puppy/viewtopic. ... 695#876695
and the additional menus idea
(
Puppus Dogfellow
Thu 21 Aug 2014, 19:45 Post subject: 9 Pack Of JWM Menus
Subject description: the escape key as seven additional menu buttons
http://www.murga-linux.com/puppy/viewto ... 032#796032
)
turned into 6 banks of keys, toggles, to which i'm going to add a few more. before i get to the long paste-in, a little background. if you've installed the nwp, you have the following keys as spacebar shortcuts:
Code: Select all
<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).
if not, that chunk of text added to /root/.jwm/jwmrc-personal will give you them (after a
fixmenus; jwm -restart and the creation of the destination files (or just make a /nwp folder for now)). you can use the above as a template for your own needs, or use them in conjunction with the mini word processor:
from
http://murga-linux.com/puppy/viewtopic. ... 194#993194,
[5/25/18] at 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
Puppus Dogfellow wrote: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: Select all
<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: Select all
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: Select all
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.
mkdir -p /nwp in the terminal will give a place for the above if you don't feel like making one yourself and swapping out the default path for yours.
word processor works by giving you an editable browser tab with formatting you can cut and paste from templates.
enjoy.