Sorry for dumb questions again, but how do I find out what terminal I'm in?
Short:
Tried pty, but shell responds: pty: not found
Looked for matching app - can't find anything.
Googled - found bazillions of stories of unfortunate people running out of ptys - but no answer to my problem.
Long:
I am using Lazarus on TinyCore and would like to debug a console application.
The IDE has a built-in output put terminal which is unfortunately an "even dumber terminal" (apart from the things it does not it converts both CR and LF to CR/LF and displays BS...)
The console debugging wiki from Lazarus tells me:
Open a terminal outside of Lazarus and run
pty
It should return something like
/dev/pty/2
and then use output redirection.
I would like to follow this advice, however I already fail at pty...