LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-24-2013, 03:05 PM   #1
Z038
Member
 
Registered: Jan 2006
Location: Dallas
Distribution: Slackware
Posts: 912

Rep: Reputation: 174Reputation: 174
slackpkg - how to contact maintainer?


I sent an email to Piter PUNK aka Roberto F Batista <piterpk AT terra DOT com DOT br> to suggest a change to slackpkg, but the email bounced. Anyone know another contact method for Roberto?
 
Old 12-24-2013, 04:13 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,381

Rep: Reputation: Disabled
It seem that Piter PUNK be not actively maintaining slackpkg at the moment. May be you could send a patch here, that's what Sébastien BALLET ended up doing on 2013-02-04. He didn't receive an answer but eventually Pat downloaded the patch and applied it.

Or, if that's a matter you want to discuss about first, maybe you could post your thoughts here?
 
Old 12-24-2013, 05:50 PM   #3
Raveriux
Member
 
Registered: Jul 2013
Location: Lithuania
Distribution: Slackware64 14, Slackware64 -current, Maemo
Posts: 113

Rep: Reputation: Disabled
if slackpkg isn't maintained at the moment maybe its reaosonable to merge it with slackpkg+ which is maintained?
 
Old 12-25-2013, 12:23 AM   #4
Z038
Member
 
Registered: Jan 2006
Location: Dallas
Distribution: Slackware
Posts: 912

Original Poster
Rep: Reputation: 174Reputation: 174
Quote:
Originally Posted by Didier Spaier View Post
Or, if that's a matter you want to discuss about first, maybe you could post your thoughts here?
My suggestion was to add a configuration option to slackpkg.conf to control purging of the stdin input buffer before prompting the user for input. The option should be disabled by default in order to maintain current behavior. If the option is enabled, slackpkg should discard any type-ahead input before issuing a prompt.

Discarding type-ahead input would be useful to prevent unintended processing and/or the "OK! Your choice is nothing!" message in response to the K/O/R/P prompt in the looknew routine in post-functions.sh. What happens to me is that the screen will blank during installation of a lengthy set of upgrades. I hit a key on the keyboard to turn the display back on. I try to remember to hit a key that doesn't put anything in the input buffer, like the alt key or the scroll lock key, but sometimes I forget or I just hit the wrong key. When I subsequently type an answer to the K/O/R/P prompt after all the packages have been installed, the following read command gets whatever is already in the input buffer ahead of my response, my intended response is not recognized, and I get the "OK! Your choice is nothing!" message.

I have not implemented my suggestion. I just inserted a read command immediately before the echo for the K/O/R/P prompt to discard any type-ahead input. That addressed my immediate need.

This is in the looknew() routine in /usr/libexec/slackpkg/functions.d/post-functions.sh, with the added command below in red.

Code:
        if [ "$FILES" != "" ]; then
                read -t 1 -n 1000 discard
                echo -e "\n\
Some packages had new configuration files installed.
You have four choices:

        (K)eep the old files and consider .new files later

        (O)verwrite all old files with the new ones. The
           old files will be stored with the suffix .orig

        (R)emove all .new files

        (P)rompt K, O, R selection for every single file

What do you want (K/O/R/P)?"
                answer  
                case $ANSWER in
                        K|k)
                                break
                        ;;

...
I haven't checked, but assuming that the answer function in core-functions.sh is always used to read the response to a prompt, then the more general enhancement I suggested would be implemented there.

Last edited by Z038; 12-25-2013 at 12:24 AM.
 
Old 12-26-2013, 07:28 AM   #5
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8120Reputation: 8120Reputation: 8120Reputation: 8120Reputation: 8120Reputation: 8120Reputation: 8120Reputation: 8120Reputation: 8120Reputation: 8120Reputation: 8120
You can always run "slackpkg new-config" when that happens.

Eric
 
1 members found this post helpful.
Old 12-26-2013, 07:46 AM   #6
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8120Reputation: 8120Reputation: 8120Reputation: 8120Reputation: 8120Reputation: 8120Reputation: 8120Reputation: 8120Reputation: 8120Reputation: 8120Reputation: 8120
Quote:
Originally Posted by Z038 View Post
I sent an email to Piter PUNK aka Roberto F Batista <piterpk AT terra DOT com DOT br> to suggest a change to slackpkg, but the email bounced. Anyone know another contact method for Roberto?
Have you tried <piterpunk AT slackware DOT com> yet? According to finger, that mailbox was last read an hour ago.

Eric
 
Old 12-26-2013, 12:35 PM   #7
Z038
Member
 
Registered: Jan 2006
Location: Dallas
Distribution: Slackware
Posts: 912

Original Poster
Rep: Reputation: 174Reputation: 174
Eric, thank you for the alternate email address and for the new-config option. I've forwarded my email, but the new-config option really takes care of my need. I tried it and it works great.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to become a maintainer of a slackbuild zasavage Slackware 3 11-03-2012 10:03 AM
[SOLVED] typos in latest /etc/slackpkg/mirrors(.new) [slackpkg-2.82.0-noarch-8.tgz] wailingwailer Slackware 4 09-22-2012 04:04 AM
Draw xgraph for the inter-contact time & contact time dinelka Linux - Software 1 07-08-2012 12:21 PM
SlackRoll maintainer rg3 LinuxQuestions.org Member Intro 1 07-23-2007 06:22 PM
Slackpkg: missing something in /usr/libexec/slackpkg/functions.d/dialog-functions.sh michelino Slackware 4 03-20-2007 12:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration