Re: Text color in Windows console




"Andrew Thompson" <SeeMySites@xxxxxxxxxxx> wrote in message
news:1vo40nef14th6$.779nslaqplb0$.dlg@xxxxxxxxxxxxx
> On Mon, 6 Jun 2005 09:14:24 +0200, Xavier wrote:
>
> (Knute)
> >> If you need more functionality than that, try AWT or Swing.
> >
> > I don't want GUI, I have a "server" program producing some informations
on
> > the console, ...
>
> Something that has not been *specifically* mentioned yet(?) is that
> Java is not a language well suited to interacting with the console.
> I suggest you prefix the console errors with..
>
> **** Error - The kablooi has ....
>
> ..and be done with it.

Besides, after the message scrolls off the screen the color is gone.

>
> If the user is that interested, they can store the output and do a find
> on '**** Error - '.
>
> Just a thought.
>
> --
> Andrew Thompson
> http://www.PhySci.org/codes/ Web & IT Help
> http://www.PhySci.org/ Open-source software suite
> http://www.1point1C.org/ Science & Technology
> http://www.LensEscapes.com/ Images that escape the mundane


.



Relevant Pages

  • Re: [RFC] [PATCH] Adding ctrl-o sysrq hack support to 8250 driver
    ... > The following patch will allow a user to use sysrq keys over a serial ... > console using the ctrl-o key sequence. ... This is similar to functionality ... > provided by the hvc console drivers on PPC boxes. ...
    (Linux-Kernel)
  • Re: Windows Service or Console application
    ... In many ways you may be correct in saying that it's simpler to use a console applications. ... Create a console application that utilizes the functionality in the library. ... Each of the executables usually ends up having just a very small number of lines of code, for example to parse command line options or to set up logging options. ...
    (microsoft.public.dotnet.general)
  • Re: Text color in Windows console
    ... > Unfortunately the console is stream i/o, ... > If you need more functionality than that, try AWT or Swing. ... I don't want GUI, I have a "server" program producing some informations on ...
    (comp.lang.java.programmer)
  • Writing a TSP: Assigning Users
    ... I've written a TSP and all functionality works 100% on the TAPI server. ... problem comes in when trying to get clients to utilize the devices. ... If I close the tapimgmt.msc console and re-open it, the assigned username ...
    (microsoft.public.win32.programmer.tapi)
  • Re: how to display message box in applet
    ... > I agree, are you using IE, Madhur? ... >> ...I would think that either Swing is available and it ... >> you check the console for messages, as it may have terminated after ... > What browser/version are you using on what OS? ...
    (comp.lang.java.programmer)