View RSS Feed

Terminal cues

  1. Linux terminal magick, part 2

    by , 08-12-2011 at 06:05 AM
    In the previous part if ”Linux terminal magick” we show how to let use user use ^C and ^\ in the terminal, that was the last part of creating a graphical terminal user interface. The parts are [almost] not ordered!

    For this part we add two more functions:
    Java Code:
    /**
     * Sets the the value of the ECHO flag; iff on the input to the terminal will be echoed back while typing.
     * This can be used to hide what the user is type, for example when a password is requested.
    ...

    Updated 08-12-2011 at 06:42 AM by Hibernate

    Categories
    Terminal cues , Linux
  2. Linux terminal magick, part 1

    by , 08-12-2011 at 02:15 AM
    Are you a hardcore GNU/Linux user like me?
    Then you are probably sick of Java (natively) not letting you print in the terminal with colours.
    In a series of Web logs, I will describe how to, in GNU/Linux, print in the terminal with colours and other stuff.
    Keep in mind that you need a TTY (e.g. gnome-terminal, xterm, Linux VT (linux)), Eclipse's built in console will not do.

    We will begin with letting Java accept ^C and ^\ (also know as ^4) from the terminal. ...

    Updated 08-12-2011 at 06:42 AM by Hibernate

    Categories
    Terminal cues , Linux