RetroBrew Computers Forum
Discussion forum for the RetroBrew Computers community.

Home » RBC Forums » General Discussion » VT100 control codes and minicom
VT100 control codes and minicom [message #9402] Mon, 22 November 2021 20:23 Go to next message
curbie is currently offline  curbie
Messages: 55
Registered: June 2021
Member
Has anyone tried VT100 control codes on minicom? Before I start testing, I thought I'd ask if anyone else has already tried this?

Curbie
Re: VT100 control codes and minicom [message #9405 is a reply to message #9402] Tue, 23 November 2021 09:55 Go to previous messageGo to next message
norwestrzh is currently offline  norwestrzh
Messages: 196
Registered: November 2015
Senior Member
Not sure what you are asking, Curbie. I use minicom as a console for my homebrew Z80 and 680x0 systems (Cromemco too). I thought that the default for minicom was VT100 (or is it ANSI? ... don't know that there is much of a difference WRT the things I use it for). All the applications that I use are configured for VT100/ANSI, and they work fine.

Roger
Re: VT100 control codes and minicom [message #9406 is a reply to message #9405] Tue, 23 November 2021 10:16 Go to previous messageGo to next message
curbie is currently offline  curbie
Messages: 55
Registered: June 2021
Member
Hi Roger,

Control codes for terminals (like the VT100) are terminal functions accessed by user programs, that do things like clear screen, cursor home, cursor return, cursor up/down/left/right/, lock or unlock keyboard, erase to end of line/screen, low/normal intensity, position cursor... The minicom default is VT102 (almost same), question is does minicom's implementation of the VT102 emulation include Control codes for theVT102?

Curbie
Re: VT100 control codes and minicom [message #9407 is a reply to message #9406] Tue, 23 November 2021 10:54 Go to previous messageGo to next message
mikemac is currently offline  mikemac
Messages: 250
Registered: March 2017
Senior Member
vt100.c has a state machine to interpret "vt102" escape sequences and windows.c outputs translated escape sequences that match your controlling terminal's emulation using the "TERM" environment variable.

It claims:

 *              It's not a "real" vt102 emulator - it's more than that:
 *              somewhere between vt220 and vt420 in commands.
 



Mike

[Updated on: Tue, 23 November 2021 10:57]

Report message to a moderator

Re: VT100 control codes and minicom [message #9408 is a reply to message #9407] Tue, 23 November 2021 11:17 Go to previous message
curbie is currently offline  curbie
Messages: 55
Registered: June 2021
Member
Thanks Mike,

I'll need to write some more library routines to test cursor positioning codes, but I'll go on that.

Thanks,

Curbie
Previous Topic: Z80 memory count / check ideas
Next Topic: New board: 68k-MBC, an easy to build 68008 SBC (and a prototype on breadboard)


Current Time: Mon Mar 24 22:15:35 PDT 2025

Total time taken to generate the page: 0.03740 seconds