TTY ANSI Terminal
TTY ANSI Terminal
Hi,
I am just thinking how to turn my real thing QL into an ANSI terminal. On Linux side I can set terminal line by stty.
e.g. EDIT baud rate
$ stty -F /dev/ttyS1 2400 cs8 clocal cstopb raw -echo
I hook SER2 QL port to /dev/ttyS1 with a serial cable.
I believe, by standard, serial port `0', is for system console, where VT100, VT52 used to connect, to boot and oversee the *ux machine. I connect to port `1' as per above stty.
So I have a serial line at both ends, I believe should somehow work.
ATARI ST VT52(DEC) emulator <==> Linux, stty, works this way, I hope.
What emulators would you recommend for QL end, I wish to test something simple, not PE driven for a start?
Many thanks.
Tom
I am just thinking how to turn my real thing QL into an ANSI terminal. On Linux side I can set terminal line by stty.
e.g. EDIT baud rate
$ stty -F /dev/ttyS1 2400 cs8 clocal cstopb raw -echo
I hook SER2 QL port to /dev/ttyS1 with a serial cable.
I believe, by standard, serial port `0', is for system console, where VT100, VT52 used to connect, to boot and oversee the *ux machine. I connect to port `1' as per above stty.
So I have a serial line at both ends, I believe should somehow work.
ATARI ST VT52(DEC) emulator <==> Linux, stty, works this way, I hope.
What emulators would you recommend for QL end, I wish to test something simple, not PE driven for a start?
Many thanks.
Tom
-
- Gold Card
- Posts: 433
- Joined: Tue Mar 11, 2014 8:00 pm
- Location: Oxford, UK.
- Contact:
Re: TTY ANSI Terminal
If I could get the source and binary off one of my QL floppies I could send you my VT52+T4010 terminal emulator. I wrote it back in 1988.
It actually emulates the University College London BBC terminal emulator, including extensions to program the function keys via *FX commands.
I've a USB floppy drive but can't remember if it can be coaxed into reading QL floppies and if so how to package QL programs (code+header).
It actually emulates the University College London BBC terminal emulator, including extensions to program the function keys via *FX commands.
I've a USB floppy drive but can't remember if it can be coaxed into reading QL floppies and if so how to package QL programs (code+header).
Re: TTY ANSI Terminal
Hi Stephen,
I have discovered your sources here, I may try to assemble. I noticed the assembly makes use of local labels.
https://www.earth.ox.ac.uk/~steve/software/terminal/
Many thanks
Tom
I have discovered your sources here, I may try to assemble. I noticed the assembly makes use of local labels.
https://www.earth.ox.ac.uk/~steve/software/terminal/
Many thanks
Tom
- janbredenbeek
- Super Gold Card
- Posts: 633
- Joined: Wed Jan 21, 2015 4:54 pm
- Location: Hilversum, The Netherlands
Re: TTY ANSI Terminal
You might want to try QLTerm, it's a simple terminal emulator supporting ANSI. It allows redirection of the input channel which enables it to work as a Telnet client when running under an emulator with TCP/IP support.tcat wrote: What emulators would you recommend for QL end, I wish to test something simple, not PE driven for a start?
http://www.dilwyn.me.uk/internet/qltrm235.zip
Jan.
-
- Gold Card
- Posts: 433
- Joined: Tue Mar 11, 2014 8:00 pm
- Location: Oxford, UK.
- Contact:
Re: TTY ANSI Terminal
Oh! I'd forgotten that I'd made that page!tcat wrote:Hi Stephen,
I have discovered your sources here, I may try to assemble. I noticed the assembly makes use of local labels.
https://www.earth.ox.ac.uk/~steve/software/terminal/
Many thanks
Tom
I used the Computer One assembler and linker.
Re: TTY ANSI Terminal
Hi,
I have assembled the executable prog with 27k dataspace, attached in `qzip' format.
Compiled in SER2IR port, set to 2400 baud at terminal end. I set host terminal line in a good faith to match the above.
$ stty -F /dev/ttyS1 2400 cs8 cstopb raw echo
I am not able to connect to my *ux host so far, I must have been missing something.
I just expect, after pressing [ENTER] (a few times) I should see the login prompt, as if typed
`login' on the host dirrectly.
My cabling is this, to test connections I do
Linux to QL:
COPY SER2 TO SCR
$ cat > /dev/ttyS1
when typing in Linux term, chars appear on QL screen
and vice versa
QL to Linux:
$ cat /dev/ttyS1
COPY CON_ TO SER2
when typing on QL keyboard, chars appear in Linux term
QL / Linux - cabling
/////////////////////////////
TX <==> RX
RX <==> TX
CTS <==> RTS
DTR <==> CTS
GND <==> GND
I must have been missing something all the way, any ideas?
Many thanks in advance.
Tom
I have assembled the executable prog with 27k dataspace, attached in `qzip' format.
Compiled in SER2IR port, set to 2400 baud at terminal end. I set host terminal line in a good faith to match the above.
$ stty -F /dev/ttyS1 2400 cs8 cstopb raw echo
I am not able to connect to my *ux host so far, I must have been missing something.
I just expect, after pressing [ENTER] (a few times) I should see the login prompt, as if typed
`login' on the host dirrectly.
Code: Select all
$ su -c'login'
lynx login: tcat
Password:
Linux to QL:
COPY SER2 TO SCR
$ cat > /dev/ttyS1
when typing in Linux term, chars appear on QL screen
and vice versa
QL to Linux:
$ cat /dev/ttyS1
COPY CON_ TO SER2
when typing on QL keyboard, chars appear in Linux term
QL / Linux - cabling
/////////////////////////////
TX <==> RX
RX <==> TX
CTS <==> RTS
DTR <==> CTS
GND <==> GND
I must have been missing something all the way, any ideas?
Many thanks in advance.
Tom
Re: TTY ANSI Terminal
Hi,
It works, I realised that serial `ttyS1' has to be respawned using `getty' (get tty on serial line).
These settings works here with `terminal-3-53' defaults.
2400 SER2IR XON/OFF
I wish to post `term_scr' as well.
EDIT cannot save to ser2, a quick photo attached. Tom
It works, I realised that serial `ttyS1' has to be respawned using `getty' (get tty on serial line).
These settings works here with `terminal-3-53' defaults.
2400 SER2IR XON/OFF
Code: Select all
$ stty -F /dev/ttyS1 2400 cs8 cstopb cooked -crtscts echo
$ /sbin/getty -L ttyS1 vt52 # needs root priviledges
EDIT cannot save to ser2, a quick photo attached. Tom
Last edited by tcat on Wed May 15, 2019 6:38 am, edited 1 time in total.
Re: TTY ANSI Terminal
Hi Jan,
Your VT52 term works also nicely, as it can cope with many ANSI escapes. I use your earlier version `qlterm v232'.
I run at 2400 so far, I will test if I can get faster.
Possible to open port with handshake, i.e. SER2HR rather than raw SER2IR? Actually not sure if of any benefit, just thinking for transfering binary files?
Many thanks
Tom
Your VT52 term works also nicely, as it can cope with many ANSI escapes. I use your earlier version `qlterm v232'.
I run at 2400 so far, I will test if I can get faster.
Possible to open port with handshake, i.e. SER2HR rather than raw SER2IR? Actually not sure if of any benefit, just thinking for transfering binary files?
Many thanks
Tom
- janbredenbeek
- Super Gold Card
- Posts: 633
- Joined: Wed Jan 21, 2015 4:54 pm
- Location: Hilversum, The Netherlands
Re: TTY ANSI Terminal
I've added some features in the meantime such as 512x256 in 8 colours on SMSQ/E.tcat wrote:Hi Jan,
Your VT52 term works also nicely, as it can cope with many ANSI escapes. I use your earlier version `qlterm v232'.
It's configurable using the S*BASIC config program (qltconfig_bas).Possible to open port with handshake, i.e. SER2HR rather than raw SER2IR? Actually not sure if of any benefit, just thinking for transfering binary files?
Jan.
-
- Gold Card
- Posts: 433
- Joined: Tue Mar 11, 2014 8:00 pm
- Location: Oxford, UK.
- Contact:
Re: TTY ANSI Terminal
I'm glad that the program proved useful.tcat wrote:Hi,
It works, I realised that serial `ttyS1' has to be respawned using `getty' (get tty on serial line).
These settings works here with `terminal-3-53' defaults.
2400 SER2IR XON/OFF
I wish to post `term_scr' as well.Code: Select all
$ stty -F /dev/ttyS1 2400 cs8 cstopb cooked -crtscts echo $ /sbin/getty -L ttyS1 vt52 # needs root priviledges
EDIT cannot save to ser2, a quick photo attached.
terminal-3-53.jpg
Tom