folg / slimrat

Automatically exported from code.google.com/p/slimrat
MIT License
0 stars 0 forks source link

slimrat in cli with asciiview #165

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It is a good idea to use asciiview as captcha viewer in cli mode,
but user have to quit asciiview before enter captcha answer without any hint.

However, one may change line 126 in slimrat script:
$config_cli->set_default("image_viewer", "asciiview -kbddriver stdin -driver 
stdout %s");
to
$config_cli->set_default("image_viewer", "echo q | asciiview -kbddriver stdin 
-driver stdout %s");

It's let asciiview exit and leave the captcha figure in terminal.

Original issue reported on code.google.com by tony....@gmail.com on 14 Oct 2010 at 3:39

GoogleCodeExporter commented 9 years ago
But then user will not be able to zoom in the captcha image. I know this is not 
intuitive, but i dont like this solution too.

Original comment by premysl....@gmail.com on 14 Oct 2010 at 7:14

GoogleCodeExporter commented 9 years ago
Maybe show some hints tell users can press "q" and "enter" to input captcha 
answer.

Original comment by tony....@gmail.com on 15 Oct 2010 at 6:00

GoogleCodeExporter commented 9 years ago
in my opinion this is problem of asciiview, not slimrat, we just start it as 
any other image viewer.

Original comment by premysl....@gmail.com on 21 Nov 2010 at 2:38