El día 7 de octubre de 2008 16:07, Carlos Enrique Chinga Ramos <[EMAIL PROTECTED]> escribió: > Jaja tema gracioso y pesar que mi sobrino me tenia un respeto por tener algo > de conocimiento de java. > Pero que caprichito, definitivamente si quiere convencer a su profe se > tendra que crear este proceso en c y correrlo en win.
Como indique en mi mail anterior,no me he tomado la molestia de probarlo pero al parecer el comportamiento exacto exacto que tu describiste se puede lograr usando jcurses o jline. http://jline.sourceforge.net/ Mira lo que ponen en su sitio web: " JLine is not 100% pure Java. On Windows, it relies on a .dll file to initialize the terminal to be able to accept unbuffered input. However, no installation is necessary for this: when initialized, JLine will dynamically extract the DLL to a temporary directory and load it. For more details, see the documentation for the jline.WindowsTerminal class. On UNIX systems (including Macintosh OS X), JLine will execute the stty command to initialize the terminal to allow unbuffered input. For more details, see the documentation for the jline.UnixTerminal class." Como ves es tremendo lio para hacer algo tan simple.. si uno quiere tomarse la molestia.. lo puede hacer... que bueno, al final no es tanto, es usar un .jar y listo, pero la verdad sorprende que la solucion sea tan FEA. :) Antonio _______________________________________________ Lista de correo Linux-plug Temática: Discusión general sobre Linux Peruvian Linux User Group (http://www.linux.org.pe) Participa suscribiéndote y escribiendo a: [email protected] Para darte de alta, de baja o hacer ajustes a tu suscripción visita: http://listas.linux.org.pe/mailman/listinfo/linux-plug IMPORTANTE: Reglas y recomendaciones http://www.linux.org.pe/listas/reglas.php http://www.linux.org.pe/listas/comportamiento.php http://www.linux.org.pe/listas/recomendaciones.php
