On 18:02 Thu 01 Mar , Claudius Hubig wrote: > That’s because you only set this variable to your shell and did not > export it. Observe: that was what i wanted to know. now i see that export makes it available to programs.
> would then contain something like: > > ->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->-> > #!/bin/sh > /bin/less -q $* > -<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-< i use perl more than shell. that was very helpful as well. i have to delve more into man bash ... > > To then install this (after making it executable) as an alternative > for pager, one would have to: > > # update-alternatives --install /usr/bin/pager pager /usr/local/bin/lessq 100 > > which should automagically select /u/l/b/lessq as the default pager. > If you want to change that, try > > # update-alternatives --config pager > > or, to get more information: > > # update-alternatives --query pager > > Of course, > > $ man update-alternatives > > is always a good starting point for such things. thank you. I did not know that we could make our own additions with update-alternatives... i thought it was just a chose and select program.... Thank you very much Mitchell -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120301173501.ga28...@earthlink.net