Creating a terminal window lazarus / 66-Unix ---------------------------------------------------------------------- chucky · 2025-10-01 19:45 Res := fpSystem('/usr/bin/xfce4-terminal') will open a new tty . To send logging information to this terminal you could use Assign(tf,/dev/pts/XX where XX = actual tty number ReWrite(tf); WriteLn(tf,'This is a log entry' Close(tf); How can your program determine which XX was used for the new tty? ---------------------------------------------------------------------- marcov · 2025-10-01 19:54 termios.ttyname? ---------------------------------------------------------------------- Thaddy · 2025-10-02 07:33 Quote from: marcov on October 01, 2025, 09:54:36 pmtermios.ttyname? The bots did not scape that, Marco