[1726] in java-interest

home help back first fref pref prev next nref lref last post

How to make jdb work on an X term with no access to /dev/console!

daemon@ATHENA.MIT.EDU (dufourd@enst.enst.fr)
Fri Sep 15 07:51:43 1995

From: dufourd@enst.enst.fr
To: java-interest@java.sun.com
Date: Thu, 14 Sep 95 19:45:26 +0200

It is hideous, but...
In java/classes/java/tools/ttydebug/TTY.class, there is a string
/dev/console. Use emacs or a good editor to replace /dev/console with
another file name of the same length, like mydevconsole.
From now on, jdb and appletviewer -debug will deign to start.
;-)
JCD
PS: I must say I do not like the fact that such a thing is possible, and
so easy. Security, ha!
------------------------------------------Java, Lisp & Theater----------------
 Jean-Claude Dufourd	Departement Electronique,ENST	Tel: +33 1 45 81 78 07
 46 rue Barrault, 75013 Paris				Fax: +33 1 45 80 40 36
 Email: dufourd@elec.enst.fr    URL: http://www-elec.enst.fr/~dufourd/jcd.html

-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post