Mac Terminal Serial Emulator Screen Resource Busy

A screenshot of ANSIterm running in the Hatari emulator.

I’ve written in the past about my adventures telnetting to BBSes from terminal programs running inside the Hatari emulator. I’ve made some changes in my process and I thought it would be good to explain everything, step-by-step. It’s not for the novice, but it is rewarding.

If you have a null modem cable and a terminal program on the other side, the Mac actually has a built-in terminal program called “screen” that you can use to test the connection. Once that is up and connected (and if the serial ports are set to the same baud rate and paramters), you can type on either side and see the characters come across. By using Best MAC Emulator for Windows OS, there is no need to change the O.S. (Operating System) or get another PC dedicated for the MAC O.S.Here are also a bunch of the browsers based emulators too for you.

Besides Hatari and any ST software you want to run, you’ll need to install two things:

This window type is similar to 'screen cu -l /dev/ttya'. Read and write access is required on the device node, an exclusive open is attempted on the node to mark the connection line as busy. An optional parameter is allowed consisting of a comma separated list of flags in the notation used by stty(1): 1200,9600,19200 - First parameter is the. ZOC. SSH Client and Terminal Emulator for Windows and macOS ZOC is a professional terminal emulation software for Windows and macOS. Its impressive list of emulations and powerful features makes it a reliable and elegant tool that connects you to hosts and mainframes via secure shell, telnet, serial cable and other methods of communication. Terminal Emulation Software Serial Port RS232 to RJ45 Cable Console Port RJ45 Figure 3-1: Managed Switch Console Connectivity A terminal program is required to make the software connection to the Managed Switch. 1.Run terminal program on the OS. 2.When the following screen appears, make sure that the COM port should be configured as: Baud: 115200.

  • tcpser
  • socat
Mac Terminal Serial Emulator Screen Resource Busy

This tutorial is based on my experiences on the Mac. The instructions should translate well to Linux, but probably not Windows. The tutorial assumes that you are familiar with Hatari and know how to configure it for normal emulation. If you don’t, check out this guide to setting up Hatari.

I’ll explain how to install tcpser and socat, and then how to wire them together so your emulated Atari can telnet to a BBS.

1. Install tcsper

FozzTexx maintains a fork of tcpser that incorporates many updates and bug fixes. I have tried many flavors of tcpser over the years, and I have found FozzTexx’s to be the most reliable and compatible.

First you’ll want to clone FozzTexx’s repo:

Then follow the instructions to compile an executable for your platform.

2. Install socat

If you have a Mac, you can easily install socat via Homebrew: brew install socat

Mac terminal serial emulator screen resource busy app

On Linux, you can use your standard package manager (e.g. sudo apt-get install socat)

Or, if you prefer, you can build socat from source, which you can download here.

3. Run tcpser

Open a couple tabs in the Terminal.

Mac Terminal Serial Emulator Screen Resource Busy Software

In the first tab, we will run tcpser, and we’ll configure it with a virtual serial port running at 19,200 bps.

Leave this tab open until you have finished your BBSing session.

4. Run socat

In the second terminal tab, let’s run socat, and tell it to pipe the input and output from port 25232 to a temporary FIFO file that Hatari will read.

(You can call your temp file /tmp/atari or anything you want. Mine is /tmp/josh)

Leave this tab open until you have finished your BBSing session.

5. Configure Hatari for modem emulation

In theory these settings can be edited in Hatari’s Preferences interface, but in practice it doesn’t work, because on a Mac you can’t navigate to the /tmp/ folder through Finder’s “choose” buttons.

Instead, let’s use a text editor (like Sublime Text) to edit your hatari.cfg file. On the Mac, this file is located in ~/Library/'Application Support'/Hatari/.

Scroll down to the [RS232] section and change the lines to look like this (taking care to use the correct name for your temp file):

Save and close the config file.

6. Run Hatari!

Fire up Hatari. Once you see your Atari ST desktop, load whatever ST terminal program you want to use. My personal favorites include ANSIterm, TAZ, and Freeze Dried Terminal. I also have been playing with the Thieves Guild front-end client.

Once your terminal of choice is open, set the baud rate to 19,200, and make sure it’s 8N1 (8 bits, no parity, one stop bit), although that’s pretty standard.

Now, we need to open Hatari’s preference panel and activate modem emulation. It’s important to do this LAST because Hatari’s serial emulation code doesn’t work well with the way Macs and other BSD-type OSes handle file locking. Hatari will sometimes freeze on the Mac if you start the modem emulation too soon.

So, open Hatari’s preferences, choose the “Peripheral” tab, and click the “Enable RS232 Emulation” checkbox. Then click “OK” to close the preferences dialog box.

7. “Dial” out

Mac terminal serial emulator screen resource busy mode

ANSIterm and some other terminals will opens directly into an “online” mode, where you can type commands to the modem. In the old days, we might have typed something like atdt555-5555 to connect to a BBS at the phone number 555-5555.

Very few BBSes today use modems and phone lines. Instead they are on the internet, and users connect to them via telnet.

So, what we’ll do today is “dial” an IP address. This step will require some research: You’ll need to lookup the IP address for the BBS you want to visit.

For purposes of this tutorial, we’ll connect to Dark Force BBS, which as of this writing is at 173.80.217.46 on a nonstandard port (520). So our AT command would be:

Best Terminal Emulator Mac

Type that in to ANSIterm and press “Return.” With luck you’ll see “CONNECT 19200” followed by the BBS’s logon screen!

(If you see “NO CARRIER,” that may mean something went wrong — but it could also mean that the BBS is busy and has no extra connections available. Double-check your AT command and make sure you didn’t mis-type.)

Mode

Have any questions or comments? Please share them in the comments below.

Serial Port Terminal Emulator

Related