Annonces Google
Serveur IRC
Serveur : irc.portlane.se
Canal : #AmigaNG
Activité du Site

Pages vues depuis 25/07/2007 : 25 347 168

  • Nb. de membres 187
  • Nb. d'articles 1 270
  • Nb. de forums 19
  • Nb. de sujets 20
  • Nb. de critiques 24

Top 10  Statistiques

Index du forum »»  Logiciels »» NoGuru 3.0

NoGuru 3.0#1384

3Contributeur(s)
Olrickzzd10hBrumiga
3 Modérateur(s)
K-LElwoodcorto
Olrick Olrickicon_post
Bonjour,
je tente d'utiliser NoGuru 3.0 mais le lancement de NoAlert.elf me renvoit une erreur "bad arguments, see --help" alors que je ne vois aucun argument nécessaire.
L'un de vous a-t-il réussi à utiliser cette version ?
zzd10h zzd10hicon_post
Ah oui, chez moi c'est pareil et en plus la v3 ne redirige plus les alertes => reboot de nouveau nécessaire.

En v2 cela marchait trés bien par exemple avec ce petit prog d'alerte
http://zzd10h.amiga-ng.org/Alert/Alert.lha
j'obtenais bien
http://zzd10h.amiga-ng.org/Alert/NoGuruv2.jpg

et chez toi, ça marchait avec la v2 ?

Edit : source de TSK dans les commentaires sur NoGuru
http://eu.os4depot.net/index.php?function=comments&file=utility/shell/noguru.lha


Message édité par : zzd10h / 14-10-2012 15:30
Olrick Olrickicon_post
La 3.0 est la première que je teste. Je vais essayer la V2.
Olrick Olrickicon_post
Oups, je n'arrive pas à mettre la main sur la V2. Quelqu'un l'aurait-il sur un disque ?
zzd10h zzd10hicon_post
Oui,
je l'ai ici, il n'y a que les 2 modules, pas de doc
http://zzd10h.amiga-ng.org/Alert/NoGuruv2.lha
Brumiga Brumigaicon_post
Bonsoir,

Voici le contenu du résumé de noguru sur os4depot. Si ça peut vous aider à mieux comprendre comment utiliser noguru...


NoGuru package stops gurumediations alerts.

This file consists of two hacks nodisplayalert and noalert

noalert stops exec.library/alert from displaying,
nodisplayalert stops intuition.library/displayalert from displaying.

noalert redirect to readable ringhio messages.
(the messages might not look right, but it will be fixed by Max in upcoming OS
update.)

Exec guru messages will be also printed to debug buffer, so they can be
recovered after warmreboot.

The hex error code is translated so humans can read it.
noalert try to identify the task or process not just print task address, if the
task really is a process it will look for last command executed from the shell
window.

noalert does not recover errors it only intercept the exec.library alert
function.

You can run noalert in two ways, suspend all tasks, or ignore and continue all
tasks.
(there is no white list or black list)

nodisplayalert redirect to reaction requestor.

etch of commands have some options check out --help for more information

to install add tis lines to s:user-startup

run >NIL: c:noalert.elf
run >NIL: c:nodisplayalert.elf

license: Freeware
Use it as you like, but do not distribute it whit out the readme

Changes:

Version 3.0

* renamed NoYellow package to NoGuru
* noalert:
+ replaced SednMsg() whit local buffer table
( does not requiere forbid()/premit() its safer.)
+ errorno = -1, is now ignored as this is normal undocumented behavior.
+ fixed so dead_end alerts reboot computer or suspend the task (user option)
* nodisplayalert:
no changes.

Version 2.0

noalert:

* renamed noyellow.exe renamed noalert.elf
* Improved error filtering and error messages
* process name detection might have improved

nodisplayalert:

* Redirect DisplayAlert to Reaction Requestor

Version 1.0

* First version only for Exec/Alert

Best Regards
Kjetil Hvalstrand


@k-L, peux-tu mettre ce texte en citation stp ? Je ne sais hélas pas le faire sur ce forum.

Brumiga
Message édité par : Elwood / 19-10-2012 22:58
Olrick Olrickicon_post
J'ai testé la V2 avec Term, j'ai quand meme mon alerte.
Je testerai plus précisément les appels à Alert() et DisplayAlert() demain.
Quelqu'un a-t-il trouvé un lien pour contacter l'auteur ? A part accéder à son blog, je n'ai rien trouvé.
zzd10h zzd10hicon_post

Même en mettant les 2 lignes dans la user-startup,
l'alerte simulée par ce prog :

http://zzd10h.amiga-ng.org/Alert/Alert.lha

n'est pas trappée par NoGuru ?
Olrick Olrickicon_post
Bon, voici l'état de mes tests (Plateforme: Sam440ep OS4.1.5)
NoAlert
Prog de test:
#!include! <proto/exec.h>

int main(int argc, char* argv[])
{
    IExec->Alert(AG_Obsolete);
    return 0;
}


V2: ok, info dans Ringhio
V3: ne se lance pas

NoDisplayAlert
Prog de test:
#!include! <proto/exec.h>
#!include! <proto/intuition.h>

char *alertMsg =
    "\x00\xF0\x14" "The Guru says: Fuck you!" "\x00\x01"
    "\x00\x80\x24" "PRESS MOUSEBUTTON:   LEFT=TRUE   RIGHT=FALSE" "\x00";
    
int main(int argc, char* argv[])
{
    IIntuition->DisplayAlert(RECOVERY_ALERT, (CONST_STRPTR)alertMsg, 52);
    return 0;
}


V2: GrimReaper ISI
V3: GrimReaper ISI

En outre, Term affiche une alerte, pour un problème de font, qui n'est jamais interceptée.
Mon sentiment est plus que mitigé sur le kit NoGuru. Je vais tenter de joindre l'auteur.
zzd10h zzd10hicon_post

Pour moi, aucun problème (en v2) avec ton NoDisplayALert.

Avec NoGuru (nodisplayalert)
http://zzd10h.amiga-ng.org/Alert/DisplayAlert_AvecNoGuruv2.jpg

et
Sans NoGuru
http://zzd10h.amiga-ng.org/Alert/DisplayAlert_SansNoGuruv2.jpg

C'était bien ça le résultat attendu ?
Petites Annonces

0 annonce(s) publiée(s)

Consulter

AmigaOS 4.1

Laissez-vous tenter par
AmigaOS 4.1
AmiTheme

AmiTheme