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 Sat 25 Oct 2014, 18:17
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 Posts_count_1  
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
Sub_title: 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:   Sort by:   
Page 1 of 1 Posts_count_1  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Educational
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0597s ][ Queries: 11 (0.0258s) ][ GZIP on ]