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 18 Sep 2014, 03:50
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Educational
"Help Service Helper" in "Quirky Linux 1.40" ! only script
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [1 Post]  
Author Message
postfs1


Joined: 27 Mar 2010
Posts: 831

PostPosted: Mon 28 Nov 2011, 10:29    Post subject:  "Help Service Helper" in "Quirky Linux 1.40" ! only script
Subject description: When there is a problem to read help page.
 

Arrow

Quote:

Install_HFH.sh
Code:

#!/bin/bash
#
#HFH = Help Service Helper
#
#Example of use: hlp dialog
#
#echo 'echo "$@ --help 1>& 2>& /tmp/.hlp ;" >/tmp/.ghlp ; chmod 0600 /tmp/.ghlp ; sh /tmp/.ghlp ; dialog --no-ok --editbox /tmp/.hlp 22 80 ; rm /tmp/.hlp /tmp/.ghlp' >/usr/local/bin/hlp ;
echo 'echo "$@ --help 1>& 2>& /tmp/.hlp ;" >/tmp/.ghlp ; chmod 0600 /tmp/.ghlp ; sh /tmp/.ghlp ; less /tmp/.hlp ; rm /tmp/.hlp /tmp/.ghlp' >/usr/local/bin/hlp ;
chmod 0100 /usr/local/bin/hlp ;
#
if [ `ps -eocomm | grep -x xinit` ] ; then
echo -e "The -=HFH - Help Service Helper=- program is ready for use."|xmessage -file - ;
else
echo "The -=HFH - Help Service Helper=- program is ready for use." ;
fi


Edit: 2012, jan 09.


A script's content can be copied into text editor by means of <Quote> mode.

_________________
  • I don't know why laboratories are named a hospitals.
  • The alive personage is like a tea bag with granules of unknown density inside, at that one the packet was made of organic material and was placed in the evaporated liquid or liquid.

Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Educational
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.0413s ][ Queries: 11 (0.0067s) ][ GZIP on ]