> But what if there was an invisible mode?

Well selfishly, I don't have a screen, so I don't care.
But seriously...

This is really a nontrivial effort.
Sure I can suppress echo at the tty,
but as soon as you hit return edbrowse prints the line with the password in 
position.
There it is on the screen.
Or if you ever reprint that line, there it is again.
You can't just replace the text with stars because that very text
is passed to our html tree and then to the server upon submit.
The only way around this is to keep the text in place but muck with 
displayLine()
so that if the tag is type password then everything between <> is replaced with 
stars.
That could be done but now it's a piece of work
at the input level, invisible mode, and the output level, displayLine.
The invisible mode would have to supress echo under both cooked tty and 
readline,
and then the same for the windows port,
the latter I definitely don't know how to do.

Karl Dahlke
_______________________________________________
Edbrowse-dev mailing list
[email protected]
http://lists.the-brannons.com/mailman/listinfo/edbrowse-dev

Reply via email to