<xmp><!-- <body><!--'"</title></head>--> <script type="text/javascript"> //OwnerIQ var __oiq_pct = 50; if( __oiq_pct>=100 || Math.floor(Math.random()*100/(100-__oiq_pct)) > 0 ) { var _oiqq = _oiqq || []; _oiqq.push(['oiq_addPageBrand','Lycos']); _oiqq.push(['oiq_addPageCat','Internet > Websites']); _oiqq.push(['oiq_addPageLifecycle','Intend']); _oiqq.push(['oiq_doTag']); (function() { var oiq = document.createElement('script'); oiq.type = 'text/javascript'; oiq.async = true; oiq.src = document.location.protocol + '//px.owneriq.net/stas/s/lycosn.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(oiq, s); })(); } //Google Analytics var _gaq = _gaq || []; _gaq.push(['_setAccount','UA-21402695-19']); _gaq.push(['_setDomainName','tripod.com']); _gaq.push(['_setCustomVar',1,'member_name','trcmdisk01',3]); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); //Lycos Init function getReferrer() { var all= this.document.cookie; if (all== '') return false; var cookie_name = 'REFERRER='; var start = all.lastIndexOf(cookie_name); if (start == -1) return false; start += cookie_name.length; var end = all.indexOf(';', start); if (end == -1) end = all.length; return all.substring(start, end); } function getQuery() { var rfr = getReferrer(); if (rfr == '') return false; var q = extractQuery(rfr, 'yahoo.com', 'p='); if (q) return q; q = extractQuery(rfr, '', 'q='); return q ? q : ""; } function extractQuery(full, site, q_param) { var start = full.lastIndexOf(site); if (start == -1) return false; start = full.lastIndexOf(q_param); if (start == -1) return false; start += q_param.length; var end = full.indexOf('&', start); if (end == -1) end = full.length; return unescape(full.substring(start, end)).split(" ").join("+"); } function generateHref(atag, template){ atag.href=template.replace('_MYURL_', window.location.href.replace('http://', '')).replace('_MYTITLE_','Check%20out%20this%20Tripod%20Member%20site!'); } var lycos_ad = Array(); var lycos_onload_timer; var cm_role = "live"; var cm_host = "tripod.lycos.com"; var cm_taxid = "/memberembedded"; var tripod_member_name = "trcmdisk01"; var tripod_member_page = "trcmdisk01/linux/s_porteus3101.html"; var tripod_ratings_hash = "1498429477:00c5b0b60a6f8d3d587aedbdc3f03a21"; var lycos_ad_category = null; var lycos_ad_remote_addr = "54.198.102.92"; var lycos_ad_www_server = "www.tripod.lycos.com"; var lycos_ad_track_small = "http://members.tripod.com/adm/img/common/ot_smallframe.gif?rand=404539"; var lycos_ad_track_served = "http://members.tripod.com/adm/img/common/ot_adserved.gif?rand=404539"; var lycos_search_query = getQuery(); </script> <script type="text/javascript" src="http://scripts.lycos.com/catman/init.js"></script> <script type='text/javascript'> var googletag = googletag || {}; googletag.cmd = googletag.cmd || []; (function() { var gads = document.createElement('script'); gads.async = true; gads.type = 'text/javascript'; var useSSL = 'https:' == document.location.protocol; gads.src = (useSSL ? 'https:' : 'http:') + '//www.googletagservices.com/tag/js/gpt.js'; var node = document.getElementsByTagName('script')[0]; node.parentNode.insertBefore(gads, node); })(); </script> <script type='text/javascript'> googletag.cmd.push(function() { googletag.defineSlot('/95963596/TRI_300X250_dfp', [300, 250], 'div-gpt-ad-1450204159126-0').addService(googletag.pubads()); googletag.defineSlot('/95963596/TRI_above_728x90_dfp', [728, 90], 'div-gpt-ad-1450204159126-1').addService(googletag.pubads()); googletag.defineSlot('/95963596/TRI_below_728x90_dfp', [728, 90], 'div-gpt-ad-1450204159126-2').addService(googletag.pubads()); googletag.pubads().enableSingleRequest(); googletag.enableServices(); }); </script> <script type="text/javascript"> (function(isV) { if( !isV ) { return; } var adMgr = new AdManager(); var lycos_prod_set = adMgr.chooseProductSet(); var slots = ["leaderboard", "leaderboard2", "toolbar_image", "toolbar_text", "smallbox", "top_promo", "footer2", "slider"]; var adCat = this.lycos_ad_category; adMgr.setForcedParam('page', (adCat && adCat.dmoz) ? adCat.dmoz : 'member'); if (this.lycos_search_query) { adMgr.setForcedParam("keyword", this.lycos_search_query); } else if(adCat && adCat.find_what) { adMgr.setForcedParam('keyword', adCat.find_what); } for (var s in slots) { var slot = slots[s]; if (adMgr.isSlotAvailable(slot)) { this.lycos_ad[slot] = adMgr.getSlot(slot); } } adMgr.renderHeader(); adMgr.renderFooter(); }((function() { var w = 0, h = 0, minimumThreshold = 300; if (top == self) { return true; } if (typeof(window.innerWidth) == 'number' ) { w = window.innerWidth; h = window.innerHeight; } else if (document.documentElement && (document.documentElement.clientWidth || document.documentElement.clientHeight)) { w = document.documentElement.clientWidth; h = document.documentElement.clientHeight; } else if (document.body && (document.body.clientWidth || document.body.clientHeight)) { w = document.body.clientWidth; h = document.body.clientHeight; } return ((w > minimumThreshold) && (h > minimumThreshold)); }()))); window.onload = function() { var f = document.getElementById("FooterAd"); var b = document.getElementsByTagName("body")[0]; b.appendChild(f); f.style.display = "block"; document.getElementById('lycosFooterAdiFrame').src = '/adm/ad/footerAd.iframe.html'; // DOM Inj Ad (function(isTrellix) { var e = document.createElement('iframe'); e.style.border = '0'; e.style.margin = 0; e.style.display = 'block'; e.style.cssFloat = 'right'; e.style.height = '254px'; e.style.overflow = 'hidden'; e.style.padding = 0; e.style.width = '300px'; var isBlokedByDomain = function( href ) { var blockedDomains = [ "ananyaporn13000.tripod.com", "xxxpornxxx.tripod.com" ]; var flag = false; for( var i=0; i<blockedDomains.length; i++ ) { if( href.search( blockedDomains[ i ] ) >= 0 ) { flag = true; } } return flag; } var getMetaContent = function( metaName ) { var metas = document.getElementsByTagName('meta'); for (i=0; i<metas.length; i++) { if( metas[i].getAttribute("name") == metaName ) { return metas[i].getAttribute("content"); } } return false; } var getCommentNodes = function(regexPattern) { var nodes = {}; var nodesA = []; var preferredNodesList = ['a', 'c', 'b']; (function getNodesThatHaveComments(n, pattern) { if (n.hasChildNodes()) { if (n.tagName === 'IFRAME') { return false; } for (var i = 0; i < n.childNodes.length; i++) { if ((n.childNodes[i].nodeType === 8) && (pattern.test(n.childNodes[i].nodeValue))) { var areaName = pattern.exec(n.childNodes[i].nodeValue)[1]; nodes[areaName] = n; } else if (n.childNodes[i].nodeType === 1) { getNodesThatHaveComments(n.childNodes[i], pattern); } } } }(document.body, regexPattern)); for (var i in preferredNodesList) { if (nodes[preferredNodesList[i]]) { if( isTrellix && nodes[preferredNodesList[i]].parentNode.parentNode.parentNode.parentNode ) { nodesA.push(nodes[preferredNodesList[i]].parentNode.parentNode.parentNode.parentNode); } else { nodesA.push( nodes[preferredNodesList[i]] ); } } } return nodesA; } var properNode = null; var areaNodes = getCommentNodes( new RegExp( '^area Type="area_(\\w+)"' ) ); for (var i = 0; i < areaNodes.length; i++) { var a = parseInt(getComputedStyle(areaNodes[i]).width); if ((a >= 300) && (a <= 400)) { properNode = areaNodes[i]; break; } } var propertyName = getMetaContent("property") || false; if( isTrellix && (properNode) ) { e.src = '/adm/ad/injectAd.iframe.html'; properNode.insertBefore(e, properNode.firstChild); } else if( isTrellix && !( properNode ) ) // Slap the ad eventhought there is no alocated slot { e.src = '/adm/ad/injectAd.iframe.html'; e.style.cssFloat = 'none'; var cdiv = document.createElement('div'); cdiv.style = "width:300px;margin:10px auto;"; cdiv.appendChild( e ); b.insertBefore(cdiv, b.lastChild); } else if( !isBlokedByDomain( location.href ) ) { var injF = document.createElement('iframe'); injF.style.border = '0'; injF.style.margin = 0; injF.style.display = 'block'; injF.style.cssFloat = 'none'; injF.style.height = '254px'; injF.style.overflow = 'hidden'; injF.style.padding = 0; injF.style.width = '300px'; injF.src = '/adm/ad/injectAd.iframe.html'; if( b && ( !isTrellix || ( typeof isTrellix == "undefined" ) ) ) // All other tripod props { var cdiv = document.createElement('div'); cdiv.style = "width:300px;margin:10px auto;"; cdiv.appendChild( injF ); b.insertBefore(cdiv, b.lastChild); } } }( document.isTrellix )); } </script> <div id="tb_container" style="background:#DFDCCF; border-bottom:1px solid #393939; position:relative; z-index:999999999!important"> <!--form name="search" onSubmit="return searchit()" id='header_search' > <input type="text" placeholder="Search" size=30 name="search2" value=""> <input type="button" value="Go!" onClick="searchit()"> </form> <style> form#header_search { width: 916px; margin: 0 auto 8px; position: relative; } form#header_search input { height: 40px; font-size: 14px; line-height: 40px; padding: 0 8px; box-sizing: border-box; background: #F4F2E9; border: 1px solid #BBB8B8; transition: background-color 300ms ease-out, color 300ms ease; } form#header_search input[type="text"] { width: 100%; } form#header_search input[type="text"]:focus { border-color: #A2D054; background-color: #fff; box-shadow: 0 0px 12px -4px #A2D054; } form#header_search input[type="button"] { position: absolute; top: 1px; right: 1px; opacity: 1; background: #DFDCCF; color: #463734; width: 125px; cursor: pointer; height: 38px; border: none; } form#header_search input[type="text"]:focus ~ input[type='button']:hover, form#header_search input[type='button']:hover { background-color: #A5CE56; color: #fff; } form#header_search input[type="text"]:focus ~ input[type='button'] { background-color: #52AEDF; color: #fff; } </style> <script> function searchit(){ // determine environment var search_env if (lycos_ad_www_server.indexOf(".pd.") > -1) { search_env = 'http://search51.pd.lycos.com/a/'; } else if (lycos_ad_www_server.indexOf(".qa.") > -1) { search_env = 'http://search51.qa.lycos.com/a/'; } else { search_env = 'http://search51.lycos.com/a/'; } var search_term = encodeURIComponent(document.search.search2.value) var search_url = search_env+search_term; window.open(search_url); return false } </script--> <style> .adCenterClass{margin:0 auto} </style> <div id="tb_ad" class="adCenterClass" style="display:block!important; overflow:hidden; width:916px;"> <a href="http://adtrack.ministerial5.com/clicknew/?a=637394" title="build your own website at Tripod.com" style="float:left; width:186px; border:0"> <img src="http://ly.lygo.com/ly/tpSite/images/freeAd2.jpg" alt="Make your own free website on Tripod.com" style="border:0; display:block" /> </a> <div id="ad_container" style="display:block!important; float:left; width:728px "> <script type="text/javascript">document.write(lycos_ad['leaderboard']);</script> </div> </div> </div> <script type="text/javascript">document.write(lycos_ad['slider']);</script> <!-- added 7/22 --> <div id="FooterAd" style="background:#DFDCCF; border-top:1px solid #393939; clear:both; display:none; width:100%!important; position:relative; z-index:999999!important; height:90px!important"> <div class="adCenterClass" style="display:block!important; overflow:hidden; width:916px;"> <a href="http://adtrack.ministerial5.com/clicknew/?a=637394" title="build your own website at Tripod.com" style="float:left; display:block; width:186px; border:0"> <img src="http://ly.lygo.com/ly/tpSite/images/freeAd2.jpg" alt="Make your own free website on Tripod.com" style="border:0; display:block; " /> </a> <div id="footerAd_container" style="display:block!important; float:left; width:728px"> <iframe id="lycosFooterAdiFrame" style="border:0; display:block; float:left; height:96px; overflow:hidden; padding:0; width:750px"></iframe> </div> </div> </div> --></xmp>


Linux logo

Porteus 3.1 User Scripting.

initthis.cfg :: zkp :: kinit :: dtinit :: .Xresources :: kopenvt :: shstat :: grub.cfg :: MCmenu :: runsudo


+++ initthis.cfg
#!/bin/sh
#========

# initthis.cfg for Porteus 3.1
# specified on commandline via cliexec= parm

echo ...
echo initthis.cfg in progress
echo -e "\033[1;34m$(date +%G%b%d%a.%P%H:%M:%S)\033[0m"

echo -e "\033[1;32m  _______  _______  _______  _______  \033[0m"
echo -e "\033[1;32m |     __||    |  ||       ||     __| \033[0m"
echo -e "\033[1;32m |__     ||       ||   -   ||    |  | \033[0m"
echo -e "\033[1;32m |_______||__|____||_______||_______| Linux \033[0m"

# X11 vesa
# ln -sf /etc/X11/xorg.conf-vesa /etc/X11/xorg.conf.d/20-vesa.conf
  grep -q "snogvesa" /proc/cmdline && /sbin/lspci | grep -q "Rage 128 PRO Ultra AGP 4x" && rm -rf /usr/lib/xorg/modules/drivers/r128_drv.so
# connection
# $(zkp)/sh/shpppcon --init &>/dev/null
  $(zkp)/sh/shmacset &>/dev/null

# freedesktop.org
  $(zkp)/sh/shxdg &>/dev/null
# slackware.com
  rm -rf /etc/profile.d/coreutils-dircolors.*  
# symlink: snogpad theme
  SRC=snogpad.xml ; ln -sf $(zkp)/${SRC} /usr/share/gtksourceview-2.0/styles/${SRC}
# symlink: vfu
  ln -sf /usr/lib/libpcre.so.1 /usr/lib/libpcre.so.3
# symlink: xchat
  ln -sf /usr/lib/libffi.so.6.0.1 /usr/lib/libffi.so.5
# symlink: openCobol
  ln -sf /lib/libdb-4.8.so /lib/libdb.so
# terminfo: urxvt 8.19
  cp -fp $(zkp)/.config/terminfo/r/* /usr/share/terminfo/r/

# xfce
# submenuing
  SRC=xfce-applications.menu ; ln -sf $(zkp)/${SRC} /etc/xdg/menus/${SRC}
  SRC=xfce-kpzone.directory  ; ln -sf $(zkp)/${SRC} /usr/share/desktop-directories/${SRC}
# compositor setting persistence
# cp -fp $(zkp)/xfwm4.xml /home/guest/.config/xfce4/xfconf/xfce-perchannel-xml &>/dev/null

# kde4
# startup sound
  ln -sf /usr/share/sounds/KDE-all.ogg /usr/share/sounds/KDE-Sys-Log-In.ogg
# splash screen
  ln -sf /usr/share/wallpapers/opensuse_rays_1600x1200.jpg /usr/share/apps/ksplash/Themes/Default/1600x1200/black.jpg &>/dev/null

# banner / log
  mv /etc/issue /etc/issue_van
  KSCA="Screaming CuckooBroad Associates"
  logger $(echo '(!)' ${KSCA} $(date +%G) '(!)')

echo -e "\033[1;34minitthis.cfg complete\033[0m"
# read aparm
# do *not* exit if run from Porteus commandline
# exit 0


+++ zkp
#!/bin/sh
#========

# Screaming CuckooBroad Associates 2013 -=[zkp]=- for Porteus 2.1 (Linux 3.9.11)
# resides in /usr/bin (in ${PATH} for all users)
# usage: $(zkp) alone globally returns kpZone path; any parm runs the editor

# KPU=/opt/bin/kpZone/kData/unx
# KPU=/home/tux/kpZone/kData/unx
  KPU=/etc/kpzone/kData/unx
# KPU=/home/guest/kpZone/kData/unx
# KPU=/data/data/jackpal.androidterm

# [ -z $1 ] && echo -n ${KPU} || exec ue $@
# [ -z $1 ] && echo -n ${KPU} || xterm -e ue $@
  [ -z $1 ] && echo -n ${KPU} || urxvt -T microemacs -e ue $@
# [ -z $1 ] && echo -n ${KPU} || xfce4-terminal -T microemacs -I slackware -e "ue $@"

exit 0


+++ kinit
#!/bin/sh
#========

echo -ne "\033[1;32m"
echo ooo
echo Global Linux init ...
date +%G%b%d%a.%P%H:%M:%S
uname -srm

# alias catalogue
# $(zkp)/sh/kalicat
  SRC=$(zkp)/../bin
  for i in $(ls -1 ${SRC})
  do
    sudo ln -sf ${SRC}/${i} /usr/local/bin/${i}
  done

# temporary directories
for ARG in adq kdir
do
  [ -d /tmp/${ARG} ] || mkdir /tmp/${ARG}
done

# X window system stuff
if [ "${DISPLAY}" != "" ]
then

# bell kbrepeat mouse
  xset -b r rate 300 65 m 3 0

# power / screensaver
  xset s noblank
# xset s 1796 1
# xset dpms 1800 1800 1800
  xset s 0
  xset dpms 0 0 0

# fonts
# KFONT=$(zkp)/.config/.fonts
  KFONT=/usr/share/fonts/trcm
  [ -d ${KFONT} ] && xset +fp ${KFONT} &

fi

# Q17
  [ $(command -v qdate) ] && qdate

echo Welcome to the system.
echo -ne "\033[1;36m"
exit 0


+++ dtinit
#!/bin/sh
#========

# dtinit: runs programs after DEs have been scheduled
# executed from ~/.config/autostart/dtinit.desktop

echo ${0##*/}: Xprogs starting
date +%G%b%d%a.%P%H:%M:%S
uname -srm

# java
  $(zkp)/sh/shcloop /mnt/live/porteus/modules/../../ini_slitaz/tazvres/cxr/java16.cxr

# wait for X11 to come up
  sleep 6
# Porteus 2.1 xterm init bug cf /etc/X11/xinit
  xrdb -merge /etc/X11/xinit/.Xresources
# user X11 stuff & numpad navkeys
  xrdb -merge ${HOME}/.Xresources
  xmodmap ${HOME}/.Xmodmap
# clean up
  rm -rf ${HOME}/Desktop/Home.desktop
  rm -rf ${HOME}/Desktop/trash.desktop

if [ "${XDG_CURRENT_DESKTOP}" == "LXQt" ]
then
# wait for pcmanfm to come up
  sleep 6
# sudo pkill -x pcmanfm
  pcmanfm-qt --desktop-off
# wallpaper
  nitrogen --set-scaled /etc/kpzone/kData/img/kcurrbg.jpg
# universal tasks
  /opt/xfishtank/bin/runxftk &>/dev/null
fi

if [ "${XDG_CURRENT_DESKTOP}" != "KDE" ]
then
  xpenguins -n 1 -t Classic_Penguins &
  $(zkp)/sh/rungkmon
  cairo-dock -c &
fi

exit 0


+++ .Xresources
! Screaming CuckooBroad Associates 2015
! ~/.Xresources for Porteus 3.1 Xfce/KDE4 Linux 3.17.4 Xorg 1.14.5
! .Xdefaults is fully deprecated & unprocessed
! explicit xrdb -merge is never a bad idea ;)

! XTerm settings.
! /usr/bin/xterm is an ELF executable

xterm*background: black
xterm*foreground: #0000ffffffff
xterm*geometry: -256-40
xterm*cursorColor: blue
xterm*iconFile: /usr/share/icons/hicolor/32x32/apps/opera-browser.png

! TrueType & BoldFonts *off* 
xterm*renderFont: false
xterm*allowBoldFonts: false

! all urxvt sessions (xprop class 2)
URxvt*background: black
URxvt*foreground: #0000ffffffff
URxvt*geometry: -256-100
! run "fc-list" for a list of available fonts
! URxvt.font: xft:DejaVuSansMono:style=Book:pixelsize=14
! URxvt.font: xft:DejaVuSansMono:style=Bold:pixelsize=13
! URxvt.font: xft:DejaVuSansMono:style=Bold:pixelsize=11
  URxvt.font: xft:Fixed:style=Regular:pixelsize=11

! urxvt sessions by -name (xprop class 1)
  urxvt*cursorColor: green
! urxvt*iconFile: /usr/share/pixmaps/porteus/slackware128.png
! urxvt*iconFile: /usr/share/icons/hicolor/32x32/apps/slackware.png
  urxvt*iconFile: /usr/share/icons/Humanity-LXDE/devices/24/computer.png

snogterm*cursorColor: red
snogterm*iconFile: /usr/share/pixmaps/lxterminal.png

  crabmelt*cursorColor: blue
! crabmelt*iconFile: /usr/share/icons/Humanity-LXDE/apps/24/utilities-system-monitor.png
  crabmelt*iconFile: /usr/share/icons/hicolor/48x48/apps/pattern-kde-laptop.png
! crabmelt*iconFile: /usr/share/pixmaps/display.png

microemacs*cursorColor: blue
microemacs*iconFile: /usr/share/pixmaps/snogicon.png

irssi*iconFile: /usr/share/icons/hicolor/48x48/apps/usmslackware.png

xedit*background: black
xedit*foreground: #0000ffffffff
xedit*cursorColor: green


+++ kopenvt
#!/bin/sh
#========

# kopenvt - console handler v2.20 for Porteus 2.1
#           Screaming CuckooBroad Associates 2013
#
# parm -x : invokes Xorg in background mode, freeing the issuing console
# parm -0 : issues deallocvt to clear out opened & exited VTs
# parm -u : (experimental resource) like default but only user passed to su
# default : issues openvt w/ switching, substitutes user & executes shell
#           (this creates an ordinary VT console for given user)
#
# invocations: commandline, vfu, midcomm, lynx

USR=$(id -un)

case $1 in
  -x ) startx & ;;
  -0 ) sudo deallocvt ;;
  -u ) shift; sudo openvt -s -- su - ${USR} $@ ;;
   * )        sudo openvt -s -- su - ${USR} -c sh ;;
esac

exit 0


+++ shstat
#!/bin/sh
#========

TEXTOUT=/tmp/kstats.txt

{
echo
echo ooo
echo System stats v1.02.037
date +%G%b%d%a.%P%H:%M:%S
uname -srm
} > ${TEXTOUT}

{
  echo ; id
  echo ; md5sum $0
  echo ; cat /proc/cpuinfo
: echo ; /sbin/lspci
  echo ; lsusb
  echo ; cat /proc/devices
  echo ; cat /proc/partitions
: echo ; sudo /sbin/fdisk -l
  echo ; df -h
  echo ; mount | sort
  echo ; cat /proc/meminfo
  echo ; ulimit -a
  echo ; vmstat
  echo ; cat /proc/cmdline
  echo ; xrandr
  echo ; cat /proc/1/status
  echo ; lsmod
  echo ; ps -ef f
  echo ; pstree -p
  echo ; ls -al $(zkp) $(zkp)/sh
# echo ; cat /var/log/messages
  echo ; netstat -a
  echo ; netstat -rn
  echo ; cat /etc/resolv.conf
# echo ; cat /etc/sysconfig/netcard
  echo ; /sbin/ifconfig
: echo ; dmesg

  XORGVESA="VESA(0): Total Memory"
  XORG0LOG="/var/log/Xorg.0.log"
  if cat ${XORG0LOG} | grep -q "${XORGVESA}"
  then
    echo ; cat ${XORG0LOG} | grep -B 1024 "for matching VESA"
#   echo ; echo -=[ snip ]=-
    echo ; cat ${XORG0LOG} | grep -A 1024 "${XORGVESA}"
  else
    echo ; cat ${XORG0LOG}
  fi

  echo ; xset -q
# echo ; /sbin/sysctl -a 2>/dev/null
# echo ; cat /proc/slabinfo
  echo ; /lib/libc.so.6
  echo ; cat /etc/ld.so.conf
  echo ; /sbin/ldconfig -p
# echo ; pkg-config --list-all
  echo ; ls -al /mnt/live/porteus/modules/../*
  echo ; fc-list | sort
  echo ; set

} >> ${TEXTOUT}

case "$1" in
  "--vi"   ) exec vi                ${TEXTOUT} ;;
  "--ue"   ) exec ue -v             ${TEXTOUT} ;;
  "--le"   ) exec le -r             ${TEXTOUT} ;;
  "--less" ) exec less -m~          ${TEXTOUT} ;;
  "--nano" ) exec nano -ackSexUIDv  ${TEXTOUT} ;;
  "--lynx" ) exec $(zkp)/sh/runlynx ${TEXTOUT} ;;
         * ) exec cat               ${TEXTOUT} ;;
esac

exit 0


+++ grub.cfg

# Screaming CuckooBroad Associates 2017
# /boot/grub/grub.cfg: GRUB2 boot loader configuration
# for MMLF64: 64bit Massively Multibootable LiveISO Farm
#
# v0.02.002 : SliTaz 4.0        : Linux 2.6.37
# v0.02.003 : DSLinux 4.4.10    : Linux 2.4.31
#             Puppy 5.3.1       : Linux 3.0.25
# v0.02.008 : Porteus 2.1       : Linux 3.9.11
# v0.02.010 : Porteus 3.0       : Linux 3.13.6
# v0.02.011 : grml 2014.03      : Linux 3.13.1
# v0.02.012 : Porteus 3.1       : Linux 3.17.4
# v0.02.013 : Vector 7.0        : Linux 3.0.08
# v0.02.014 : grml 2014.11      : Linux 3.16.0
#             Xubuntu 14.10     : Linux 3.16.0
#             Solydxk 201407    : Linux 3.16.0
#             openSUSE 13.1     : Linux 3.11.6
#             Fedora 21         : Linux 3.17.4
# v0.02.015 : Parabola 2015.01  : Linux 3.18.3
# v0.02.016 : SalentOS 14.04    : Linux 3.13.x
#             Calculate 14.12.1 : Linux 3.14.27
# v0.02.017 : Xubuntu 15.04     : Linux 3.19.0
# v0.02.018 : Fedora 22         : Linux 4.0.4
# v0.02.019 : Calculate 14.16.2 : Linux 3.18.14
#             Finnix 111        : Linux 4.0.0
#             Solydxk 201506    : Linux 3.16.0
# v0.02.020 : Debian 8.1        : Linux 3.16.0
#             BridgeLinux 14.02 : Linux 3.12.9
#             SysRescCD 4.5.3   : Linux 3.14.43
# v0.02.021 : antiX mx-14.4     : Linux 3.14.0
#             antiX 15-V        : Linux 4.0.5
#             Trisquel mini 7.0 : Linux 3.13.0
# v0.02.022 : Mint 17           : Linux 3.13.0
#             Chromixium 1.5    : Linux 3.13.0
# v0.03.001 : 64bit conversion  : (various)
# v0.03.002 : Kali 2.0          : Linux 4.0.0
#             Mint 17.2         : Linux 3.16.0
#             Sabayon 15.08     : Linux 4.1.0
#             Backbox 4.3       : Linux 3.16.0
# v0.03.003 : RebeccaBlackOS    : Linux 3.19.0
#             Q4OS 1.2.8        : Linux 3.16.0
#             Void 0.47         : Linux 4.1.2
#             Gentoo 20140826   : Linux 3.15.6
#             TinyCore 6.3      : Linux 3.16.6
# v0.03.004 : Handy 2.2         : Linux 3.16.7
#             Q4OS 1.4.1        : Linux 3.16.0
#             openSUSE 13.2     : Linux 3.16.6
#             Semplice 2015.2   : Linux 4.1.7
#             ExeGNU 20150914   : Linux 3.16.0
# v0.03.005 : Archbang 20150916 : Linux 4.1.6
#             Sabayon 15.10     : Linux 4.1.0
#             Calculate 15      : Linux 3.18.20
#             PCLinuxOS 2015    : Linux 4.1.6
#             Backbox 4.4       : Linux 3.19.0
#             Q4OS 1.4.3        : Linux 3.16.0
#             Debian 8.2        : Linux 3.16.0
# v0.03.006 : Xubuntu 15.10     : Linux 4.2.0
#             Korora 22 Xfce    : Linux 4.1.3
#             Sabayon 15.11     : Linux 4.2.0
#             Fedora 23         : Linux 4.2.3
# v0.03.007 : Tumbleweed 151030 : Linux 4.2.4
#             Sabayon 15.12     : Linux 4.3.0
#             Q4OS 1.4.4        : Linux 3.16.0
#             Parabola 2015.11  : Linux 4.2.5
# v0.03.008 : RoboLinux 8.3     : Linux 3.16.0
#             Rosa R6           : Linux 4.1.13
#             LXQtExTiX 15.4    : Linux 4.2.0
#             CentOS7 15.11     : Linux 3.10.0
#             Sparky 4.2        : Linux 4.2.0
# v0.03.009 : antiX mx-15       : Linux 4.2.0
#             Sabayon 16.01     : Linux 4.3.0
#             Calculate 15.12   : Linux 4.2.8
#             Siduction 15.1    : Linux 4.3.3
#             Q4OS 1.4.5        : Linux 3.16.0
#             Mint 17.3         : Linux 3.19.0
# v0.03.010 : LXQtExTiX 16.1    : Linux 4.4.0
#             Kali 2016.1       : Linux 4.3.0
#             Q4OS 1.4.6        : Linux 3.16.0
#             Backbox 4.5       : Linux 4.2.0
#             Sabayon 16.02     : Linux 4.4.0
#             Urix 7.0.3        : Linux 4.1.12
#             Debian 8.3        : Linux 3.16.0
#             Q4OS 1.4.7        : Linux 3.16.0
#             Korora 23 Xfce    : Linux 4.3.4
#             RebeccaBlackOS    : Linux 4.3.0
# v0.03.011 : Ubuntu mate 15.10 : Linux 4.2.0
#             Trisquel 7.0      : Linux 3.13.0
#             antiX-15.1        : Linux 4.3.0
#             Zorin 11          : Linux 4.2.0
#             lsCotton 2016     : Linux 3.19.0
#             Parrotsec 2.2     : Linux 4.3.3
#             Sabayon 16.03     : Linux 4.4.0
# v0.03.012 : Archbang 20160301 : Linux 4.4.1
#             Runtu 14.04.2     : Linux 3.16.0
#             RoboLinux 8.4     : Linux 3.16.0
#             Q4OS 1.4.8        : Linux 3.16.0
#             Sabayon 16.04     : Linux 4.4.0
#             Debian 8.4        : Linux 3.16.0
# v0.03.013 : Q4OS 1.4.9        : Linux 3.16.0
#             Astra 1.11        : Linux 4.2.0
#             Xubuntu 16.04     : Linux 4.4.0
#             TDE-ubuntu 14.0.3 : Linux 3.13.0
#             Sabayon 16.05     : Linux 4.5.0
#             Sparky 4.3        : Linux 4.5.0
#             Ubuntu mate 16.04 : Linux 4.4.0
#             Void 160420       : Linux 4.5.2
# v0.03.014 : Sparky gameover   : Linux 4.5.0
#             ExtonOSmate 16.5  : Linux 4.5.3
#             Calculate 15.17   : Linux 4.4.9
#             Q4OS 1.4.10       : Linux 3.16.0
#             Parabola 2016.06  : Linux 4.5.4
#             SysRescCD 4.7.3   : Linux 4.1.25
#             Debian 8.5        : Linux 3.16.0
#             Q4OS 1.4.11       : Linux 3.16.0
# v0.03.015 : Robolinux 8.5     : Linux 3.16.0
#             Parrotsec 3.0     : Linux 4.5.0
#             Fedora 24         : Linux 4.5.5
#             Q4OS 1.4.12       : Linux 3.16.0
#             Sabayon 16.07     : Linux 4.6.0
#             Mint 18 mate      : Linux 4.4.0
#             SysRescCD 4.8.0   : Linux 4.4.14
#             Parabola 2016.07  : Linux 4.6.3
#             Korora 24 Xfce    : Linux 4.6.3
#             Xubuntu 16.04.1   : Linux 4.4.0
#             Parrotsec 3.1     : Linux 4.6.0
# v0.03.016 : Mint 18 Xfce      : Linux 4.4.0
#             Lite 3.0          : Linux 4.4.0
#             Sparky 4.4        : Linux 4.6.0
#             Q4OS 1.6.1        : Linux 3.16.0
#             4Mlinux 19.0      : Linux 4.4.14
#             RFRemix 24        : Linux 4.5.7
#             Point 3.2         : Linux 3.16.0
#             KaliLight 2016.2  : Linux 4.6.4
# v0.03.017 : Q4OS 1.6.2        : Linux 3.16.0
#             Debian 8.6        : Linux 3.16.0
#             SysRescCD 4.8.2   : Linux 4.4.21
#             Robolinux 8.6     : Linux 3.16.0
#             SliTaz 5.0        : Linux 3.2.71
#             Q4OS 1.6.3        : Linux 3.16.0
#             LXQtExTiX 16.5    : Linux 4.8.0
# v0.03.018 : Ubuntu mate 16.10 : Linux 4.8.0
#             Xubuntu 16.10     : Linux 4.8.0
#             Parrotsec 3.2     : Linux 4.7.0
#             Sabayon 16.11     : Linux 4.8.0
#             Robolinux 8.7mate : Linux 3.16.0
#             ALTxfce 20161026  : Linux 4.4.27
#             Lite 3.2          : Linux 4.4.0
#             4Mlinux 20.0      : Linux 4.4.17
#             Parabola 2016.11  : Linux 4.8.6
# v0.03.019 : Q4OS 1.8.1        : Linux 3.16.0
#             TDE-ubuntu 14.0.4 : Linux 3.13.0
#             ALTxfce 20161116  : Linux 4.8.7
#             Fedora 25         : Linux 4.8.6
#             RFRemix 25        : Linux 4.8.7
#             Sparky 4.5        : Linux 4.8.0
#             Backbox 4.7       : Linux 4.4.0
#             Korora 25 Xfce    : Linux 4.8.11
#             Robolinux 8.7     : Linux 3.16.0
#             ALTtde 20161207   : Linux 4.4.36
# v0.03.020 : mxLinux16         : Linux 4.7.0
#             antiX 16          : Linux 4.4.10
#             Siduction 16.1.0  : Linux 4.9.0
#             Parrotsec 3.3     : Linux 4.8.0
#             tde-ubuntu 16.04  : Linux 4.4.0
#             PixelOS 20161223  : Linux 3.16.0
#             Sabayon 17.01     : Linux 4.8.0
#             Porteus 3.2.2     : Linux 4.9.0
#             Calculate 17      : Linux 4.4.39
#             Sparky 4.5.2      : Linux 4.8.0
# v0.03.021 : Parrotsec 3.4     : Linux 4.8.0
#             SysRescCD 4.9.1   : Linux 4.8.15
#             Parrotsec 3.4.1   : Linux 4.8.0
#             Debian 8.7.0      : Linux 3.16.0
#             Q4OS 1.8.2        : Linux 3.16.0
#             antiX 16.1        : Linux 4.4.10
#             Debian 8.7.1      : Linux 3.16.0
#             Robolinux 8.7.1   : Linux 3.16.0
#             Mint 18.1 Xfce    : Linux 4.4.0
#             Xubuntu 16.04.2   : Linux 4.8.0
#             Runtu 16.04.2     : Linux 4.8.0
#             Void 170220       : Linux 4.9.11
#             ALTtde 20170222   : Linux 4.4.41
# v0.03.022 : Sabayon 17.03     : Linux 4.9.0
#             Q4OS 1.8.3        : Linux 3.16.0
#             4Mlinux 21.0      : Linux 4.4.44
#             Siduction 17.1.0  : Linux 4.10.1
#             Linuxium 16.04.2  : Linux 4.10.0
#             Parrotsec 3.5     : Linux 4.9.0
#             LXQtExTiX 17.2    : Linux 4.10.0
# v0.04.001 : submenus added    : (various)
#             Sabayon 17.04     : Linux 4.10.0
#             Lite 3.4          : Linux 4.4.0
#             ALTtde 20170329   : Linux 4.4.41
#             LXQtExTiX 17.4    : Linux 4.10.0
#             SysRescCD 5.0.0   : Linux 4.9.24
#             KaliLight 2017.1  : Linux 4.9.0
#             Q4OS 1.8.4        : Linux 3.16.0
# v0.04.002 : Sabayon 17.05     : Linux 4.10.0
#             Debian 8.8.0      : Linux 3.16.0
#             Q4OS 1.8.5        : Linux 3.16.0
#             Parrotsec 3.6     : Linux 4.9.0
# v0.04.003 : Sabayon 17.06     : Linux 4.10.0
#             Parabola 2017.05  : Linux 4.10.16
#             grml 2017.05      : Linux 4.9.0
#             Fedora rawhide    : Linux 4.12.0

# set the note
set snognote="starting SNOG Linux (!!!)"

# color settings
function ini_colors {
# headers
  set color_normal=light-cyan/black
  set color_highlight=white/black
# menus
  set menu_color_normal=light-green/black
  set menu_color_highlight=white/blue
}

# gfxterm init
function ini_gfxterm {
  if loadfont /boot/grub/snogfont.pff ; then
#   set gfxmode=auto
    set gfxmode=1024x768x16,1024x768
    set gfxpayload=keep
#   set gfxpayload_linux=keep
    insmod gfxterm
    insmod vbe
    terminal_output gfxterm
    insmod jpeg
    background_image /boot/grub/splash.jpg
    ini_colors
  fi
}

# enable paging
# set pager=1

# start the gfxterm
ini_gfxterm

# entries enumerated from zero
set default=8

# delay in seconds before autoboot
set timeout=10

# ===( plop )=== #
#
menuentry "[ plop ]" {
  linux16 /boot/plop/plpbt.bin
}

# ===( flashdrive )=== #
#
menuentry "[ chainload to the first flashdrive ]" {
    echo ooo
    set root=(hd1)
    chainloader +1
}

# ===( mepis / antiX / mxLinux )=== #
#
menuentry ">> antix 16.1 64bit vanilla from ISO (loop fromiso)" {
    echo ooo
    set isofile="antiX-16.1_x64-full.iso"
    loopback aloop (hd0,5)/ini_antix/$isofile
    linux  (aloop)/antiX/vmlinuz fromiso=/ini_antix/$isofile bootdev=sda5 quiet nocheckfs loop.max_loop=255 nomodeset disable=x failsafe --
    initrd (aloop)/antiX/initrd.gz
}
menuentry ".. antix 15.1 64bit vanilla from ISO (loop fromiso)" {
    echo ooo
    set isofile="antiX-15.1_x64-full.iso"
    loopback aloop (hd0,5)/ini_antix/$isofile
    linux  (aloop)/antiX/vmlinuz fromiso=/ini_antix/$isofile bootdev=sda5 quiet nocheckfs loop.max_loop=255 nomodeset disable_srv=LX 3 --
    initrd (aloop)/antiX/initrd.gz
}
menuentry ".. antix 15-V 64bit custom from HD (loop fromiso)" {
    echo ooo
    set root=(hd0,5)
    set isofile="snapshot-418.iso"
    linux  /ini_antix/15-V/vmlinuz418 fromiso=/ini_antix/$isofile bootdev=sda5 quiet nocheckfs loop.max_loop=255 nomodeset disable_srv=LX 3 --
    initrd /ini_antix/15-V/initrd418.gz
}
menuentry ">> mxlinux16 from ISO (loop fromiso)" {
    echo ooo
    echo $snognote
    set isofile="MX-16_May_x64.iso"
    loopback aloop (hd0,5)/ini_mxlinux/$isofile
    linux  (aloop)/antiX/vmlinuz fromiso=/ini_mxlinux/$isofile bootdev=sda5 quiet nocheckfs loop.max_loop=255 log_buf_len=128K nomodeset aX=X failsafe --
    initrd (aloop)/antiX/initrd.gz
}
menuentry ".. antix-mx15 from ISO (loop fromiso)" {
    echo ooo
    set isofile="MX-15_x64.iso"
    loopback aloop (hd0,5)/ini_mxlinux/$isofile
    linux  (aloop)/antiX/vmlinuz fromiso=/ini_mxlinux/$isofile bootdev=sda5 quiet nocheckfs loop.max_loop=255 log_buf_len=128K nomodeset aX=LX --
    initrd (aloop)/antiX/initrd.gz
}
menuentry ".. antix-mx14 from ISO (loop fromiso)" {
    echo ooo
    set isofile="MX-14.4-pae.iso"
    loopback aloop (hd0,5)/ini_mxlinux/$isofile
    linux  (aloop)/antiX/vmlinuz fromiso=/ini_mxlinux/$isofile bootdev=sda5 quiet nocheckfs loop.max_loop=255 nomodeset aX=LMX 3 --
    initrd (aloop)/antiX/initrd.gz
}

# ===( Porteus )=== #
#
menuentry ">> porteus 3.2 64bit Xfce HD/HD=hda5 (home=RAM)" {
    echo ooo
    echo $snognote
    set root=(hd0,5)
    linux  /ini_porteus64/P32/vmlinuz cliexec=\$(zkp)/initthis.cfg delay=4 vga=791 utc --
    initrd /ini_porteus64/P32/initrd.xz
}
menuentry ".. porteus 3.1 64bit Xfce HD/HD=hda5 (home=RAM)" {
    echo ooo
    set root=(hd0,5)
    linux  /ini_porteus64/P31/vmlinuz cliexec=\$(zkp)/initthis.cfg delay=4 vga=791 utc --
    initrd /ini_porteus64/P31/initrd.xz
}
menuentry ".. porteus 3.1 kde4 HD/HD=hda9 (home=RAM)" {
    echo ooo
    set root=(hd0,9)
    linux  /ini_porteus/P31/vmlinuz cliexec=\$(zkp)/initthis.cfg delay=4 snogvesa noload=lxqt --
    initrd /ini_porteus/P31/initrd.xz
}
menuentry ".. porteus from ISO (loop isofrom)" {
    echo ooo
    loopback aloop (hd0,9)/custom-slitaz.iso
    linux    (aloop)/distros/porteus/vmlinuz isofrom=/dev/sda9/custom-slitaz.iso cliexec=\$(zkp)/initthis.cfg delay=4 --
    initrd   (aloop)/distros/porteus/initrd.xz
}

# ====================== #
# ===( Arch submenu )=== #
# ====================== #
#
submenu "Archlinux derivatives" {

# start the gfxterm
ini_gfxterm

# ===( Archbang )=== #
#
menuentry ">> archbang 160301 from ISO (home=RAM)" {
    echo ooo
    set isofile="archbang-010316-x86_64.iso"
    set imgdevpath="/dev/disk/by-label/ST03_findiso"
    loopback aloop (hd0,3)/iso_archbang/$isofile
    linux  (aloop)/arch/boot/x86_64/vmlinuz img_dev=$imgdevpath img_loop=/iso_archbang/$isofile xorg=vesa nomodeset 3 --
    initrd (aloop)/arch/boot/x86_64/archiso.img
}

# ===( Bridge )=== #
#
menuentry ".. bridge 2014.02 HD/squashfs=hda3 (home=RAM)" {
    echo ooo
    set root=(hd0,5)
    linux  /ini_bridge/vmlinuz archisobasedir=sfs_bridge archisolabel=ST03_findiso xorg=vesa nomodeset 3 --
    initrd /ini_bridge/archiso.img
}

# ===( Parabola )=== #
#
menuentry ">> parabola 2017.05 HD/squashfs=hda3 (home=RAM)" {
    echo ooo
    set root=(hd0,5)
    linux  /ini_parabola/1705/vmlinuz parabolaisobasedir=sfs_parabola/1705 parabolaisolabel=ST03_findiso reboot=cold vga=791 nomodeset --
    initrd /ini_parabola/1705/parabolaiso.img
}
menuentry ".. parabola 2016.11 HD/squashfs=hda3 (home=RAM)" {
    echo ooo
    set root=(hd0,5)
    linux  /ini_parabola/1611/vmlinuz parabolaisobasedir=sfs_parabola/1611 parabolaisolabel=ST03_findiso reboot=cold vga=791 nomodeset --
    initrd /ini_parabola/1611/parabolaiso.img
}

} # end Arch submenu

# ======================== #
# ===( Debian submenu )=== #
# ======================== #
#
submenu "Debian & derivatives" {

# start the gfxterm
ini_gfxterm

# ===( Debian )=== #
#
menuentry ">> debian 8.8.0 xfce from ISO (loop findiso)" {
    echo ooo
    set isofile="debian-live-8.8.0-amd64-xfce-desktop.iso"
    loopback aloop (hd0,3)/iso_debian/$isofile
    linux  (aloop)/live/vmlinuz boot=live findiso=/iso_debian/$isofile live-media-path=/live components quiet nomodeset --
    initrd (aloop)/live/initrd.img
}

# ===( Astra )=== #
#
menuentry ">> astra 1.11 14.04.2016 from ISO (loop findiso)" {
    echo ooo
    set isofile="orel-1.11-14.04.2016_17.10_livecd.iso"
    loopback aloop (hd0,3)/iso_astra/$isofile
    linux  (aloop)/live/vmlinuz boot=live findiso=/iso_astra/$isofile live-media-path=/live config hostname=astra autologin loop.max_loop=255 nomodeset --
    initrd (aloop)/live/initrd
}

# ===( BunsenLabs )=== #
#
menuentry ".. bunsenlabs hydrogen rc1 from ISO (loop findiso)" {
    echo ooo
    set isofile="bl-Hydrogen-rc1-amd64.iso"
    loopback aloop (hd0,3)/iso_bunsen/$isofile
    linux  (aloop)/live/vmlinuz boot=live findiso=/iso_bunsen/$isofile live-media-path=/live components quiet nomodeset --
    initrd (aloop)/live/initrd.img
}

# ===( DRBL )=== #
#
menuentry ".. drbl 2.4.2 xfce from ISO (loop findiso)" {
    echo ooo
    set isofile="drbl-live-xfce-2.4.2-10-amd64.iso"
    loopback aloop (hd0,3)/iso_drbl/$isofile
    linux  (aloop)/live/vmlinuz boot=live findiso=/iso_drbl/$isofile live-media-path=/live union=overlay username=user config components ip= net.ifnames=0 nomodeset --
    initrd (aloop)/live/initrd.img
}

# ===( grml )=== #
#
menuentry ">> grml 2017.05 64bit from ISO (loop findiso)" {
    echo ooo
    set isofile="grml64-full_2017.05.iso"
    loopback aloop (hd0,3)/iso_grml/$isofile
    linux  (aloop)/boot/grml64full/vmlinuz boot=live findiso=/iso_grml/$isofile live-media-path=/live//grml64-full/ bootid=grml64full201705 nobeep noconsolefont nomce swap nomodeset vga=791 nofb grml debs autoconfig=ST05_liveinit scripts=ini_grml/201705/initthis.cfg --
    initrd (aloop)/boot/grml64full/initrd.img
}
menuentry ".. grml 2014.11 64bit from ISO (loop findiso)" {
    echo ooo
    set isofile="grml64-full_2014.11.iso"
    loopback aloop (hd0,3)/iso_grml/$isofile
    linux  (aloop)/boot/grml64full/vmlinuz boot=live findiso=/iso_grml/$isofile live-media-path=/live//grml64-full/ bootid=grml64full201411 nobeep noconsolefont nomce swap nomodeset vga=791 grml debs autoconfig=ST05_liveinit scripts=ini_grml/201411/initthis.cfg --
    initrd (aloop)/boot/grml64full/initrd.img
}

# ===( Handy )=== #
#
menuentry ".. handy 2.2 from ISO (loop findiso)" {
    echo ooo
    set isofile="handylinux-2.2.iso"
    loopback aloop (hd0,3)/iso_handy/$isofile
    linux  (aloop)/live/vmlinuz2 boot=live findiso=/iso_handy/$isofile live-media-path=/live config username=human hostname=handylinux nomodeset --
    initrd (aloop)/live/initrd2.img
}

# ===( Kali )=== #
#
menuentry ".. kali light from ISO (loop findiso)" {
    echo ooo
    set isofile="kali-linux-light-2017.1-amd64.iso"
    loopback aloop (hd0,3)/iso_kali/$isofile
    linux  (aloop)/live/vmlinuz boot=live findiso=/iso_kali/$isofile live-media-path=/live noconfig=sudo username=root hostname=kali nomodeset --
    initrd (aloop)/live/initrd.img
}

# ===( Parrotsec )=== #
#
menuentry ">> parrotsec 3.6 lite from ISO (loop findiso)" {
    echo ooo
    set isofile="Parrot-lite-3.6_amd64.iso"
    loopback aloop (hd0,3)/iso_parrotsec/$isofile
    linux  (aloop)/live/vmlinuz boot=live findiso=/iso_parrotsec/$isofile live-media-path=/live hostname=parrot locales=en_US.UTF-8 keyboard-layouts=en nomodeset --
    initrd (aloop)/live/initrd.img
}

# ===( PixelOS )=== #
#
menuentry ">> pixelos 20161213 from ISO (loop findiso)" {
    echo ooo
    set isofile="2016-12-13-pixel-x86-jessie.iso"
    loopback aloop (hd0,3)/iso_pixelos/$isofile
    linux  (aloop)/live/vmlinuz1 boot=live findiso=/iso_pixelos/$isofile live-media-path=/live components plymouth.ignore-serial-consoles nomodeset --
    initrd (aloop)/live/initrd1.img
}

# ===( Point )=== #
#
menuentry ".. point 3.2 xfce full from ISO (loop findiso)" {
    echo ooo
    set isofile="pointlinux-xfce-full-3.2-64.iso"
    loopback aloop (hd0,3)/iso_point/$isofile
    linux  (aloop)/live/vmlinuz boot=live findiso=/iso_point/$isofile live-media-path=/live config nomodeset --
    initrd (aloop)/live/initrd.img
}
menuentry ">> point 3.2 xfce core from ISO (loop findiso)" {
    echo ooo
    set isofile="pointlinux-xfce-core-3.2-64.iso"
    loopback aloop (hd0,3)/iso_point/$isofile
    linux  (aloop)/live/vmlinuz boot=live findiso=/iso_point/$isofile live-media-path=/live config nomodeset --
    initrd (aloop)/live/initrd.img
}
menuentry ".. point 3.2 mate from ISO (loop findiso)" {
    echo ooo
    set isofile="pointlinux-mate-full-3.2-64.iso"
    loopback aloop (hd0,3)/iso_point/$isofile
    linux  (aloop)/live/vmlinuz boot=live findiso=/iso_point/$isofile live-media-path=/live config nomodeset --
    initrd (aloop)/live/initrd.img
}

# ===( Robo )=== #
#
menuentry ">> robolinux 8.7.1 xfce from ISO (loop findiso)" {
    echo ooo
    set isofile="robolinux64-xfce-v8.7.1.iso"
    loopback aloop (hd0,3)/iso_robo/$isofile
    linux  (aloop)/live/vmlinuz boot=live findiso=/iso_robo/$isofile live-media-path=/live components quiet nomodeset --
    initrd (aloop)/live/initrd.img
}
menuentry ".. robolinux 8.7 mate from ISO (loop findiso)" {
    echo ooo
    set isofile="robolinux64-mate-3d-v8.7.iso"
    loopback aloop (hd0,3)/iso_robo/$isofile
    linux  (aloop)/live/vmlinuz boot=live findiso=/iso_robo/$isofile live-media-path=/live components quiet nomodeset --
    initrd (aloop)/live/initrd.img
}

# ===( Semplice )=== #
#
menuentry ".. semplice 2015.2 from ISO (loop findiso)" {
    echo ooo
    set isofile="semplice64_2015.2_2011.0.iso"
    loopback aloop (hd0,3)/iso_semplice/$isofile
    linux  (aloop)/live/vmlinuz boot=live findiso=/iso_semplice/$isofile live-media-path=/live config quiet username=luckyuser hostname=SempliceLive user-fullname=Semplice nomodeset --
    initrd (aloop)/live/initrd.img
}

# ===( Siduction )=== #
#
menuentry ">> siduction 17.1 xfce from ISO (loop fromiso)" {
    echo ooo
    set isofile="siduction-17.1.0-patience-xfce-amd64-201703051904.iso"
    loopback aloop (hd0,3)/iso_siduction/$isofile
    linux  (aloop)/boot/vmlinuz-4.10.1-towo.1-siduction-amd64 boot=fll fromhd=LABEL=ST03_findiso fromiso=/iso_siduction/$isofile live-media-path=/siduction nomodeset xmodule=vesa --
    initrd (aloop)/boot/initrd.img-4.10.1-towo.1-siduction-amd64
}
menuentry ".. siduction 16.1 xfce from ISO (loop fromiso)" {
    echo ooo
    set isofile="siduction-16.1.0-patience-xfce-amd64-201612240021.iso"
    loopback aloop (hd0,3)/iso_siduction/$isofile
    linux  (aloop)/boot/vmlinuz-4.9.0-towo.1-siduction-amd64 boot=fll fromhd=LABEL=ST03_findiso fromiso=/iso_siduction/$isofile live-media-path=/siduction nomodeset xmodule=vesa --
    initrd (aloop)/boot/initrd.img-4.9.0-towo.1-siduction-amd64
}
menuentry ".. siduction 15.1 xfce from ISO (loop fromiso)" {
    echo ooo
    set isofile="siduction-15.1.0-paintitblack-xfce-amd64-201512312129.iso"
    loopback aloop (hd0,3)/iso_siduction/$isofile
    linux  (aloop)/boot/vmlinuz0.amd boot=fll fromhd=LABEL=ST03_findiso fromiso=/iso_siduction/$isofile live-media-path=/siduction nomodeset xmodule=vesa --
    initrd (aloop)/boot/initrd0.amd
}

# ===( Solydxk )=== #
#
menuentry ".. solydx 201506 xfce from ISO (loop findiso)" {
    echo ooo
    set isofile="solydx32_201506.iso"
    loopback aloop (hd0,6)/iso_solydxk/$isofile
    linux  (aloop)/live/vmlinuz boot=live findiso=/iso_solydxk/$isofile live-media-path=/live config nomodeset --
    initrd (aloop)/live/initrd.img
}

# ===( Sparky )=== #
#
menuentry ">> sparky 4.5.2 xfce from ISO (loop findiso)" {
    echo ooo
    set isofile="sparkylinux-4.5.2-x86_64-xfce.iso"
    loopback aloop (hd0,3)/iso_sparky/$isofile
    linux  (aloop)/live/vmlinuz boot=live findiso=/iso_sparky/$isofile live-media-path=/live config quiet nomodeset --
    initrd (aloop)/live/initrd.img
}
menuentry ".. sparky 4.3 gameover from ISO (loop findiso)" {
    echo ooo
    set isofile="sparkylinux-4.3-x86_64-gameover.iso"
    loopback aloop (hd0,3)/iso_sparky/$isofile
    linux  (aloop)/live/vmlinuz boot=live findiso=/iso_sparky/$isofile live-media-path=/live config quiet nomodeset --
    initrd (aloop)/live/initrd.img
}

} # end Debian submenu

# ======================== #
# ===( Gentoo submenu )=== #
# ======================== #
#
submenu "Gentoo & derivatives" {

# start the gfxterm
ini_gfxterm

# ===( Calculate )=== #
#
menuentry ">> calculate 17 from ISO (loop ISF)" {
    echo ooo
    echo $snognote
    set isofile="iso_calculate/cldx-17-x86_64.iso"
    loopback aloop (hd0,3)/$isofile
    linux  (aloop)/boot/vmlinuz isoboot=/$isofile iso-scan/filename=/$isofile boot=isolinux init=/linuxrc rd.live.squashimg=livecd.squashfs rd.live.image nodevfs udev noresume doscsi log_buf_len=128K --
    initrd (aloop)/boot/initrd
}
menuentry ".. calculate 15.17 from ISO (loop ISF)" {
    echo ooo
    set isofile="iso_calculate/cldx-15.17-x86_64.iso"
    loopback aloop (hd0,3)/$isofile
    linux  (aloop)/boot/vmlinuz isoboot=/$isofile iso-scan/filename=/$isofile boot=isolinux init=/linuxrc rd.live.squashimg=livecd.squashfs rd.live.image nodevfs udev noresume doscsi log_buf_len=128K --
    initrd (aloop)/boot/initrd
}

# ===( Gentoo )=== #
#
menuentry ".. gentoo 20160514 from ISO" {
    echo ooo
    set isofile="iso_gentoo/livedvd-amd64-multilib-20160514.iso"
    loopback aloop (hd0,3)/$isofile
    linux  (aloop)/isolinux/gentoo root=/dev/ram0 init=/linuxrc dokeymap aufs looptype=squashfs loop=/image.squashfs cdroot isoboot=/$isofile console=tty1 --
    initrd (aloop)/isolinux/gentoo.xz
}

# ===( Sabayon )=== #
#
menuentry ">> sabayon 17.06 xfce4 from ISO" {
    echo ooo
    set isofile="iso_sabayon/Sabayon_Linux_17.06_amd64_Xfce.iso"
    loopback aloop (hd0,3)/$isofile
    linux  (aloop)/boot/sabayon root=/dev/ram0 overlayfs cdroot locale=en_US loop=/livecd.squashfs looptype=squashfs isoboot=/$isofile vga=791 nomodeset --
    initrd (aloop)/boot/sabayon.igz
}

# ===( SysRescCD )=== #
#
menuentry ".. sysresccd 5.0.0 64bit (loop isoloop)" {
    echo ooo
    loopback aloop (hd0,3)/iso_sysresccd/systemrescuecd-x86-5.0.0.iso
    linux    (aloop)/isolinux/rescue64 isoloop=/iso_sysresccd/systemrescuecd-x86-5.0.0.iso nomodeset --
    initrd   (aloop)/isolinux/initram.igz
}

} # end Gentoo submenu

# ========================== #
# ===( Opensuse submenu )=== #
# ========================== #
#
submenu "Opensuse & derivatives" {

# start the gfxterm
ini_gfxterm

# ===( openSUSE )=== #
#
menuentry ">> openSUSE tumbleweed64 from ISO (home=RAM)" {
    echo ooo
#   set gfxmode=auto
#   set gfxpayload=keep
    set isofile="openSUSE-Tumbleweed-Rescue-CD-x86_64-Snapshot20170604-Media.iso"
    set imgdevpath="/dev/disk/by-label/ST05_liveinit"
    loopback aloop (hd0,5)/ini_opensuse/$isofile
    linux  (aloop)/boot/x86_64/loader/linux selinux=0 isofrom_device=$imgdevpath isofrom_system=/ini_opensuse/$isofile ramdisk_size=512000 ramdisk_blocksize=4096 splash=silent quiet quiet showopts LANG=en_US.UTF-8 nomodeset --
    initrd (aloop)/boot/x86_64/loader/initrd
}
menuentry ".. openSUSE 13.2 64bit from ISO (home=RAM)" {
    echo ooo
    set gfxmode=auto
    set gfxpayload=keep
    set isofile="openSUSE-13.2-Rescue-CD-x86_64.iso"
    set imgdevpath="/dev/disk/by-label/ST05_liveinit"
    loopback aloop (hd0,5)/ini_opensuse/$isofile
    linux  (aloop)/boot/x86_64/loader/linux selinux=0 isofrom_device=$imgdevpath isofrom_system=/ini_opensuse/$isofile ramdisk_size=512000 ramdisk_blocksize=4096 splash=silent quiet quiet showopts LANG=en_US.UTF-8 --
    initrd (aloop)/boot/x86_64/loader/initrd
}
menuentry ".. openSUSE 13.1 32bit HD/HD=hda9 (home=hybrid)" {
    echo ooo
    set root=(hd0,9)
    linux  /ini_opensuse/131/linux selinux=0 ramdisk_size=512000 ramdisk_blocksize=4096 splash=silent quiet quiet showopts --
    initrd /ini_opensuse/131/initrd
}

# ===( URIX )=== #
#
menuentry ".. URIX from ISO (home=RAM)" {
    echo ooo
    set gfxmode=auto
    set gfxpayload=keep
    set isofile="URIX.x86_64-7.0.3.iso"
    set imgdevpath="/dev/disk/by-label/ST05_liveinit"
    loopback aloop (hd0,5)/ini_urix/$isofile
    linux  (aloop)/boot/x86_64/loader/linux selinux=0 isofrom_device=$imgdevpath isofrom_system=/ini_urix/$isofile ramdisk_size=512000 ramdisk_blocksize=4096 splash=silent quiet quiet showopts LANG=en_US.UTF-8 nomodeset --
    initrd (aloop)/boot/x86_64/loader/initrd
}

} # end Opensuse submenu

# =============================== #
# ===( Red Space Hat submenu )=== #
# =============================== #
#
submenu "Red Space Hat distros" {

# start the gfxterm
ini_gfxterm

# ===( CentOS )=== #
#
menuentry ">> centos7 15.11 kde from ISO (loop ISF)" {
    echo ooo
    set isofile="CentOS-7-x86_64-LiveKDE-1511.iso"
    loopback aloop (hd0,3)/iso_centos/$isofile
    linux  (aloop)/isolinux/vmlinuz0 selinux=0 root=live:CDLABEL=CentOS-7-x86_64-LiveKDE-1511 iso-scan/filename=/iso_centos/$isofile rootfstype=auto ro rhgb rd.live.image rd.luks=0 rd.md=0 rd.dm=0 nomodeset log_buf_len=64K --
    initrd (aloop)/isolinux/initrd0.img
}

# ===( Fedora )=== #
#
menuentry ">> fedora 25 xfce from ISO (loop ISF)" {
    echo ooo
    set isofile="Fedora-Xfce-Live-x86_64-25-1.3.iso"
    loopback aloop (hd0,3)/iso_fedora/$isofile
    linux  (aloop)/isolinux/vmlinuz selinux=0 root=live:CDLABEL=Fedora-Xfce-Live-25-1-3 iso-scan/filename=/iso_fedora/$isofile rootfstype=auto ro rhgb rd.live.image rd.luks=0 rd.md=0 rd.dm=0 nomodeset --
    initrd (aloop)/isolinux/initrd.img
}
menuentry ".. fedora 24 xfce from ISO (loop ISF)" {
    echo ooo
    set isofile="Fedora-Xfce-Live-x86_64-24-1.2.iso"
    loopback aloop (hd0,3)/iso_fedora/$isofile
    linux  (aloop)/isolinux/vmlinuz selinux=0 root=live:CDLABEL=Fedora-Xfce-Live-24-1-2 iso-scan/filename=/iso_fedora/$isofile rootfstype=auto ro rhgb rd.live.image rd.luks=0 rd.md=0 rd.dm=0 nomodeset --
    initrd (aloop)/isolinux/initrd.img
}
menuentry ".. fedora 23 xfce from ISO (loop ISF)" {
    echo ooo
    set isofile="Fedora-Live-Xfce-x86_64-23-10.iso"
    loopback aloop (hd0,3)/iso_fedora/$isofile
    linux  (aloop)/isolinux/vmlinuz0 selinux=0 root=live:CDLABEL=Fedora-Live-Xfce-x86_64-23-10 iso-scan/filename=/iso_fedora/$isofile rootfstype=auto ro rhgb rd.live.image rd.luks=0 rd.md=0 rd.dm=0 nomodeset --
    initrd (aloop)/isolinux/initrd0.img
}
menuentry ".. fedora 22 xfce from ISO (loop ISF)" {
    echo ooo
    set isofile="Fedora-Live-Xfce-x86_64-22-3.iso"
    loopback aloop (hd0,3)/iso_fedora/$isofile
    linux  (aloop)/isolinux/vmlinuz0 selinux=0 root=live:CDLABEL=Fedora-Live-Xfce-x86_64-22-3 iso-scan/filename=/iso_fedora/$isofile rootfstype=auto ro rhgb rd.live.image rd.luks=0 rd.md=0 rd.dm=0 nomodeset --
    initrd (aloop)/isolinux/initrd0.img
}

# ===( Korora )=== #
#
menuentry ">> korora 25 xfce from ISO (loop ISF)" {
    echo ooo
    set isofile="korora-live-xfce-25-x86_64.iso"
    loopback aloop (hd0,3)/iso_fedora/$isofile
    linux  (aloop)/isolinux/vmlinuz selinux=0 root=live:CDLABEL=korora-live-xfce-25-x86_64 iso-scan/filename=/iso_fedora/$isofile rootfstype=auto ro rhgb rd.live.image rd.luks=0 rd.md=0 rd.dm=0 nomodeset --
    initrd (aloop)/isolinux/initrd.img
}
menuentry ".. korora 24 xfce from ISO (loop ISF)" {
    echo ooo
    set isofile="korora-24-x86_64-xfce.iso"
    loopback aloop (hd0,3)/iso_fedora/$isofile
    linux  (aloop)/isolinux/vmlinuz0 selinux=0 root=live:CDLABEL=korora-24-x86_64-xfce iso-scan/filename=/iso_fedora/$isofile rootfstype=auto ro rhgb rd.live.image rd.luks=0 rd.md=0 rd.dm=0 nomodeset --
    initrd (aloop)/isolinux/initrd0.img
}

# ===( Rawhide )=== #
#
menuentry ">> rawhide xfce from ISO (loop ISF)" {
    echo ooo
    set isofile="Fedora-Xfce-Live-x86_64-Rawhide-20170531.n.1.iso"
    loopback aloop (hd0,3)/iso_fedora/$isofile
    linux  (aloop)/isolinux/vmlinuz selinux=0 root=live:CDLABEL=Fedora-Xfce-Live-Rawhide-2017053 iso-scan/filename=/iso_fedora/$isofile rootfstype=auto ro rhgb rd.live.image rd.luks=0 rd.md=0 rd.dm=0 nomodeset --
    initrd (aloop)/isolinux/initrd.img
}

# ===( RFRemix )=== #
#
menuentry ">> rfremix 25 xfce from ISO (loop ISF)" {
    echo ooo
    set isofile="RFRemix-XFCE-Live-x86_64-25-1.2.iso"
    loopback aloop (hd0,3)/iso_fedora/$isofile
    linux  (aloop)/isolinux/vmlinuz selinux=0 root=live:CDLABEL=RFRemix-XFCE-Live-25-1-2 iso-scan/filename=/iso_fedora/$isofile rootfstype=auto ro rhgb rd.live.image rd.luks=0 rd.md=0 rd.dm=0 nomodeset --
    initrd (aloop)/isolinux/initrd.img
}
menuentry ".. rfremix 24 xfce from ISO (loop ISF)" {
    echo ooo
    set isofile="RFRemix-Live-XFCE-x86_64-24-1.6.iso"
    loopback aloop (hd0,3)/iso_fedora/$isofile
    linux  (aloop)/isolinux/vmlinuz0 selinux=0 root=live:CDLABEL=RFRemix-Live-XFCE-x86_64-24-1.6 iso-scan/filename=/iso_fedora/$isofile rootfstype=auto ro rhgb rd.live.image rd.luks=0 rd.md=0 rd.dm=0 nomodeset --
    initrd (aloop)/isolinux/initrd0.img
}

# ===( Rosa )=== #
#
menuentry ".. rosa r6 lxqt from ISO (loop ISF)" {
    echo ooo
    set isofile="ROSA.FRESH.LXQT.R6.x86_64.iso"
    loopback aloop (hd0,3)/iso_rosa/$isofile
    linux  (aloop)/isolinux/vmlinuz0 selinux=0 root=live:CDLABEL=ROSA.FRESH.LXQT.R6.x86_64 iso-scan/filename=/iso_rosa/$isofile rootfstype=auto ro rhgb rd.live.image rd.luks=0 rd.md=0 rd.dm=0 rd.live.overlay.size=256 nomodeset log_buf_len=64K --
    initrd (aloop)/isolinux/initrd0.img
}

# ===( Void )=== #
#
menuentry ">> void xfce 64bit glibc from ISO (loop ISF)" {
    echo ooo
    set isofile="void-live-x86_64-20170220-xfce.iso"
    loopback aloop (hd0,3)/iso_void/$isofile
    linux  (aloop)/boot/vmlinuz selinux=0 root=live:CDLABEL=VOID_LIVE iso-scan/filename=/iso_void/$isofile init=/sbin/init ro rd.luks=0 rd.md=0 rd.dm=0 loglevel=4 vconsole.unicode=1 vconsole.keymap=us locale.LANG=en_US.UTF-8 nomodeset --
    initrd (aloop)/boot/initrd
}
menuentry ".. void xfce 64bit musl from ISO (loop ISF)" {
    echo ooo
    set isofile="void-live-x86_64-musl-20150713-xfce.iso"
    loopback aloop (hd0,3)/iso_void/$isofile
    linux  (aloop)/boot/vmlinuz selinux=0 root=live:CDLABEL=VOID_LIVE iso-scan/filename=/iso_void/$isofile init=/sbin/init ro rd.luks=0 rd.md=0 rd.dm=0 loglevel=4 vconsole.unicode=1 vconsole.keymap=us locale.LANG=en_US.UTF-8 nomodeset --
    initrd (aloop)/boot/initrd
}

} # end Red Space Hat submenu

# ========================= #
# ===( Trinity submenu )=== #
# ========================= #
#
submenu "Trinity distros" {

# start the gfxterm
ini_gfxterm

# ===( ALTlinux )=== #
#
menuentry ">> altlinux tde 20170329 from ISO (loop ISF)" {
    echo ooo
    echo $snognote
    set isofile="regular-tde-20170329-x86_64.iso"
    loopback aloop (hd0,3)/iso_alt/$isofile
    linux  (aloop)/syslinux/alt0/vmlinuz fastboot live lowmem showopts automatic=method:disk,disk:sda,partition:sda3,directory:/iso_alt/$isofile ramdisk_size=528749 stagename=live vga=normal quiet splash lang=en_US nomodeset --
    initrd (aloop)/syslinux/alt0/full.cz
}
menuentry ".. altlinux xfce 20161228 from ISO (loop ISF)" {
    echo ooo
    set isofile="regular-xfce-20161228-x86_64.iso"
    loopback aloop (hd0,3)/iso_alt/$isofile
    linux  (aloop)/syslinux/alt0/vmlinuz fastboot live lowmem showopts automatic=method:disk,disk:sda,partition:sda3,directory:/iso_alt/$isofile ramdisk_size=528749 stagename=live vga=normal quiet splash lang=en_US nomodeset --
    initrd (aloop)/syslinux/alt0/full.cz
}

# ===( ExeGNU )=== #
#
menuentry ".. exegnu 20150914 from ISO (loop findiso)" {
    echo ooo
    set isofile="exegnu64_devuan_20150914.iso"
    loopback aloop (hd0,3)/iso_exe/$isofile
    linux  (aloop)/live/vmlinuz boot=live findiso=/iso_exe/$isofile live-media-path=/live union=aufs nomce apm=power-off nocomponents=xinit locales=en_US.UTF-8 nomodeset --
    initrd (aloop)/live/initrd.img
}

# ===( Q4OS )=== #
#
menuentry ">> q4os 1.8.5 from ISO (loop findiso)" {
    echo ooo
    echo $snognote
    set isofile="q4os-live-1.8.5-x64.iso"
    loopback aloop (hd0,3)/iso_q4os/$isofile
    linux  (aloop)/live/vmlinuz boot=live findiso=/iso_q4os/$isofile live-media-path=/live components username=adminq nomodeset --
    initrd (aloop)/live/initrd.img
}

} # end Trinity submenu

# ======================== #
# ===( Ubuntu submenu )=== #
# ======================== #
#
submenu "Ubuntu & derivatives" {

# start the gfxterm
ini_gfxterm

# ===( Xubuntu )=== #
#
menuentry ".. Xubuntu 17.04 from ISO (loop ISF)" {
    echo ooo
    set isofile="xubuntu-17.04-desktop-amd64.iso"
    loopback aloop (hd0,5)/ini_xubuntu/$isofile
    linux  (aloop)/casper/vmlinuz.efi selinux=0 boot=casper ignore_uuid live-media-path=/casper iso-scan/filename=/ini_xubuntu/$isofile nomodeset xforcevesa --
    initrd (aloop)/casper/initrd.lz
}
menuentry ".. Xubuntu 16.10 from ISO (loop ISF)" {
    echo ooo
    set isofile="xubuntu-16.10-desktop-amd64.iso"
    loopback aloop (hd0,5)/ini_xubuntu/$isofile
    linux  (aloop)/casper/vmlinuz.efi selinux=0 boot=casper ignore_uuid live-media-path=/casper iso-scan/filename=/ini_xubuntu/$isofile nomodeset xforcevesa --
    initrd (aloop)/casper/initrd.lz
}
menuentry ".. Xubuntu 17.04 core from ISO (loop ISF)" {
    echo ooo
    set isofile="xubuntu-17.04-core-amd64.iso"
    loopback aloop (hd0,5)/ini_xubuntu/$isofile
    linux  (aloop)/casper/vmlinuz.efi selinux=0 boot=casper ignore_uuid live-media-path=/casper iso-scan/filename=/ini_xubuntu/$isofile nomodeset xforcevesa --
    initrd (aloop)/casper/initrd.lz
}
menuentry ".. Xubuntu 16.10 core from ISO (loop ISF)" {
    echo ooo
    set isofile="xubuntu-16.10-core-amd64.iso"
    loopback aloop (hd0,5)/ini_xubuntu/$isofile
    linux  (aloop)/casper/vmlinuz.efi selinux=0 boot=casper ignore_uuid live-media-path=/casper iso-scan/filename=/ini_xubuntu/$isofile nomodeset xforcevesa --
    initrd (aloop)/casper/initrd.lz
}
menuentry ">> Xubuntu 16.04.2 from ISO (loop ISF)" {
    echo ooo
    echo $snognote
    set isofile="xubuntu-16.04.2-desktop-amd64.iso"
    loopback aloop (hd0,5)/ini_xubuntu/$isofile
    linux  (aloop)/casper/vmlinuz.efi selinux=0 boot=casper ignore_uuid live-media-path=/casper iso-scan/filename=/ini_xubuntu/$isofile nomodeset xforcevesa --
    initrd (aloop)/casper/initrd.lz
}
menuentry ".. Xubuntu 15.10 from ISO (loop ISF)" {
    echo ooo
    set isofile="xubuntu-15.10-desktop-amd64.iso"
    loopback aloop (hd0,5)/ini_xubuntu/$isofile
    linux  (aloop)/casper/vmlinuz.efi selinux=0 boot=casper ignore_uuid live-media-path=/casper iso-scan/filename=/ini_xubuntu/$isofile nomodeset xforcevesa --
    initrd (aloop)/casper/initrd.lz
}
menuentry ">> ubuntu-mate 16.10 from ISO (loop ISF)" {
    echo ooo
    set isofile="ubuntu-mate-16.10-desktop-amd64.iso"
    loopback aloop (hd0,5)/ini_xubuntu/$isofile
    linux  (aloop)/casper/vmlinuz.efi selinux=0 boot=casper ignore_uuid live-media-path=/casper iso-scan/filename=/ini_xubuntu/$isofile nomodeset xforcevesa --
    initrd (aloop)/casper/initrd.lz
}
menuentry ".. ubuntu-mate 16.04.2 from ISO (loop ISF)" {
    echo ooo
    set isofile="ubuntu-mate-16.04.2-desktop-amd64.iso"
    loopback aloop (hd0,5)/ini_xubuntu/$isofile
    linux  (aloop)/casper/vmlinuz.efi selinux=0 boot=casper ignore_uuid live-media-path=/casper iso-scan/filename=/ini_xubuntu/$isofile nomodeset xforcevesa --
    initrd (aloop)/casper/initrd.lz
}
menuentry ">> tde-ubuntu 16.04 from ISO (loop ISF)" {
    echo ooo
    set isofile="tde-14.0.4-ubuntu-16.04.1-desktop-amd64.iso"
    loopback aloop (hd0,5)/ini_xubuntu/$isofile
    linux  (aloop)/casper/vmlinuz.efi selinux=0 boot=casper ignore_uuid live-media-path=/casper iso-scan/filename=/ini_xubuntu/$isofile nomodeset xforcevesa max_loop=255 --
    initrd (aloop)/casper/initrd.lz
}
menuentry ".. tde-ubuntu 14.04 from ISO (loop ISF)" {
    echo ooo
    set isofile="tde-ubuntu-14.04-desktop-r14.0.4-amd64.iso"
    loopback aloop (hd0,5)/ini_xubuntu/$isofile
    linux  (aloop)/casper/vmlinuz.efi selinux=0 boot=casper ignore_uuid live-media-path=/casper iso-scan/filename=/ini_xubuntu/$isofile nomodeset xforcevesa max_loop=255 --
    initrd (aloop)/casper/initrd.lz
}
menuentry ">> linuxium 16.04.2 from ISO (loop ISF)" {
    echo ooo
    set isofile="xubuntu-16.04.2-desktop-linuxium.iso"
    loopback aloop (hd0,5)/ini_xubuntu/$isofile
    linux  (aloop)/casper/vmlinuz.efi selinux=0 boot=casper ignore_uuid live-media-path=/casper iso-scan/filename=/ini_xubuntu/$isofile nomodeset xforcevesa --
    initrd (aloop)/casper/initrd.lz
}

# ===( Backbox )=== #
#
menuentry ">> backbox 4.7 from ISO (loop ISF)" {
    echo ooo
    set isofile="backbox-4.7-amd64.iso"
    loopback aloop (hd0,5)/ini_backbox/$isofile
    linux  (aloop)/casper/vmlinuz.efi selinux=0 boot=casper ignore_uuid live-media-path=/casper iso-scan/filename=/ini_backbox/$isofile nomodeset xforcevesa max_loop=255 --
    initrd (aloop)/casper/initrd.gz
}

# ===( ChaletOS (nonfunctional) )=== #
#
menuentry ".. chaletos 16.04.2 from ISO (loop ISF)" {
    echo ooo
    set isofile="chaletos-16042-amd64.iso"
    loopback aloop (hd0,5)/ini_chaletos/$isofile
    linux  (aloop)/casper/vmlinuz selinux=0 boot=casper ignore_uuid live-media-path=/casper iso-scan/filename=/ini_chaletos/$isofile cdrom-detect/try-usb=true nomodeset xforcevesa --
    initrd (aloop)/casper/initrd.gz
}

# ===( Chromixium (aka cub) )=== #
#
menuentry ".. chromixium 1.5 from ISO (loop ISF)" {
    echo ooo
    set isofile="Chromixium-1.5-i386.iso"
    loopback aloop (hd0,9)/ini_chromixium/$isofile
    linux  (aloop)/casper/vmlinuz selinux=0 boot=casper live-media-path=/casper iso-scan/filename=/ini_chromixium/$isofile nomodeset xforcevesa max_loop=255 --
    initrd (aloop)/casper/initrd.gz
}

# ===( ExTiX )=== #
#
menuentry ".. extix 17.4 lxqt from ISO (loop ISF)" {
    echo ooo
    set isofile="extix-64bit-17.4-lxqt-nvidia-1550mb-170418.iso"
    loopback aloop (hd0,5)/ini_extix/$isofile
    linux  (aloop)/casper/vmlinuz.efi selinux=0 boot=casper live-media-path=/casper iso-scan/filename=/ini_extix/$isofile noprompt nomodeset xforcevesa max_loop=255 --
    initrd (aloop)/casper/initrd.lz
}
menuentry ">> extix 17.2 lxqt from ISO (loop ISF)" {
    echo ooo
    set isofile="extix-64bit-17.2-lxqt-nvidia-1480mb-170320.iso"
    loopback aloop (hd0,5)/ini_extix/$isofile
    linux  (aloop)/casper/vmlinuz.efi selinux=0 boot=casper live-media-path=/casper iso-scan/filename=/ini_extix/$isofile noprompt nomodeset xforcevesa max_loop=255 --
    initrd (aloop)/casper/initrd.lz
}
menuentry ".. extix 16.5 mate from ISO (loop ISF)" {
    echo ooo
    set isofile="ExtonOS-64bit-mate-isoh-1550mb-160514.iso"
    loopback aloop (hd0,5)/ini_extix/$isofile
    linux  (aloop)/casper/vmlinuz.efi selinux=0 boot=casper live-media-path=/casper iso-scan/filename=/ini_extix/$isofile noprompt nomodeset xforcevesa max_loop=255 --
    initrd (aloop)/casper/initrd.lz
}

# ===( Lite )=== #
#
menuentry ">> lite 3.4 from ISO (loop ISF)" {
    echo ooo
    set isofile="linux-lite-3.4-64bit.iso"
    loopback aloop (hd0,5)/ini_lite/$isofile
    linux  (aloop)/casper/vmlinuz selinux=0 boot=casper ignore_uuid live-media-path=/casper iso-scan/filename=/ini_lite/$isofile nomodeset xforcevesa max_loop=255 --
    initrd (aloop)/casper/initrd.gz
}

# ===( lsCotton )=== #
#
menuentry ".. lscotton 2016 from ISO (loop ISF)" {
    echo ooo
    set isofile="Cottonx64-2016.iso"
    loopback aloop (hd0,5)/ini_lscotton/$isofile
    linux  (aloop)/casper/vmlinuz selinux=0 boot=casper live-media-path=/casper iso-scan/filename=/ini_lscotton/$isofile max_loop=255 nomodeset xforcevesa --
    initrd (aloop)/casper/initrd.gz
}

# ===( Mint )=== #
#
menuentry ">> mint 18.1 xfce from ISO (loop ISF)" {
    echo ooo
    set isofile="linuxmint-18.1-xfce-64bit.iso"
    loopback aloop (hd0,5)/ini_mint/$isofile
    linux  (aloop)/casper/vmlinuz selinux=0 boot=casper live-media-path=/casper iso-scan/filename=/ini_mint/$isofile nomodeset xforcevesa max_loop=255 --
    initrd (aloop)/casper/initrd.lz
}
menuentry ".. mint 18 mate from ISO (loop ISF)" {
    echo ooo
    set isofile="linuxmint-18-mate-64bit.iso"
    loopback aloop (hd0,5)/ini_mint/$isofile
    linux  (aloop)/casper/vmlinuz selinux=0 boot=casper live-media-path=/casper iso-scan/filename=/ini_mint/$isofile nomodeset xforcevesa max_loop=255 --
    initrd (aloop)/casper/initrd.lz
}

# ===( Mofo )=== #
#
menuentry ".. mofo 5.1 from ISO (loop ISF)" {
    echo ooo
    set isofile="mofolinux-5.1.iso"
    loopback aloop (hd0,5)/ini_mofo/$isofile
    linux  (aloop)/casper/vmlinuz.efi selinux=0 boot=casper ignore_uuid live-media-path=/casper iso-scan/filename=/ini_mofo/$isofile nomodeset xforcevesa --
    initrd (aloop)/casper/initrd.lz
}

# ===( RebeccaBlackOS )=== #
#
menuentry ".. rebeccablackos from ISO (loop ISF)" {
    echo ooo
    set isofile="RebeccaBlackOS_amd64.iso"
    loopback aloop (hd0,5)/ini_rblackos/$isofile
    linux  (aloop)/casper/vmlinuz boot=casper ignore_uuid live-media-path=/casper iso-scan/filename=/ini_rblackos/$isofile nomodeset vga=791 --
    initrd (aloop)/casper/initrd.gz
}

# ===( Runtu )=== #
#
menuentry ">> runtu 16.04.2 from ISO (loop ISF)" {
    echo ooo
    set isofile="runtu-xfce-16.04.2-amd64_20170222.iso"
    loopback aloop (hd0,5)/ini_xubuntu/$isofile
    linux  (aloop)/casper/vmlinuz.efi selinux=0 boot=casper ignore_uuid live-media-path=/casper iso-scan/filename=/ini_xubuntu/$isofile max_loop=255 nomodeset xforcevesa snog.en --
    initrd (aloop)/casper/initrd.lz
}
menuentry ".. runtu 14.04.2 from ISO (loop ISF)" {
    echo ooo
    set isofile="runtu-xfce-14.04.2-amd64_20150707.iso"
    loopback aloop (hd0,5)/ini_xubuntu/$isofile
    linux  (aloop)/casper/vmlinuz.efi selinux=0 boot=casper ignore_uuid live-media-path=/casper iso-scan/filename=/ini_xubuntu/$isofile max_loop=255 nomodeset xforcevesa --
    initrd (aloop)/casper/initrd.lz
}

# ===( SalentOS )=== #
#
menuentry ".. salentos 14.04 from ISO (loop ISF)" {
    echo ooo
    set isofile="SalentOS-i386-14.04.1-light.iso"
    loopback aloop (hd0,6)/iso_salentos/$isofile
    linux  (aloop)/casper/vmlinuz boot=casper ignore_uuid live-media-path=/casper iso-scan/filename=/iso_salentos/$isofile nomodeset vga=791 --
    initrd (aloop)/casper/initrd.lz
}

# ===( Trisquel )=== #
#
menuentry ">> trisquel 7.0 from ISO (loop ISF)" {
    echo ooo
    set isofile="trisquel-mini_7.0_amd64.iso"
    loopback aloop (hd0,5)/ini_trisquel/$isofile
    linux  (aloop)/casper/vmlinuz selinux=0 boot=casper live-media-path=/casper iso-scan/filename=/ini_trisquel/$isofile max_loop=255 nomodeset xforcevesa --
    initrd (aloop)/casper/initrd
}

# ===( Voyager )=== #
#
menuentry ">> voyager 16.04.2 from ISO (loop ISF)" {
    echo ooo
    set isofile="Voyager-16.04.2-amd64.iso"
    loopback aloop (hd0,5)/ini_voyager/$isofile
    linux  (aloop)/casper/vmlinuz.efi selinux=0 boot=casper ignore_uuid live-media-path=/casper iso-scan/filename=/ini_voyager/$isofile nomodeset xforcevesa --
    initrd (aloop)/casper/initrd.lz
}

# ===( WattOS (nonfunctional) )=== #
#
menuentry ".. wattos r10 64bit from ISO (loop ISF)" {
    echo ooo
    set isofile="Microwatt-R10-64bit.iso"
    loopback aloop (hd0,5)/ini_wattos/$isofile
    linux  (aloop)/casper/vmlinuz selinux=0 boot=casper ignore_uuid live-media-path=/casper iso-scan/filename=/ini_wattos/$isofile nomodeset xforcevesa --
    initrd (aloop)/casper/initrd.gz
}

# ===( Zorin )=== #
#
menuentry ".. zorin 11 from ISO (loop ISF)" {
    echo ooo
    set isofile="zorin-os-11-core-64.iso"
    loopback aloop (hd0,5)/ini_zorin/$isofile
    linux  (aloop)/casper/vmlinuz.efi selinux=0 boot=casper live-media-path=/casper iso-scan/filename=/ini_zorin/$isofile max_loop=255 nomodeset xforcevesa --
    initrd (aloop)/casper/initrd.lz
}

} # end Ubuntu submenu

# ====================== #
# ===( Misc submenu )=== #
# ====================== #
#
submenu "Miscellaneous distros" {

# start the gfxterm
ini_gfxterm

# ===( SliTaz )=== #
#
menuentry ">> SliTaz 5.0 from ISO (loop isofrom)" {
    echo ooo
    echo $snognote
    set isofile="ini_slitaz/slitaz-rolling-core64.iso"
    loopback aloop (hd0,5)/$isofile
    linux    (aloop)/boot/bzImage64 isofrom=/dev/sda5/$isofile rw root=/dev/null ide-core.nodma=1.0 vga=791 nomodeset autologin quiet log_buf_len=64K --
    initrd   (aloop)/boot/rootfs.gz
}
menuentry ">> SliTaz 4.0 HD/HD=sda5 home=/dev/sda5" {
    echo ooo
    set root=(hd0,5)
    linux  /ini_slitaz/bzImage rw root=/dev/null ide-core.nodma=1.0 vga=normal autologin home=/dev/sda5 quiet log_buf_len=64K --
    initrd /ini_slitaz/rootfs.gz
}
menuentry ".. SliTaz 4.0 HD/HD=hda9 home=/dev/sda3" {
    echo ooo
    set root=(hd0,9)
    linux  /ini_slitaz/bzImage rw root=/dev/null ide-core.nodma=1.0 vga=normal autologin home=/dev/sda3 quiet log_buf_len=64K --
    initrd /ini_slitaz/rootfs.gz
}
menuentry ".. SliTaz 4.0 custom from ISO (loop isofrom)" {
    echo ooo
    loopback aloop (hd0,9)/custom-slitaz.iso 
    linux    (aloop)/distros/slitaz/bzImage isofrom=/dev/sda9/custom-slitaz.iso rw root=/dev/null ide-core.nodma=1.0 vga=normal autologin quiet log_buf_len=64K --
    initrd   (aloop)/distros/slitaz/rootfs.gz
}

# ===( Salix )=== #
#
menuentry ".. salix 14.1 xfce HD/HD=hda9 (home=RAM)" {
    echo ooo
    set root=(hd0,9)
    linux  /ini_salix/vmlinuz max_loop=255 vga=791 locale=en_US.utf8 keymap=us useswap=yes copy2ram=no runlevel=4 --
    initrd /ini_salix/initrd.gz
}

# ===( Vector )=== #
#
menuentry ">> vector 7.0 xfce HD/HD=hda9 (home=RAM)" {
    echo ooo
    set root=(hd0,9)
    linux  /ini_vector/vmlinuz splash=silent ramdisk_size=8666 root=/dev/ram0 rw vga=791 log_buf_len=64K --
    initrd /ini_vector/initrd.xz
}

# ===( Alpine (nonfunctional) )=== #
#
menuentry ">> alpine from ISO (loop fromiso)" {
    echo ooo
    set isofile="alpine-vanilla-3.5.0-x86_64.iso"
    loopback aloop (hd0,5)/ini_alpine/$isofile
    set root=aloop
    linux  /boot/vmlinuz modloop=/boot/modloop-vanilla modules=loop,squashfs,sd-mod,usb-storage nomodeset vga=normal --
    initrd /boot/initramfs-vanilla
}

# ===( CRUX )=== #
#
menuentry ".. crux install USB=sdb1" {
    echo ooo
    set root=(hd1,1)
    linux    /boot/vmlinuz console=ttyS0,38400 console=tty0 --
    initrd   /boot/initramfs
}

# ===( cruxex )=== #
#
menuentry ">> cruxex 3.1" {
    echo ooo
    set root=(hd0,5)
    linux  /cruxex/boot/vmlinuz vga=791 load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 cruxex.flags=perch --
    initrd /cruxex/boot/initrfs.img
}

# ===( Finnix )=== #
#
menuentry ".. finnix 111 HD/HD=hda9" {
    echo ooo
    set root=(hd0,9)
    linux  /ini_finnix/linux vga=791 nomodeset --
    initrd /ini_finnix/initrd.xz
}

# ===( PCLinuxOS )=== #
#
menuentry ".. pclos tde from ISO (loop BFI)" {
    echo ooo
    set isofile="tde_pclos_nonofficial_05sept2015.iso"
    loopback aloop (hd0,3)/iso_pclos/$isofile
    linux  (aloop)/isolinux/vmlinuz fromusb root=LABEL=ST03_findiso bootfromiso=/iso_pclos/$isofile livecd=livecd fstab=rw,noauto unionfs --
    initrd (aloop)/isolinux/initrd.gz
}

# ===( DSlinux )=== #
#
menuentry ".. DSLinux (circleomega)" {
    echo ooo
    echo $snognote
    linux16  /distros/dsl/linux24 ramdisk_size=100000 lang=us vga=791 frugal qemu quiet host=trcm tz=Europe/London utc --
    initrd16 /distros/dsl/minirt24.gz
}

# ===( tinycore )=== #
#
menuentry ">> tinycore 7.1" {
    echo ooo
    set root=(hd0,5)
    linux  /ini_tinycore/vmlinuz64 tce=LABEL=ST05_liveinit restore=LABEL=ST05_liveinit loglevel=3 host=trcm tz=US/Pacific --
    initrd /ini_tinycore/corepure64.gz
}

# ===( Puppy )=== #
#
menuentry ".. quirky werewolf 7.3 from ISO" {
    echo ooo
    set isofile="ini_puppy/werewolf64-7.3.iso"
    loopback aloop (hd0,5)/$isofile
    linux  (aloop)/vmlinuz rootwait rw --
    initrd (aloop)/initrd.q
}

# ===( 4Mlinux )=== #
#
menuentry ">> 4MLinux 21.1" {
    echo ooo
    set isofile="4MLinux-21.1.iso"
    loopback aloop (hd0,5)/ini_4mlinux/$isofile
    linux  (aloop)/boot/bzImage root=/dev/ram0 vga=normal max_loop=255 --
    initrd (aloop)/boot/initrd.gz
}

# ===( OpenBSD )=== #
#
menuentry ".. openbsd 5.6 32bit HD/HD=hda9 (home=RAM)" {
    echo ooo
    set root=(hd0,9)
    kopenbsd /ini_openbsd/cd56/5.6/i386/bsd.rd
}

} # end Misc submenu

# try the gfxterm
#
menuentry "[ gfxterm ]" {
  ini_gfxterm
}

# text console
#
menuentry "[ console ]" {
  terminal_output console
  ini_colors
}


+++ midnight commander menu
shell_patterns=0

# Screaming CuckooBroad Associates 2009,2015
# ~/.config/.mc/menu v1.01.034

# original implementation for DSLinux 4.4.10 : mc 4.6.1
# subsequently modified as a result of porting to various
# gnu/linux/x11 distros including but not limited to:
# antix-mx archbang backbox bridge calculate debian
# exegnu fedora finnix gentoo grml kali korora mint
# slitaz opensuse parabola pclinuxos porteus puppy
# q4os sabayon solydxk sysresccd tinycore trisquel
# vector void xubuntu

# -------------------------------------------
# this image for Porteus 3.1 Xfce : mc 4.8.10
# -------------------------------------------

# header line: + is present conditionally
#              = is default (if present)
#              f,d,t is [ file / dir ] (pattern) / "type"
#              "type" is r,d,t regularfile / dir / tagged
#              boolean & | ! apply
#
# action line: column 1 is hotkey

`	[VFU]
	exec vfu

*	view: opera
	opera %d/%f &>/dev/null &

*	view: midori
	midori %f &>/dev/null &

+= f \.z51$ | f \.Z51$ & t r & ! t t
*	view WP51 document
	exec $(zkp)/sh/runwp2x %f 2>/dev/null

+= f \.tar\.gz$ | f \.dsl$ | f \.uci$ | f \.unc$ & t r & ! t t
*	install myDSL package
	$(zkp)/mydsl-toad %d/%f

+= f \.pkg.tar.xz$ | f \.deb$ | f \.rpm$ & t r & ! t t
*	convert to ssp
	$(zkp)/sh/mksspfs %f

+= f \.xzm$ & t r & ! t t
*	unsquash to other pane
	sudo rm -rf %D/xzmbuild
	unsquashfs -d %D/xzmbuild %f

+  f \.xzm$ & t r & ! t t
1	activate module
	echo activating %f '(possibly cycling DE; please be patient) ...'
	sudo /opt/porteus-scripts/activate %f &>/dev/null
	echo Activate request complete. Press Enter.
	read aparm

+  f \.xzm$ & t r & ! t t
0	deactivate module
	echo deactivating %f '(possibly cycling DE; please be patient) ...'
	sudo /opt/porteus-scripts/deactivate %f &>/dev/null
	echo Deactivate request complete. Press Enter.
	read aparm

+= f \.zip$ & t r & ! t t
*	unzip to other pane
	unzip %f -d %D

+  f \.jar$ & ! t t
*	javaphone sjboy (wine)
	wine "/home/tux/.wine/drive_c/Program Files/Sjboy Emulator/sjboy.exe" %d/%f &>/dev/null &
+= f \.jar$ & ! t t
*	java runtime environment (java)
	$(zkp)/sh/runjava %d/%f &>/dev/null &

*	lxterminal
	lxterminal &

t	xfceterm
	xfce4-terminal -T xfce_term -I computer &

*	xterm
	xterm &

*	reboot
	sudo /sbin/reboot

= t d
*	snogterm
	$(zkp)/sh/runxcli snogterm &

+= f \.iso$ & t r & ! t t
*	mount iso
	echo mounting /tmp/%f ...
	[ -d /tmp/%f ] || mkdir /tmp/%f
	sudo mount -t iso9660 -r %d/%f /tmp/%f
	ls -al /tmp/%f
	echo Mount request complete. Press Enter.
	read aparm

+ d /mnt* | d /media*
1	mount filesystem
	echo mounting %f ...
 	sudo mount  /dev/%f /mnt/%f
	ls -al %f
	echo Mount request complete. Press Enter.
	read aparm

+ d /mnt* | d /media* | d /tmp* | d /opt*
0	unmount filesystem
	echo unmounting %f '(sync may occur; please be patient) ...'
	sudo umount %f
	echo Umount request complete. Press Enter.
	read aparm

*	run selected file
	%f

a	run selected file w/ Args
	INP=%{Enter parms}
	PRM=${INP##./}
	echo executing %d/%f' '${PRM}
	%d/%f $PRM
	echo Processing complete. Press Enter ...
	read aparm

b	run selected file in Background
	%d/%f &

+ ! t t
@	perform action on file
	CMD=%{Enter command}
	$CMD %f

+ ! t t
*	perform action on file in background
	CMD=%{Enter command}
	$CMD %f &

+   t t
@	perform action on tagged files
	set %t; CMD=%{Enter command}
	while [ -n "$1" ]; do
	  $CMD "$1" &
	  shift
	done

*	openvt
	$(zkp)/sh/kopenvt

x	start Xwindow
	$(zkp)/sh/kopenvt -x &>/dev/null &

p	connect via PPP
	sudo $(zkp)/sh/shpppcon --init

m	view: manpage browser
	exec $(zkp)/sh/runrman %f

w	set as wallpaper
	exec $(zkp)/sh/shbg %f

+ t d
*	tarball directory to /tmp
	exec $(zkp)/sh/s2dirtgz %f

+ t d
*	tarball directory to other pane
	tar -czvf %D/%f.tgz %f

*	e: elvis (lxterm)
	lxterminal -T elvis -e elvis %f &

v	e: elvis
	exec $(zkp)/sh/runelvis %f

*	e: vi
	exec vi %f

n	e: nano
	exec nano -ackSexUID %f

*	e: hexff
	exec hexff %f

*	e: beaver
        beaver %f &>/dev/null &

*	e: leafpad
	leafpad %f &

*	e: ue
	exec ue %f

+  f \.cel$ & t r & ! t t
*	set CEL script to Init
        ln -sf %d/%f /home/tux/.celestia/C-ini.cel
        ls -al /home/tux/.celestia/D*

+  f \.cel$ & t r & ! t t
*	set CEL script to Demo
        ln -sf %d/%f /home/tux/.celestia/D-key.cel
        ls -al /home/tux/.celestia/D*

+= f \.lss$ & t r & ! t t
*	start Lynx from lss
	[ -f ~/.lynx/lynx.cfg ] && export LYNX_CFG=~/.lynx/lynx.cfg 
        lynx -lss=%f /

= t r
*	Lynx
	exec $(zkp)/sh/runlynx %d

e	e: ue (xfceterm)
	xfce4-terminal -T microemacs -I /etc/kpzone/kData/img/snogicon.png -e "ue %f" &

*	e: ue (lxterm)
	lxterminal -T microemacs -e ue %f &

*	e: ue (urxvt)
	urxvt -T microemacs -name microemacs -e ue %f &

*	e: ue (xterm)
	xterm -T microemacs -e ue %f &

*	e: snogpad
	snogpad %f &


+++ runsudo
#!/bin/sh
#========

echo ooo
echo runsudo: sudo wrapper for Porteus
date +%G%b%d%a.%P%H:%M:%S
uname -srm

USR=/home/${USER}
sudo mkdir -p /root/.local/share/mc

ksym() {
  SYML=/root/$1
  sudo rm -rf ${SYML}
  sudo ln -sfn ${USR}/$1 ${SYML}
  return 0
}  

ksym .vfu
ksym .lynx
ksym .config/mc
ksym .config/autostart
ksym .local/share/mc/skins
sudo ln -sf ${USR}/.bashrc /root/.bashrc
sudo ln -sf ${USR}/.emacsrc /root/.emacsrc

ICO=extension

if   [ -x /usr/bin/urxvt -a -f /usr/share/lxde/images/lxde-icon.png ]; then
  SUTERM=urxvt; OPT="-icon /usr/share/icons/hicolor/48x48/devices/${ICO}.png"
elif [ -x /usr/bin/xfce4-terminal ]; then
  SUTERM=xfce4-terminal; OPT="-I ${ICO}"
elif [ -x /usr/bin/lxterminal ]; then
  SUTERM=lxterminal
else
  SUTERM=xterm
fi

EXE="sudo -i"
OPT=${OPT}" -T "$(uname -n):$(uname -o)

case ${SUTERM} in
  urxvt ) ${SUTERM} ${OPT} -e  ${EXE}  & ;;
      * ) ${SUTERM} ${OPT} -e "${EXE}" & ;;
esac

exit 0


+++ Credits with Many Thanx
(*) = (www) LocalNet - Buffalo dialup nationwide
(*) = (www) ShortURL.com - still the best address on the net
(*) = (www) AmazingCounters - get your own free hitcounter

visitor
hit counter
number

GPL
@ 2017 TRCM TranceRave Capital Management

Screaming CuckooBroad Associates part of the CircleOmega organisation TRCM
<noscript> <!-- ooo