Fatdog64 Contributed Packages and SFS
Oh I get that step, instead for example in the case of syncterm the mkdir /syncterm;make DESTDIR=/syncterm install;cd /syncterm;makepkg -c n -l n /tmp/syncterm-1.0-x86_64-1.tgz type make package process results in a .tgz with a /usr/local/share/applications location for the syncterm.desktop file (and other files) instead of /usr/share/applications that I'd more usually use - and that I believe fatdog actually uses.step wrote:Thank you, rufwoof. If you want to find out how to make packages for fatdog, it's explained in the (markdown) FAQ entry "How to make packages for Fatdog64".
My inclination is to just shift the /usr/local/share... over to /usr/share... but that could break things ???
[size=75]( ͡° ͜ʖ ͡°) :wq[/size]
[url=http://murga-linux.com/puppy/viewtopic.php?p=1028256#1028256][size=75]Fatdog multi-session usb[/url][/size]
[size=75][url=https://hashbang.sh]echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh[/url][/size]
[url=http://murga-linux.com/puppy/viewtopic.php?p=1028256#1028256][size=75]Fatdog multi-session usb[/url][/size]
[size=75][url=https://hashbang.sh]echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh[/url][/size]
syncterm telnet via ssh server
Under Linux you can launch syncterm with a shell option, usually using something like syncterm shell:/bin/sh
However if you create a 'shell' (script) such as
#!/bin/bash
ssh hashbang
and call that say /root/mysh, then you can launch syncterm with that as a shell
syncterm /root/mysh
In this case, ssh hashbang auto logs me into my ssh server (hashbang, where I have key based login (ssh keys) for that, and a shortened name (hashbang, instead of <userid>@hashbang.sh))
When run that way, syncterm starts up with me at the hashbang (ssh servers) command prompt and from there I can run telnet blackflag.acid.org ... or whatever to access a BBS. Of course from the BBS's perspective that shows my connection to the BBS as being from the US instead of my actual UK location.
However if you create a 'shell' (script) such as
#!/bin/bash
ssh hashbang
and call that say /root/mysh, then you can launch syncterm with that as a shell
syncterm /root/mysh
In this case, ssh hashbang auto logs me into my ssh server (hashbang, where I have key based login (ssh keys) for that, and a shortened name (hashbang, instead of <userid>@hashbang.sh))
When run that way, syncterm starts up with me at the hashbang (ssh servers) command prompt and from there I can run telnet blackflag.acid.org ... or whatever to access a BBS. Of course from the BBS's perspective that shows my connection to the BBS as being from the US instead of my actual UK location.
[size=75]( ͡° ͜ʖ ͡°) :wq[/size]
[url=http://murga-linux.com/puppy/viewtopic.php?p=1028256#1028256][size=75]Fatdog multi-session usb[/url][/size]
[size=75][url=https://hashbang.sh]echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh[/url][/size]
[url=http://murga-linux.com/puppy/viewtopic.php?p=1028256#1028256][size=75]Fatdog multi-session usb[/url][/size]
[size=75][url=https://hashbang.sh]echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh[/url][/size]
calcurse modified to not show the todo panel
Fatdog 8.2 compiled version of calcurse but a version with the todo panel not being available/accessible sfs here
See http://www.murga-linux.com/puppy/viewto ... 87#1030787
I usually install such sfs's using
unsquashfs -f -d / calcurse-no-todo.sfs
that forcibly extracts the contents to the specified directory i.e. / in the above example.
See http://www.murga-linux.com/puppy/viewto ... 87#1030787
I usually install such sfs's using
unsquashfs -f -d / calcurse-no-todo.sfs
that forcibly extracts the contents to the specified directory i.e. / in the above example.
[size=75]( ͡° ͜ʖ ͡°) :wq[/size]
[url=http://murga-linux.com/puppy/viewtopic.php?p=1028256#1028256][size=75]Fatdog multi-session usb[/url][/size]
[size=75][url=https://hashbang.sh]echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh[/url][/size]
[url=http://murga-linux.com/puppy/viewtopic.php?p=1028256#1028256][size=75]Fatdog multi-session usb[/url][/size]
[size=75][url=https://hashbang.sh]echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh[/url][/size]
mypaint v2.0.0-alpha.12
mypaint v2.0.0-alpha.12
Latest version of mypaint has improvements to flood fill
https://github.com/mypaint/mypaint/rele ... 2.AppImage
Latest version of mypaint has improvements to flood fill
https://github.com/mypaint/mypaint/rele ... 2.AppImage
Hi rufwoof. It is safer to make the makefile shift paths for you. With make based build usually it takes a combination of PREFIX and DESTDIR.rufwoof wrote:Oh I get that step, instead for example in the case of syncterm the mkdir /syncterm;make DESTDIR=/syncterm install;cd /syncterm;makepkg -c n -l n /tmp/syncterm-1.0-x86_64-1.tgz type make package process results in a .tgz with a /usr/local/share/applications location for the syncterm.desktop file (and other files) instead of /usr/share/applications that I'd more usually use - and that I believe fatdog actually uses.step wrote:Thank you, rufwoof. If you want to find out how to make packages for fatdog, it's explained in the (markdown) FAQ entry "How to make packages for Fatdog64".
My inclination is to just shift the /usr/local/share... over to /usr/share... but that could break things ???
This set of commands compiled syncterm and installed it under /usr/bin /usr/share for me. The SRC_ROOT variable comes from reading file COMPILING.
Code: Select all
wget --xattr -c wget http://www.balcos.net/bbs/syncterm-1.0.tgz
uextract syncterm-1.0.tgz
cd syncterm-1.0.tgz.extracted/syncterm-1.0/src/syncterm/
mkdir syncterm-1.0-x86_64
make SRC_ROOT=`realpath ..` DESTDIR=syncterm-1.0-x86_64 PREFIX=/usr
make SRC_ROOT=`realpath ..` DESTDIR=syncterm-1.0-x86_64 PREFIX=/usr install
cd syncterm-1.0-x86_64/
mkdir install
slackdesc syncterm 1.0 "(BBS)" "Syncterm is a BBS terminal program." "http://www.balcos.net/bbs" | tee install/slack-desc
makepkg -c n -l n `pwd`.txz
installpkg ../syncterm-1.0-x86_64.txz
man syncterm
syncterm
less /usr/share/applications/syncterm.desktop
[url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Fatdog64-810[/url]|[url=http://goo.gl/hqZtiB]+Packages[/url]|[url=http://goo.gl/6dbEzT]Kodi[/url]|[url=http://goo.gl/JQC4Vz]gtkmenuplus[/url]
Thanks for that step, very helpful.
syncterm is nice. I did however discover a means to use xterm for better viewing of BBS's (I like to install the real xterm and I have quite a extensive .Xresources/.Xdefaults that sets its up quite nicely). Launch xterm using ...
xterm -k8 -fn vga
I did install some ansi fonts from https://techtinkering.com/downloads/ansifonts.tar.gz i.e. extracted that archive to the font directory using:
tar -xvzf ansifonts.tar.gz -C /usr/share/fonts/X11/misc
and made sure that X knows about those fonts:
mkfontdir /usr/share/fonts/X11/misc/
xset fp rehash
syncterm is nice. I did however discover a means to use xterm for better viewing of BBS's (I like to install the real xterm and I have quite a extensive .Xresources/.Xdefaults that sets its up quite nicely). Launch xterm using ...
xterm -k8 -fn vga
I did install some ansi fonts from https://techtinkering.com/downloads/ansifonts.tar.gz i.e. extracted that archive to the font directory using:
tar -xvzf ansifonts.tar.gz -C /usr/share/fonts/X11/misc
and made sure that X knows about those fonts:
mkfontdir /usr/share/fonts/X11/misc/
xset fp rehash
[size=75]( ͡° ͜ʖ ͡°) :wq[/size]
[url=http://murga-linux.com/puppy/viewtopic.php?p=1028256#1028256][size=75]Fatdog multi-session usb[/url][/size]
[size=75][url=https://hashbang.sh]echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh[/url][/size]
[url=http://murga-linux.com/puppy/viewtopic.php?p=1028256#1028256][size=75]Fatdog multi-session usb[/url][/size]
[size=75][url=https://hashbang.sh]echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh[/url][/size]
sue - Wordstar command style cli editor
[size=75]( ͡° ͜ʖ ͡°) :wq[/size]
[url=http://murga-linux.com/puppy/viewtopic.php?p=1028256#1028256][size=75]Fatdog multi-session usb[/url][/size]
[size=75][url=https://hashbang.sh]echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh[/url][/size]
[url=http://murga-linux.com/puppy/viewtopic.php?p=1028256#1028256][size=75]Fatdog multi-session usb[/url][/size]
[size=75][url=https://hashbang.sh]echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh[/url][/size]
tilda terminal
The default tilda terminal in Fatdog requires ctrl left-mouse-click in order to follow hyperlinks (urls). The attached version is a modified version of that, where left mouse click alone follows links.
Changed ...
src/tilda_terminal.c line 753
/* Check if we can launch a web browser, and do so if possible */
/* Rufwoof if ((event->state & GDK_CONTROL_MASK) && match != NULL) */
if ( match != NULL )
Changed ...
src/tilda_terminal.c line 753
/* Check if we can launch a web browser, and do so if possible */
/* Rufwoof if ((event->state & GDK_CONTROL_MASK) && match != NULL) */
if ( match != NULL )
- Attachments
-
- tilda-leftclickonly.sfs.gz
- (172 KiB) Downloaded 451 times
[size=75]( ͡° ͜ʖ ͡°) :wq[/size]
[url=http://murga-linux.com/puppy/viewtopic.php?p=1028256#1028256][size=75]Fatdog multi-session usb[/url][/size]
[size=75][url=https://hashbang.sh]echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh[/url][/size]
[url=http://murga-linux.com/puppy/viewtopic.php?p=1028256#1028256][size=75]Fatdog multi-session usb[/url][/size]
[size=75][url=https://hashbang.sh]echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh[/url][/size]
When I enabled similar click-URL functionality for my custom urxvt build I initially settled for left click too, but then I changed it to middle click because too often I was inadvertently opening the browser while trying to select some text near a URL.
[url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Fatdog64-810[/url]|[url=http://goo.gl/hqZtiB]+Packages[/url]|[url=http://goo.gl/6dbEzT]Kodi[/url]|[url=http://goo.gl/JQC4Vz]gtkmenuplus[/url]
Release candidate for Blender 2.80 3d software...
https://download.blender.org/release/Blender2.80/
________________________________________________
https://download.blender.org/release/Blender2.80/
________________________________________________
In a tilda terminal as you hover over a url it underlines it so you can see when its 'selected'. Not really encountered problems with highlighting text and clicking a url in error myself, so left mouse click works fine for me.step wrote:When I enabled similar click-URL functionality for my custom urxvt build I initially settled for left click too, but then I changed it to middle click because too often I was inadvertently opening the browser while trying to select some text near a URL.
I store all of my bookmarks in a text file and have that as one of my tilda drop down tabs (as I reboot a clean system every time, including a clean browser). F1 to drop down tilda terminal, more often where its already showing the url's tab that I store bookmarks in, click a url and that restores the browser - loaded with that url's web page content.
[size=75]( ͡° ͜ʖ ͡°) :wq[/size]
[url=http://murga-linux.com/puppy/viewtopic.php?p=1028256#1028256][size=75]Fatdog multi-session usb[/url][/size]
[size=75][url=https://hashbang.sh]echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh[/url][/size]
[url=http://murga-linux.com/puppy/viewtopic.php?p=1028256#1028256][size=75]Fatdog multi-session usb[/url][/size]
[size=75][url=https://hashbang.sh]echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh[/url][/size]
Adding tmux, mc, ssh, scp, sftp, sshfs into initrd
Fatdog 8.2 initrd.xz for the following available here -> initrd.xz
Fundamentally the same initrd as the default Fatdog supplied version, extended to cater for a 'baseshell' kernel boot parameter that when present boots into cli/tui with ssh, sshfs, mc, tmux, screen and fp IDE (not the full fp, just the front end that is intended to be used as a text editor only).
At 79MB its around 6MB larger than the standard initrd.
========================================
For reference, a script I use to pull out all libs used by a program - so you can drop them into initrd ...
(A variant of the original copied from Rob Landley https://landley.net/writing/).
For example creating a folder /FILES and running the above script with parameters of /FILES tmux localedef mc mcedit ssh scp sftp sshfs ... assuming they're already installed into your main Fatdog system will largely copy the required files/libs into /FILES. Some additional files do need to manually added to that set for instance ssh also requires
cp /etc/nsswitch.conf /FILES/lib64/.
cp /lib64/libnss* /FILES/lib64/.
(and a copy of your ~/.ssh folder (ssh keys). mc also is missing a range of files/folders for it to work as intended. For mc I manually added (copied) folders
/etc/mc
~/.config/mc
~/.local/share/mc
/usr/libexec/mc
/usr/share/mc
For tmux I copied across my ~/.tmux.conf to /etc/tmux.conf.
For utf-8 I copied /usr/share/locale/en and en_GB, I also copied the folder /usr/share/i18n and terminfo and udhcpc. And a empty folder /usr/lib64/locale
Having a initrd that is quite functional by default (base fatdog), where you can wireless/hard-wired net connect and have ssh, tmux, mc etc. all to hand within that initrd is IMO considerably superior to the current base fatdog initrd. And whilst that does expand the initrd (without fd64.sfs up from around 72MB to 90MB, much of that additional content is relatively compressible. For instance gzip that initrd and it weighs in at around 80MB (just 8MB heavier). And that's before dropbear, that is included in the default initrd, is dropped (no longer required if replaced by the more comprehensive Openssh as above).
To accomodate entering the initrd shell I modified /sbin/system-init to add a baseshell boot parameter, so the modified section looks like ...
To start tmux within initrd I created a script /root/runtmux.sh with content
and created a /root/notes.txt file for that to read/load. Along with a /root/menu.sh file that acts as a menu (options printed out and read/case select/action script).
For a nicer (for my laptop screen) console font I modified /sbin/system-init to use a 32 bit font ter-i32b.psf.gz that I obtained from somewhere)
... copying that font file into /lib/boot/consolefonts
With how I did it recorded (so I can repeat the process for later releases of Fatdog), attached is the initrd.xz for all of that. Using grub4dos to boot I'd suggest starting with a menu.lst entry of
and typically press Enter when prompted for a video mode and select 0. Within that on the Menu window there are basic options to manually connect to eth0 or wlan0.
... and then perhaps progress onto something like
... where ssssssss and pppppppp are your wireless ssid and password respectively. That then has you auto net connected to wlan0 on bootup and uses a better screen resolution.
After that, its down to you. Note that there's no fd64.sfs in any of this, so if you want to exit the above and continue conventional Fatdog booting, make sure you copy a fd64.sfs from somewhere to / before you exit the initrd shell. Or specify the basesfs and save file locations on the kernel boot line as you would normally.
Fundamentally the linked initrd.xz is the same as the standard fatdog initrd (but compressed to use .xz). But when the baseshell kernel boot parameter is included as above it drops to initrd cli and is set to run /root/run-tmux which loads up tmux that automatically starts on the /notes.txt page (that shows some help). Type a backtick character and the press 1 ... will take you to the menu window. Use the kill menu option to exit tmux and resume the standard bootup (or use the r (reboot) menu option to shutdown or p (power off) ...etc. Assuming its net connected OK then there are other options, reddit or a BBS for instance. Or press F11 to open a new window (cli) and ssh or sshfs mount ...etc. mc is also automatically loaded in another window, as is top (process viewer).
EDIT: extended to also include screen and fp ide (ide only - as a text editor/calculator). fp doesn't run well within tmux, however a workaround is to run 'screen' (another multiplexer) within tmux and then run fp within screen.
EDIT Jul 16 2019 : newer version uploaded that also includes ccrypt and pcrypt (pcrypt uses one time pad encryption, so a encrypted file takes up twice the amount of disk space, but where the .fck and .key files have to be together in order to reconstruct the clear text (non-encrypted) copy).
EDIT Jul 17 2019 : newer version that uses terminus 28 bold font. ter-i32b was a bit too large for my laptops 1366x768 i.e. 768 / 32 = perfect fit for 24 character lines height that most x-terms default to. However when using tmux to ssh into hashbang where tmux is also running on that, then that's two character lines of tmux panels (one at the top, one at the bottom for my setup). telnet into a BBS from that and as DOS type windows work best with 80x25 then for some activities such as Multi-BBS relay chat the chat window was too small (22 lines). Swapping to the i28b font = 768 / 28 = 27 (rounded down) character lines, which when there are two lines for tmux panels still leaves 25 lines within which BBS chat (and/or other DOS type 80x25 content) comfortably fits, whilst the general use font size (other things) is still large/comfortable enough to avoid having to go -_- at the screen.
For fun/pastime I added dosbox into initrd, installed win3.1 and telix into a folder on hdd and played retro-style for a while. This image was taken in actual fatdog as initrd doesn't include a screen snap.
Left window is Telix connecting to a BBS, right window is Win3.1 running paint, using two separate DOSBox sessions. Focus and Alt-Enter to full screen maximise .. nice. That's a quite heavily reduced Win 3.1, which as a sfs is around 7MB, but does open up a alternative to running a gui within initrd (mouse etc worked fine for me) i.e. boot to initrd cli, extract the win31 sfs and then within dosbox mount that mount point as the c:
unsquashfs -f -d /mnt/sda1/win31 win31.sfs
dosbox
and in dosbox ...
mount c /mnt/sda1/win31
c:
windows
Edit 18 July 2019 : newer version that now includes dosbox and a mario (gui) game (in /games/mario). Read the mario.txt file for the keys to use. No sound as initrd hasn't any sound configured/installed. That has pushed initrd.gz up to 84MB in size.
boot with the bootshell kernel boot parameter and at the initrd command line read the /readme.txt file.
Fundamentally the same initrd as the default Fatdog supplied version, extended to cater for a 'baseshell' kernel boot parameter that when present boots into cli/tui with ssh, sshfs, mc, tmux, screen and fp IDE (not the full fp, just the front end that is intended to be used as a text editor only).
At 79MB its around 6MB larger than the standard initrd.
========================================
For reference, a script I use to pull out all libs used by a program - so you can drop them into initrd ...
Code: Select all
#!/bin/sh
function mkchroot
{
[ $# -lt 2 ] && return
dest=$1
shift
for i in "$@"
do
# Get an absolute path for the file
[ "${i:0:1}" == "/" ] || i=$(which $i)
# Skip files that already exist at target.
[ -f "$dest/$i" ] && continue
if [ -e "$i" ]
then
# Create destination path
d=`echo "$i" | grep -o '.*/'` &&
mkdir -p "$dest/$d" &&
# Copy file
cat "$i" > "$dest/$i" &&
chmod +x "$dest/$i"
else
echo "Not found: $i"
fi
# Recursively copy shared libraries' shared libraries.
mkchroot "$dest" $(ldd "$i" | egrep -o '/.* ')
done
}
mkchroot "$@"
exit 0
Notes
use the above shell script to copy all the executables listed on the command line,
and all the shared libraries they link to, into a new directory. Then you can chroot
into that directory to make sure they run.
The first argument is a new directory, and the rest of its arguments are
executables to copy. You can try it out like so:
mkchroot subdir /bin/sh /bin/ls
sudo chroot subdir /bin/sh
ls -l
exit
For example creating a folder /FILES and running the above script with parameters of /FILES tmux localedef mc mcedit ssh scp sftp sshfs ... assuming they're already installed into your main Fatdog system will largely copy the required files/libs into /FILES. Some additional files do need to manually added to that set for instance ssh also requires
cp /etc/nsswitch.conf /FILES/lib64/.
cp /lib64/libnss* /FILES/lib64/.
(and a copy of your ~/.ssh folder (ssh keys). mc also is missing a range of files/folders for it to work as intended. For mc I manually added (copied) folders
/etc/mc
~/.config/mc
~/.local/share/mc
/usr/libexec/mc
/usr/share/mc
For tmux I copied across my ~/.tmux.conf to /etc/tmux.conf.
For utf-8 I copied /usr/share/locale/en and en_GB, I also copied the folder /usr/share/i18n and terminfo and udhcpc. And a empty folder /usr/lib64/locale
Having a initrd that is quite functional by default (base fatdog), where you can wireless/hard-wired net connect and have ssh, tmux, mc etc. all to hand within that initrd is IMO considerably superior to the current base fatdog initrd. And whilst that does expand the initrd (without fd64.sfs up from around 72MB to 90MB, much of that additional content is relatively compressible. For instance gzip that initrd and it weighs in at around 80MB (just 8MB heavier). And that's before dropbear, that is included in the default initrd, is dropped (no longer required if replaced by the more comprehensive Openssh as above).
To accomodate entering the initrd shell I modified /sbin/system-init to add a baseshell boot parameter, so the modified section looks like ...
Code: Select all
# process keyfile - after load modules, before basesfs
process_keys
# baseshell
grep -q baseshell /proc/cmdline && echo 'Starting baseshell. Type "exit" to continue or reboot -f to reboot' && setsid cttyhack /bin/sh
# configure mdadm and lvm if requested, before basesfs and savefile
process_dofsck
Code: Select all
#!/bin/sh
PATH=/sbin:/bin:/usr/bin:/usr/local/bin export PATH
HOME=/root export HOME
# attempts to get tmux going (utf-8)
export TEXTDOMAINDIR=/usr/share/locale
export TEXTDOMAIN=easyinitrd
export OUTPUT_CHARSET=UTF-8
export LC_COLLATE=C
export LC_CTYPE=en_US.UTF-8
cd /root
mkdir -p /usr/lib64/locale # tmux (utf-8) failed without this folder
[ ! "$INIT_LANG" ] && INIT_LANG=C #precaution.
wkgLANG="${INIT_LANG}"
#this should match console font loaded in quicksetup...
case "${wkgLANG}" in
C|en*)
wkgLANG="C"
;;
ar*|he*|iw*) #arabic, hebrew
loadfont < /lib/consolefonts/LatArCyrHeb-16.psfu
;;
*) #all european languages...
#el|ru|uk|be|sr|tg|os|ba|ce|cv)
loadfont < /lib/consolefonts/LatGrkCyr-8x16.psfu
;;
esac
export wkgLANG
#gzip -d /lib/boot/keymaps/uk.gz
#loadkmap </lib/boot/keymaps/uk
#170206 reintroducing aufs in the kernel:
if grep -qw aufs /proc/filesystems; then
LAYERFS='aufs'
RO='=ro'
else
LAYERFS='overlay'
RO=''
fi
localedef -f UTF-8 -i en_US en_US.UTF-8
export LANG=en_US.UTF-8
export LANGORG=en_US.UTF-8
# tmux requires pseudo terminal
mount -t devpts non /dev/pts -o ptmxmode=0666,newinstance
# Setup/run tmux
#R=`ps -ef | grep tmux | wc -l`
#if [ $R -gt 1 ]; then
# exit
#fi
# start a tmux session, detach
# then send commands to that before reattaching to it
# Note that C-m is carriage return (enter)
# create a tmux session called work, and deattach so we can send keys to it
# Create the first window and load our menu into that ...
tmux new -s work -d
tmux rename-window -t work Menu
tmux send-keys -t work '/bin/sh -c /root/menu.sh' C-m
# Add another tmux window
tmux new-window -t work
tmux rename-window -t work top
tmux send-keys -t work "/bin/sh -c /bin/top" C-m
# Add another tmux window
tmux new-window -t work
tmux rename-window -t work mc
tmux send-keys -t work "/bin/sh -c /usr/bin/mc" C-m
# Add another tmux window
tmux new-window -t work
tmux rename-window -t work notes
tmux send-keys -t work "/bin/sh -c /usr/bin/mcedit /root/notes.txt" C-m
# and finally select which window to show first and attach to the tmux work session
tmux select-window -t work:4
tmux attach -t work
For a nicer (for my laptop screen) console font I modified /sbin/system-init to use a 32 bit font ter-i32b.psf.gz that I obtained from somewhere)
Code: Select all
de*|be*|br*|dk*|es*|fi*|fr*|it*|no*|se*|pt*|uk*)
modprobe nls_cp850
echo 850 > /etc/codepage
# Rufwoof - for uk we can use same as us
# setfont -C /dev/console $BOOT_FONTS/LatGrkCyr-8x16.psfu.gz
# echo LatGrkCyr-8x16 > /etc/fontmap
setfont -C /dev/console $BOOT_FONTS/ter-i32b.psf.gz
echo ter-i32b > /etc/fontmap
;;
With how I did it recorded (so I can repeat the process for later releases of Fatdog), attached is the initrd.xz for all of that. Using grub4dos to boot I'd suggest starting with a menu.lst entry of
Code: Select all
title NOMODESET VGA=ASK Fatdog baseshell
root (hd0,0)
kernel /vmlinuz baseshell pkeys=uk savefile=none nomodeset vga=ask
initrd /initrd.gz
... and then perhaps progress onto something like
Code: Select all
title Fatdog baseshell with wlan0
root (hd0,0)
kernel /vmlinuz baseshell net=wpa2:ssssssss:pppppppp:wlan0:dhcp pkeys=uk savefile=none
initrd /initrd.gz
After that, its down to you. Note that there's no fd64.sfs in any of this, so if you want to exit the above and continue conventional Fatdog booting, make sure you copy a fd64.sfs from somewhere to / before you exit the initrd shell. Or specify the basesfs and save file locations on the kernel boot line as you would normally.
Fundamentally the linked initrd.xz is the same as the standard fatdog initrd (but compressed to use .xz). But when the baseshell kernel boot parameter is included as above it drops to initrd cli and is set to run /root/run-tmux which loads up tmux that automatically starts on the /notes.txt page (that shows some help). Type a backtick character and the press 1 ... will take you to the menu window. Use the kill menu option to exit tmux and resume the standard bootup (or use the r (reboot) menu option to shutdown or p (power off) ...etc. Assuming its net connected OK then there are other options, reddit or a BBS for instance. Or press F11 to open a new window (cli) and ssh or sshfs mount ...etc. mc is also automatically loaded in another window, as is top (process viewer).
EDIT: extended to also include screen and fp ide (ide only - as a text editor/calculator). fp doesn't run well within tmux, however a workaround is to run 'screen' (another multiplexer) within tmux and then run fp within screen.
EDIT Jul 16 2019 : newer version uploaded that also includes ccrypt and pcrypt (pcrypt uses one time pad encryption, so a encrypted file takes up twice the amount of disk space, but where the .fck and .key files have to be together in order to reconstruct the clear text (non-encrypted) copy).
EDIT Jul 17 2019 : newer version that uses terminus 28 bold font. ter-i32b was a bit too large for my laptops 1366x768 i.e. 768 / 32 = perfect fit for 24 character lines height that most x-terms default to. However when using tmux to ssh into hashbang where tmux is also running on that, then that's two character lines of tmux panels (one at the top, one at the bottom for my setup). telnet into a BBS from that and as DOS type windows work best with 80x25 then for some activities such as Multi-BBS relay chat the chat window was too small (22 lines). Swapping to the i28b font = 768 / 28 = 27 (rounded down) character lines, which when there are two lines for tmux panels still leaves 25 lines within which BBS chat (and/or other DOS type 80x25 content) comfortably fits, whilst the general use font size (other things) is still large/comfortable enough to avoid having to go -_- at the screen.
For fun/pastime I added dosbox into initrd, installed win3.1 and telix into a folder on hdd and played retro-style for a while. This image was taken in actual fatdog as initrd doesn't include a screen snap.
Left window is Telix connecting to a BBS, right window is Win3.1 running paint, using two separate DOSBox sessions. Focus and Alt-Enter to full screen maximise .. nice. That's a quite heavily reduced Win 3.1, which as a sfs is around 7MB, but does open up a alternative to running a gui within initrd (mouse etc worked fine for me) i.e. boot to initrd cli, extract the win31 sfs and then within dosbox mount that mount point as the c:
unsquashfs -f -d /mnt/sda1/win31 win31.sfs
dosbox
and in dosbox ...
mount c /mnt/sda1/win31
c:
windows
Edit 18 July 2019 : newer version that now includes dosbox and a mario (gui) game (in /games/mario). Read the mario.txt file for the keys to use. No sound as initrd hasn't any sound configured/installed. That has pushed initrd.gz up to 84MB in size.
boot with the bootshell kernel boot parameter and at the initrd command line read the /readme.txt file.
- Attachments
-
- mario.png
- (69.28 KiB) Downloaded 711 times
Last edited by rufwoof on Thu 18 Jul 2019, 16:06, edited 9 times in total.
[size=75]( ͡° ͜ʖ ͡°) :wq[/size]
[url=http://murga-linux.com/puppy/viewtopic.php?p=1028256#1028256][size=75]Fatdog multi-session usb[/url][/size]
[size=75][url=https://hashbang.sh]echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh[/url][/size]
[url=http://murga-linux.com/puppy/viewtopic.php?p=1028256#1028256][size=75]Fatdog multi-session usb[/url][/size]
[size=75][url=https://hashbang.sh]echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh[/url][/size]
WPS Office 2019 (that includes a web browser)
As per http://murga-linux.com/puppy/viewtopic. ... 83#1032383
Fatdog 8.2 amd64 package https://drive.google.com/file/d/1M-pvcg ... sp=sharing (266MB)
Fatdog 8.2 amd64 sfs https://drive.google.com/file/d/1Kk3Nk6 ... sp=sharing (270MB)
Fatdog 8.2 amd64 package https://drive.google.com/file/d/1M-pvcg ... sp=sharing (266MB)
Fatdog 8.2 amd64 sfs https://drive.google.com/file/d/1Kk3Nk6 ... sp=sharing (270MB)
[size=75]( ͡° ͜ʖ ͡°) :wq[/size]
[url=http://murga-linux.com/puppy/viewtopic.php?p=1028256#1028256][size=75]Fatdog multi-session usb[/url][/size]
[size=75][url=https://hashbang.sh]echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh[/url][/size]
[url=http://murga-linux.com/puppy/viewtopic.php?p=1028256#1028256][size=75]Fatdog multi-session usb[/url][/size]
[size=75][url=https://hashbang.sh]echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh[/url][/size]
Blender 2.80 rc2 is now available
Blender 2.80 rc2 is now available
https://download.blender.org/release/Blender2.80/
___________________________________________________
https://download.blender.org/release/Blender2.80/
___________________________________________________
Recently uploaded packages and SFS files:
- R Project for Statistical Computing 3.6.1.
- rstudio 1.2.1335, R IDE.
- Kodi 18.2 SFS for series 800 only.
[url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Fatdog64-810[/url]|[url=http://goo.gl/hqZtiB]+Packages[/url]|[url=http://goo.gl/6dbEzT]Kodi[/url]|[url=http://goo.gl/JQC4Vz]gtkmenuplus[/url]
Description: Libva-utils is a collection of tests for VA-API (VIdeo Acceleration API), includes vainfo.
File-name: libva-utils-2.5.0-x86_64-802.txz
File-size: 406 kb
Download: libva-utils-2.5.0
________________________________________________________________
Description: Libva is an implementation for VA-API (VIdeo Acceleration API).
File-name: libva-2.5.0-x86_64-802.txz
File-size: 134 kb
Download: libva-2.5.0
________________________________________________________________
Description: VA-API user mode driver for Intel GEN Graphics family.
File-name: Libva-intel-driver-2.3.0-x86_64-802.txz
File-size: 860 kb
Download: Libva-intel-driver-2.3.0
__________________________________________________________________
Description: The Intel(R) Media Driver for VAAPI is a new VA-API (Video Acceleration API) user mode driver supporting hardware accelerated decoding, encoding, and video post processing for GEN based graphics hardware.
File-name: intel-media-va-driver-18.4.1-x86_64-802.txz
File-size: 18 mb
Download: intel-media-va-driver-18.4.1
Note: Add following to /etc/profile to enable:
File-name: libva-utils-2.5.0-x86_64-802.txz
File-size: 406 kb
Download: libva-utils-2.5.0
________________________________________________________________
Description: Libva is an implementation for VA-API (VIdeo Acceleration API).
File-name: libva-2.5.0-x86_64-802.txz
File-size: 134 kb
Download: libva-2.5.0
________________________________________________________________
Description: VA-API user mode driver for Intel GEN Graphics family.
File-name: Libva-intel-driver-2.3.0-x86_64-802.txz
File-size: 860 kb
Download: Libva-intel-driver-2.3.0
__________________________________________________________________
Description: The Intel(R) Media Driver for VAAPI is a new VA-API (Video Acceleration API) user mode driver supporting hardware accelerated decoding, encoding, and video post processing for GEN based graphics hardware.
File-name: intel-media-va-driver-18.4.1-x86_64-802.txz
File-size: 18 mb
Download: intel-media-va-driver-18.4.1
Note: Add following to /etc/profile to enable:
- export LIBVA_DRIVERS_PATH=/usr/lib64/dri/
export LIBVA_DRIVER_NAME=iHD
Last edited by jake29 on Wed 31 Jul 2019, 01:12, edited 4 times in total.
xfe-1.43.2-x86_64-1 contains various bug fixes.
md5sum: 137b96c07ece476c454340de2c3d1e78
link: https://c.gmx.com/@563381498539939943/4 ... Gkn4ISfVUA
md5sum: 137b96c07ece476c454340de2c3d1e78
link: https://c.gmx.com/@563381498539939943/4 ... Gkn4ISfVUA
-
- Posts: 170
- Joined: Wed 06 Aug 2014, 07:12
OBS - bugSpots: of PulseAudio at Every OBS in Turned on and Seamonkey doesn't works on Spot
URL: https://drive.google.com/file/d/10gmlHL ... p=drivesdk|UPDATE (2/9/2019): Newest version (PulseAudio update soon)
KDEnLive (Qt5+mlt will be depend for Turn on):
https://drive.google.com/file/d/1N3grA0 ... p=drivesdk (KDEnLive 18.12.3) + https://drive.google.com/file/d/10q7JDJ ... p=drivesdk (MLT 6.14|VAAPI Support)
Wacom + Digimend :
https://drive.google.com/folderview?id= ... eVDRZ5t-Ww
Commands for Compile:
1. ./configure $XORG_CONFIG --prefix=/usr --libdir=/usr/lib64 --build=x86_64-fatdog-linux-gnu --with-udev-rules-dir=/lib64/udev/rules.d (xf86)
2. ./configure --prefix=/usr --libdir=/usr/lib64 --build=x86_64-fatdog-linux-gnu --disable-static --with-udev-rules-dir=no (libwacom)
URL: https://drive.google.com/file/d/10gmlHL ... p=drivesdk|UPDATE (2/9/2019): Newest version (PulseAudio update soon)
KDEnLive (Qt5+mlt will be depend for Turn on):
https://drive.google.com/file/d/1N3grA0 ... p=drivesdk (KDEnLive 18.12.3) + https://drive.google.com/file/d/10q7JDJ ... p=drivesdk (MLT 6.14|VAAPI Support)
Wacom + Digimend :
https://drive.google.com/folderview?id= ... eVDRZ5t-Ww
Commands for Compile:
1. ./configure $XORG_CONFIG --prefix=/usr --libdir=/usr/lib64 --build=x86_64-fatdog-linux-gnu --with-udev-rules-dir=/lib64/udev/rules.d (xf86)
2. ./configure --prefix=/usr --libdir=/usr/lib64 --build=x86_64-fatdog-linux-gnu --disable-static --with-udev-rules-dir=no (libwacom)