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

The time now is Thu 22 Aug 2019, 13:57
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff)
Fatdog64 Contributed Packages and SFS
Post new topic   Reply to topic View previous topic :: View next topic
Page 22 of 23 [335 Posts]   Goto page: Previous 1, 2, 3, ..., 20, 21, 22, 23 Next
Author Message
don570


Joined: 10 Mar 2010
Posts: 5345
Location: Ontario

PostPosted: Thu 20 Jun 2019, 19:09    Post subject:  

Free images of nebula and stars

http://hubblesite.org/images/gallery
_____________________________________
Back to top
View user's profile Send private message 
rufwoof


Joined: 24 Feb 2014
Posts: 3352

PostPosted: Fri 21 Jun 2019, 06:10    Post subject:  

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".

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.

My inclination is to just shift the /usr/local/share... over to /usr/share... but that could break things ???

_________________
( ͡° ͜ʖ ͡°) :wq
Fatdog multi-session usb

echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh
Back to top
View user's profile Send private message 
rufwoof


Joined: 24 Feb 2014
Posts: 3352

PostPosted: Fri 21 Jun 2019, 20:01    Post subject: 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.


_________________
( ͡° ͜ʖ ͡°) :wq
Fatdog multi-session usb

echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh
Back to top
View user's profile Send private message 
rufwoof


Joined: 24 Feb 2014
Posts: 3352

PostPosted: Sat 22 Jun 2019, 08:17    Post subject: 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/viewtopic.php?p=1030787#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.

_________________
( ͡° ͜ʖ ͡°) :wq
Fatdog multi-session usb

echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5345
Location: Ontario

PostPosted: Sat 22 Jun 2019, 15:50    Post subject: 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/releases/download/v2.0.0-alpha.12/MyPaint---20190622.AppImage
Back to top
View user's profile Send private message 
step

Joined: 04 May 2012
Posts: 1192

PostPosted: Mon 24 Jun 2019, 14:54    Post subject:  

rufwoof wrote:
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".

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.

My inclination is to just shift the /usr/local/share... over to /usr/share... but that could break things ???

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.
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:

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

_________________
Fatdog64-802|+Packages|Kodi|Findnrun|+forum|gtkmenuplus
Back to top
View user's profile Send private message 
rufwoof


Joined: 24 Feb 2014
Posts: 3352

PostPosted: Mon 24 Jun 2019, 20:16    Post subject:  

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

_________________
( ͡° ͜ʖ ͡°) :wq
Fatdog multi-session usb

echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh
Back to top
View user's profile Send private message 
rufwoof


Joined: 24 Feb 2014
Posts: 3352

PostPosted: Sun 30 Jun 2019, 14:59    Post subject: sue - Wordstar command style cli editor  

http://murga-linux.com/puppy/viewtopic.php?p=1031232#1031232
_________________
( ͡° ͜ʖ ͡°) :wq
Fatdog multi-session usb

echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh
Back to top
View user's profile Send private message 
rufwoof


Joined: 24 Feb 2014
Posts: 3352

PostPosted: Tue 09 Jul 2019, 14:48    Post subject: tilda terminal
Subject description: modified so url links can be followed with left mouse click
 

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 )
tilda-leftclickonly.sfs.gz
Description 
gz

 Download 
Filename  tilda-leftclickonly.sfs.gz 
Filesize  172 KB 
Downloaded  24 Time(s) 

_________________
( ͡° ͜ʖ ͡°) :wq
Fatdog multi-session usb

echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh
Back to top
View user's profile Send private message 
step

Joined: 04 May 2012
Posts: 1192

PostPosted: Wed 10 Jul 2019, 14:38    Post subject:  

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.
_________________
Fatdog64-802|+Packages|Kodi|Findnrun|+forum|gtkmenuplus
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5345
Location: Ontario

PostPosted: Thu 11 Jul 2019, 15:11    Post subject:  

Release candidate for Blender 2.80 3d software...

https://download.blender.org/release/Blender2.80/
________________________________________________
Back to top
View user's profile Send private message 
rufwoof


Joined: 24 Feb 2014
Posts: 3352

PostPosted: Thu 11 Jul 2019, 18:35    Post subject:  

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.

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.

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.

_________________
( ͡° ͜ʖ ͡°) :wq
Fatdog multi-session usb

echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh
Back to top
View user's profile Send private message 
rufwoof


Joined: 24 Feb 2014
Posts: 3352

PostPosted: Sun 14 Jul 2019, 08:14    Post subject: 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 ...
Code:
#!/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

(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 ...

Code:
# 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


To start tmux within initrd I created a script /root/runtmux.sh with content
Code:
#!/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

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)
Code:


         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
            ;;

... 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
Code:
title NOMODESET VGA=ASK Fatdog baseshell
root (hd0,0)
kernel /vmlinuz baseshell pkeys=uk savefile=none nomodeset vga=ask
initrd /initrd.gz

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

Code:
title Fatdog baseshell with wlan0
root (hd0,0)
kernel /vmlinuz baseshell net=wpa2:ssssssss:pppppppp:wlan0:dhcp pkeys=uk savefile=none
initrd /initrd.gz

... 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.
mario.png
 Description   
 Filesize   69.28 KB
 Viewed   118 Time(s)

mario.png


_________________
( ͡° ͜ʖ ͡°) :wq
Fatdog multi-session usb

echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh

Last edited by rufwoof on Thu 18 Jul 2019, 12:06; edited 9 times in total
Back to top
View user's profile Send private message 
rufwoof


Joined: 24 Feb 2014
Posts: 3352

PostPosted: Wed 17 Jul 2019, 17:27    Post subject: WPS Office 2019 (that includes a web browser)  

As per http://murga-linux.com/puppy/viewtopic.php?p=1032383#1032383

Fatdog 8.2 amd64 package https://drive.google.com/file/d/1M-pvcgDWT8vQYSJx5dQZ-oEKGOcpp2D0/view?usp=sharing (266MB)

Fatdog 8.2 amd64 sfs https://drive.google.com/file/d/1Kk3Nk64Rw_1tJwSsGag0LvgQd0r6Jx24/view?usp=sharing (270MB)


_________________
( ͡° ͜ʖ ͡°) :wq
Fatdog multi-session usb

echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5345
Location: Ontario

PostPosted: Thu 18 Jul 2019, 19:36    Post subject: Blender 2.80 rc2 is now available  

Blender 2.80 rc2 is now available
https://download.blender.org/release/Blender2.80/
___________________________________________________
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 22 of 23 [335 Posts]   Goto page: Previous 1, 2, 3, ..., 20, 21, 22, 23 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff)
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.1875s ][ Queries: 13 (0.0651s) ][ GZIP on ]