[pacman-dev] makepkg, su and output - Was: [PATCH 1/3] makepkg: simplify su/sudo calling logic

Andres P aepd87 at gmail.com
Sat Jun 19 04:33:21 EDT 2010

On Sat, Jun 19, 2010 at 3:24 AM, Allan McRae <allan at archlinux.org> wrote:
> No...  I do not know what you mean by this.  Can you post some output or a
> screenshot?

It'd be kind of difficult since the problem is mostly about what doesn't show

It's like when you turn on flow control with ^S, type 'ls; echo foo' and press
enter, then press ^Q.

Except that I'm free to press enter and see the feedback on my scrollback
buffer from the commands that I press, whithout seeing a "preview" of it to the
right of my $PS1.

I've now isolated the problem and it does not happen with every su
operation, only
when cancelling the su password prompt.

Here's what I'm doing:

1. I uninstall asciidoc
2. curl http://aur.archlinux.org/packages/pacman-git/pacman-git.tar.gz | tar xz
3. cd pacman-git; makepkg -s
4. When it shows the su password prompt, I hit ^C

What I type is now invisible until I `reset`. Does not happen with sudo nor
from regular calls like `su -c ls` from my shell.

btw, I cannot get master nor latest tag to pipe files named after versioned
deps to $startdir; e.g. $startdir/4. makepkg falling back to su still calls
pacman -T correctly.

Andres P

More information about the pacman-dev mailing list