FS#1109 - pacman colored messages ans tty problem

Attached to Project: Pacman
Opened by Albert Steiner (alibaba) - Monday, 12 July 2004, 10:53 GMT
Last edited by Judd Vinet (judd) - Wednesday, 14 July 2004, 18:57 GMT
Task Type Bug Report
Category
Status Closed
Assigned To Judd Vinet (judd)
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Sorry for my bad english, I am an Austrian,
i now that the pacman not provide the rc.d srcipts,
but i look at var/run/daemons and if the package is running then
i call /etc/rc.d/package stop but that is not the problem this is
working.

i have a own package and there a install script, which is calling
the /etc/rc.d/package stop if it is running and some colored messages,
the problem seems is about the tty:
pacman 2.7.9 says with the script;

/dev/vc/2

speed 38400 baud; line = 0;
-brkint ixoff -imaxbel
-iexten

pacman 2.8 says with the same:

not a tty

stty: standard input: Invalid argument

and this seems the problem, do you have any idea ?

here is my test install script:

post_install() {
tty
echo
stty
}

post_upgrade() {
post_install $2
}

pre_remove() {
/bin/true
}

post_remove() {
/bin/true
}

op=$1
shift

$op $*

regards albert
This task depends upon

Closed by  arjan timmerman (blaasvis)
Thursday, 10 February 2005, 20:26 GMT
Reason for closing:  Duplicate
Additional comments about closing:  bug #1109
Comment by arjan timmerman (blaasvis) - Thursday, 10 February 2005, 20:25 GMT
isn't this done yet ?

Loading...