REHASH from my original question.

I'm trying to get VT100/ANSI escape codes working in an irc client (ircII). What facilitates this, is the screen.scr file.

The apparent problem, is that I cannot get a working terminal working with the pseudo terminal.

stty yields this:

stty: standard input: Inappropriate ioctl for device

So, I believe if I solve this,and get a working terminal, I solve my initial problem.

Thank you.

  • Those look like VT100 escape sequences. What is your $TERM variable?
    – waltinator
    Mar 23, 2023 at 22:30
  • My $TERM variable is "linux"
    – ignatius
    Mar 23, 2023 at 23:11
  • this page explains it reasonably well. Mar 23, 2023 at 23:41
  • @ThomasDickey Sorry, but not well enough.. Are there any solutions?
    – ignatius
    Mar 24, 2023 at 0:03
  • looking at the source code -- probably not without substantial effort: a large number of IRC clients today, even those using a terminal interface, do not support displaying text formatted using ANSI escape codes. (this is one of those). Mar 24, 2023 at 0:17

1 Answer 1


Fool the client. Invoke it with TERM=VT100 ircli .... This will set the value of $TERM for the duration of ircli's execution only.

  • Thank you for that, But, it isn't working. :(
    – ignatius
    Apr 11, 2023 at 3:20

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .