Use 'screen' as a serial terminal emulator | 29 comments | Create New Account
First and foremost, if you’re going to be working in the command line, then you need to open up the. Serial Tools is a set of serial port tools for Mac OS X. It includes a Terminal Emulator, a Protocol Analyzer and a serial port monitor to watch for connections and removals of serial ports. Serial Tools is built as a Universal Binary application and works natively with both the PowerPC and the Intel based Macintosh running Tiger (Mac OS X 10.4. Serial makes it easy to connect your Mac to almost anything with a serial port, including routers, switches, PBXs, embedded devices and more. In addition to a full-featured terminal emulator, Serial includes built-in, user-space drivers for many popular devices, saving you the hassle of finding, installing, and updating drivers.
Click here to return to the 'Use 'screen' as a serial terminal emulator' hint |
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Can you not just save all that as terminal profile and then double click it, or select it from the Terminal dock menu? No applescript involved.
---
~/.sig: not found
---
~/.sig: not found
I use the following keyspan.term (string-style plist for readability): Note that you can control the terminal baud rate and other characteristics with the last argument (see the WINDOW TYPES section of screen(1)).
Or just use QuickTerm
Hello
I am not a programmer. What shall I do when I've setted the port of QuickTerm, and came back to the window 'RS-232 Terminal'.
I clicked on 'Connect'. It probably connected but the window is empty, I cannot type anything in it, and anyway I don't know what to type.
I want to use it for our French 'minitel'. I think it is V33, but not sure.
I use a laptop and MacOs 10.4.9.
My modem is inside :
Modele : MicroDash
Type d'interface : USB
Modulation : V.92
Nom de serie : Euro
Version Matériel : 1.0F
Version du programme interne : APPLE VERSION 2.6.6
Gestionnaire : InternalUSBModem.kext (v2.6.6)
Pays : 3D (France)
Is X11 necessary ? I am not keen on the terminal, so could you give basic explanations.
Thank you.
No need to shell out for Keyspan's admittedly very good drivers. Many USB-serial adapters use the same chip, Prolific Industries' PL-2303 controller. Prolific's own Mac OS X driver is currently not very good; you can't send a break signal via screen in Terminal, for example. However, there's an open-source driver that works better. I am not a programmer. What shall I do when I've setted the port of QuickTerm, and came back to the window 'RS-232 Terminal'.
I clicked on 'Connect'. It probably connected but the window is empty, I cannot type anything in it, and anyway I don't know what to type.
I want to use it for our French 'minitel'. I think it is V33, but not sure.
I use a laptop and MacOs 10.4.9.
My modem is inside :
Modele : MicroDash
Type d'interface : USB
Modulation : V.92
Nom de serie : Euro
Version Matériel : 1.0F
Version du programme interne : APPLE VERSION 2.6.6
Gestionnaire : InternalUSBModem.kext (v2.6.6)
Pays : 3D (France)
Is X11 necessary ? I am not keen on the terminal, so could you give basic explanations.
Thank you.
I use this with an unbranded PL-2303-equipped adapter bought from eBay for six of our English pounds, compared to thirty-odd for a Keyspan device, and it talks perfectly to my Cisco routers. I haven't tried talking to PDAs or GPS devices though.
'Shell' out. See what I did there? Heh - oh dear.
You can also use C-Kermit 8.0. Unfortunately a binary is not available, we must compile it by ourselves, but it's really easy, as Mac OS X is supported.
Download the source at the following address:
ftp://kermit.columbia.edu/kermit/archives/cku211.zip
Copy it in a folder, then, using terminal:
% cd <the folder you copied it in>
% unzip -a cku211.zip
% make macosx103
% sudo make install
it will compile and install Kermit in the folder /usr/local/bin/kermit; the binary is called wermit.
It's ready! to launch it:
% /usr/local/bin/kermit/wermit
and here it is:
C-Kermit 8.0.211, 10 Apr 2004, for Mac OS X 10.3
Copyright (C) 1985, 2004,
Trustees of Columbia University in the City of New York.
Type ? or HELP for help.
(/Users/wallybear/) C-Kermit>
Compiling from source give also the chance to tweak compiler settings so to make a PPC, Intel or Universal binary application.
Download the source at the following address:
ftp://kermit.columbia.edu/kermit/archives/cku211.zip
Copy it in a folder, then, using terminal:
% cd <the folder you copied it in>
% unzip -a cku211.zip
% make macosx103
% sudo make install
it will compile and install Kermit in the folder /usr/local/bin/kermit; the binary is called wermit.
It's ready! to launch it:
% /usr/local/bin/kermit/wermit
and here it is:
C-Kermit 8.0.211, 10 Apr 2004, for Mac OS X 10.3
Copyright (C) 1985, 2004,
Trustees of Columbia University in the City of New York.
Type ? or HELP for help.
(/Users/wallybear/) C-Kermit>
Compiling from source give also the chance to tweak compiler settings so to make a PPC, Intel or Universal binary application.
I last used C-Kermit when Jaguar was out. It worked great. PowerPC binaries for 10.3 and earlier can be found here: http://www.columbia.edu/kermit/ck80binaries.html#apple
Wow! Kermit - I haven't used that for at least a decade, but I seem to remember that it was very good.. must give it a try..
Anyway, that aside, for those who like minicom, Jeffrey Frey has done a Mac port which can be found at the bottome of his page here:
http://turin.nss.udel.edu/programming/
also the awesome thing about kermit which i've been using recently for a few years is that it lets you send files via xmodem (useful when ur cisco gear pukes on itself), and also kermit is scriptable (useful when you have 50+ apc power strips you have to configure the same way, enter non-interactive script).
I'm not saying I'd recommend it, but you could also use tip, 'man tip' for more info.
osx unfortunately doesn't come with tip . i was disappointed quite a bit when I found out
There are quite a few installer packages for minicom that remove the need for fink or darwin(er. mac)ports.
one's at http://turin.nss.udel.edu/programming/
one's at http://turin.nss.udel.edu/programming/
This is an excellent solution (I've been a regular, frustrated, user of ZTERM). I am, however, unable to configure the serial port settings (I routinely connect to a serial device running 38400/n/8/1) I've tried every combination I can imagine with stty to set the port before starting screen and it is still always stuck at 9600 baud.
Update: I found on Apple's discussions board the following, which works:
screen -U /dev/tty.KeySerial1 38400
Adjust the script accordingly and it works perfectly!
Here is an addition I made to select the serial port and the baud rate: screen -U /dev/tty.KeySerial1 38400
Adjust the script accordingly and it works perfectly!
set baudList to {1200, 2400, 4800, 4800, 9600, 19200, 38400, 57600, 115200, 230400}
set baudRate to (choose from list baudList default items {38400})
tell application 'Terminal'
set serialDevices to (do shell script 'ls /dev/cu*')
set theDeviceList to (paragraphs of serialDevices) as list
set theDevice to (choose from list theDeviceList)
do script 'screen ' & theDevice & ' ' & baudRate
display dialog 'To quit you terminal session type then '
end tell
the second to last line should have been:
display dialog 'To quit you terminal session type <ctrl-a> then <ctrl->'
display dialog 'To quit you terminal session type <ctrl-a> then <ctrl->'
The second to last should have read:
thanks for all your help, especially bboy for the cheaper cable, and wcontello for the AppleScript.
I am currently taking 2 classes that use HyperTerminal, a Cisco test prep class and a basic Telecommunications classes. I've wanted to use my MacBook Pro to use something HyperTerminal related. I have a beta of Windows 7 in Boot Camp and VMWare, and MS got rid of HyperTerminal in Vista. And of course no Mac (except for Xserves) have a serial port.
---
Startup Shortcuts - Shortcuts for debugging your Mac on startup, on your iPhone
http://web.me.com/maxeverde/Startup
I am currently taking 2 classes that use HyperTerminal, a Cisco test prep class and a basic Telecommunications classes. I've wanted to use my MacBook Pro to use something HyperTerminal related. I have a beta of Windows 7 in Boot Camp and VMWare, and MS got rid of HyperTerminal in Vista. And of course no Mac (except for Xserves) have a serial port.
---
Startup Shortcuts - Shortcuts for debugging your Mac on startup, on your iPhone
http://web.me.com/maxeverde/Startup
You wrote: 'type Control-A followed by Control- to exit your screen session. If you fail to do this and exit a Terminal session, you'll leave the screen session alive and the serial resource unavailable until you kill the screen session manually.'
OK, I boo-booed. Now how can I kill the screen session manually?
(I wish I knew Unix better.)
--Gil
Look for a process called 'SCREEN' using ps. Here's the output of my Terminal: OK, I boo-booed. Now how can I kill the screen session manually?
(I wish I knew Unix better.)
--Gil
Kill the process associated with SCREEN (i.e. '
kill -TERM 327
'), and the SCREEN will go away. You can also reattach to a detached screen by running '
screen -rD
'. Another solution would be using the ZOC Terminal application. I used zterm initially and found it horrible too. ZOC is a lot more modern in every regard and works with a serial/usb adapter.
If you want to use screen as an terminal, but don't want it to go into the background when the window dies, you will need to turn off auto-detach.
To do this, edit ~/.screenrc (it probably won't exist) and add the following line:
autodetach off
The next time you start screen, if you kill the window you will kill the session.
To do this, edit ~/.screenrc (it probably won't exist) and add the following line:
autodetach off
The next time you start screen, if you kill the window you will kill the session.
How about simply 'cu -l /dev/whatever -s 19200' and that's all it takes.
Thanks! Working great w/an IOGEAR GU232A USB to Serial adapter which uses the PL2303 chip set.
This is a fantastic thread. Saved me from using Zterm. One problem though. I'd like to be able to scroll up past the top to show more than one page of data. Anyone figure out a way to do that?
Never mind. A little googling found the answer I was looking for. To turn on the scrollback buffer for SCREEN you have to add one more line to ~/.screenrc More info here: http://stackoverflow.com/questions/1039442/mac-os-x-terminal-apps-buffer-and-screen-command
since people are still posting to this 4 year old thread, I think it's useful to point out that iTerm - http://iterm.sourceforge.net/ - is a cocoa terminal editor that is up to date and under continued development (and that's not to mention the Terminal application packaged with os X).
I found Furrysoft's goSerial rather nice for my AVR hacking projects:
http://www.furrysoft.de/?page=goserial
http://www.furrysoft.de/?page=goserial
While moving from the Windows to Mac OS is a nice experience, you would miss the PuTTY system on Mac if you have been used to using it on Windows. Whether you are a system admin or a website owner, it’s a common application that most of us have used at least once in their lifetime.
PuTTY is a free terminal emulator that helps you transfer files over the same network, by logging from another computer. It can also be accessed over the internet. You can secure the file transfer facility by adding SCP and SFTP. Security is the biggest concern with PuTTY, but you can add verification and encryption by using it in combination with SSH. This helps shield the connections over the internet.
While many dedicated users still prefer using PuTTY, it can be tough for those who have recently shifted to Mac. So, here’s a quick list of some of the best PuTTY alternative for Mac OS that we think can make your life easy.
Terminal
It’s the default terminal emulator that comes embedded in the Mac OS. It’s a wonderful tool that helps break down into the command line. So, when you are logged into multiple servers, you will easily be able to identify the special background colors and the window titles mentioned in profiles. You can either use the built-in profiles in the Terminal or can even make your own custom profiles.
Just Press Command and Spacebar and search Terminal in Spotlight. Now, just write ssh [email protected] to connect to the server.
Moreover, it allows you to add bookmarks while working which can be then used to quickly maneuver through the extended Terminal window. The best part is, the inspector helps you to view and control the ongoing processes, and even lets you adjust the window titles and background colors.
Price: free
iTerm 2
iTerm is one of the best PuTTY alternatives for MacOS that comes loaded with features. It offers solutions for any desire that a terminal user could have thought of. Among its major attractions is the option to split a tab into several windows with each one of them featuring a different session. Whether you choose to divide it vertically or horizontally, it allows you to generate endless panes in any possible alignment.
By registering a hotkey, you can bring the software to the front when working from another program. Simply press a key and the terminal comes up. You can get a terminal that’s always available by setting the hotkey to open a dedicated pane. Moreover, it features powerful search functionality, while the interface stays distant. As soon as you input your search term, the matches are instantly highlighted.
Autocomplete is another feature where as you type the first letter of any word that you might have used earlier, followed with “Cmd” and the word comes up at the top of the list. Find option to look for text, paste history to recheck the last copied or pasted text, or instant replay to travel back in time, are some of its other significant features.
Price: free
ZOC
ZOC is compatible with both Windows and Mac making it universally usable. This terminal emulator is a freeware that offers a splendid list of emulations and robust features. These features make it a dependable and classy tool that links you to hosts and mainframe. It connects you through different modes such as telnet, secure shell, and more.
It boasts an advanced interface that features a tabbed session with thumbnails. It offers address book containing folders and hosts (color-coded). It can be easily customized to suit your choices and requirements. Support for a scripting language with 200 plus commands, huge number of loggings, buttons that are user-defined, or full keyboard remapping features are among some of the major features.
Price: free
vSSH Lite
If you are looking for a free PuTTY alternative to Mac OS, then vSSH Lite could be the right solution. It’s a modern SSH and Telnet client that’s highly customizable. It comes with an enlarged keyboard, touch screen motions, synchronization for iCloud, and more. It offers one of the fastest terminal outputs, comes with SSH and Telnet protocols, offers verification options with username/password and private keys, option to scroll through the touchscreen or use arrows, and multiple sessions.
Consume for mac. Explore the world of Mac. Check out MacBook Pro, iMac Pro, MacBook Air, iMac, and more. Visit the Apple site to learn, buy, and get support. TeamViewer Host is used for 24/7 access to remote computers, which makes it an ideal solution for uses such as remote monitoring, server maintenance, or connecting to a PC or Mac in the office or at home. Install TeamViewer Host on an unlimited number of computers and devices. As a licensed user, you have access to them all! Start quickly with the most recent versions of Word, Excel, PowerPoint, Outlook, OneNote and OneDrive —combining the familiarity of Office and the unique Mac features you love. Work online or offline, on your own or with others in real time—whatever works for what you’re doing.
Among its other major features are, background work for up to 3 minutes for iOS7, and up to 10 minutes for iOS 5/6, notifies on timeout, connections for iCloud/Dropbox, sharing of macros and keys, key and port forwarding options, and so on.
Price: free
Hyper
Hyper is another free and open source software for Mac that works as a strong alternative to PuTTY. It’s also compatible with other major platforms. The project intends to create a pleasant and extendable experience for those using a command-line interface developed on open web models.
The software aims to focus majorly on speed, consistency, and the creation of accurate API for extension creators. Overall, the program can be expanded with add-ons, but without any choice for file transfer or encryption.
Price: free and open source
Shuttle
Shuttle for Mac is an uncomplicated and straightforward shortcut menu application for OS X. All you need to do is to launch the app and select the option that says “Configure to edit ~/.shuttle.json”. Now, describe the items featured in the menu as well as the actions that start functioning when clicked.
Price: free
OpenSSH
A free and open source terminal emulator for Mac OS, OpenSSH is also available for other platforms. It’s a leading connectivity software used to log in from a remote system with the SSH client. It encodes the entire traffic to remove any possibilities of spying, hijacking connection, and other malware attacks. Besides, it also offers an extended range of safe tunneling features, multiple verification techniques, and elegant configuration choices.
The program comes equipped with tools like ssh, scp, and sftp for remote functions, ssh-add, ssh-keysign, ssh-keyscan, and ssh-keygen for key management, and sshd, sftp-server, and ssh-agent as service options.
Price: free
Royal TSX
If you are looking for a PuTTY alternative for Mac that offers easy and safe access to the remote computers, then Royal TSX can be your best bet. It helps you manage your computers remotely on several different platforms at a time. Whether you are a system engineer, IT professional, developer, or system admin, the tool is perfect for your needs.
It also offers assistance for credential management and comes with a tabbed interface for convenience. Simply mention the name of the credential to allocate a credential to connections. This helps you to share a file that features only connections with your personal testimonials saved in a confidential file, locked with a passcode.
It features a smooth and user interface that is completely customizable. Besides, it can manage files accessed by different users concurrently, while letting you integrate file modifications without an SQL database back-end. It can also sync with LastPass and KeePass that allows you to open the documents. It also allows the credentials to be opened to be used as the normal credentials for the software.
Price: free trial available; pro version starts from € 39.00
Chrome Secure Shell
For those looking for one of the best PuTTY alternatives for Mac, Chrome Secure Shell is the right choice It’s a terminal emulator and SSH client designed for Chrome. It’s compatible with x-term that uses the built-in client to connect to the SSH servers right away without needing any outer proxies.
Price: free
Termius
If you are looking for an extensive command-line option, Termius could be the best option for you. This tool is way beyond than just an SSH client as it reexplores remote access for network engineers and system admins. It allows you to access the Linux or IoT based devices safely, and fix any issues much faster and conveniently.
This free application offers an attractive, handmade interface for all major platforms. There are no ads for distraction. Moreover, it couples its servers and credentials for fast access. While it helps make groups to explain the shared themes and settings, it also tags your systems to keep them arranged.
It comes equipped with 10 colorful themes and fonts that can be adjusted. In addition, it allows you to create several connections to the same host or link to different hosts. You can also encode almost all services and connections using port forwarding and tunneling.
Price: free
Kitty Terminal
Kitty Terminal can be easily considered among the best PuTTY alternatives for Mac OS as it’s a robust, multi-platform, and a GPU-supported terminal emulator. The program transfers description to the GPU and makes the OpenGL to work for quick, multi-platform performance. It includes native tiling designs along with support for visual, Unicode, and ligature.
It provides support for every advanced terminal feature like the images, true-color, mouse protocol, and more. It also supports tiling of different terminal windows parallelly in multiple patterns and does not require using the tmux. Best of all, it can be managed from the shell prompt or the scripts. The program can be extended using Kittens structure that helps build small terminal programs.
In addition, it provides support for startup sessions that enable you to fix a design, active directories, and apps to launch at the startup. Besides, it also lets you launch the scrollback option in an individual window that uses random apps.
Price: free and open source
SecureCRT
SecureCRT offers a powerful terminal emulation function for those in the field of computers. While it helps to increase productivity with modern session control, it also sets up many methods to save time and streamline mundane tasks. It offers safe remote access, file transfer facility, and the option of data tunneling for all employees in the organization.
Moreover, it comes with pre-set color schemes, that includes Solarized scheme, making it easy to transform the look of your terminal workstation. You have the freedom to select from a different light and dark color mixups with matching forefront, background, and ANSI shades.
Price: free trial available; pro version starts at $59.95
Codinn SSH
Codinn SSH Proxy helps transform any remote server (SSH) to SOCKS v5 proxy, that’s responsive and user-friendly. It stores the history of your SSH credentials and private key passcode, and save it to the keychain of OS X. What’s more? It can even reconnect you automatically when your Mac wakes you up from your sleep.
Among its major features are, autostart option as the Mac OS X starts, option to share SOCKS v5 proxy on LAN, quick change between multiple SSH accounts create a whitelist, and more.
Price: On request
While there are many alternatives for PuTTY for Windows, not many options are there for Mac OS. However, the ones we have listed are good enough to suffice your needs. Given that Mac OS already comes equipped with its own native SSH client, chances are that you may not require external support. But, those who are looking for additional features, can try any of the apps listed in the above list of the best PuTTY alternative for Mac OS.
DTerm
DTerm is another great PuTTY alternative for MacOS which is context based. This command line works at the simple touch of a key. It syncs the command line process into the user’s regular workflow and improves productivity while removing any clutters from the screen. In short, it simplifies the entire workflow by eliminating the tedious process of functioning as an individual window in an individual application.
Os X Terminal Commands List
As you look for information, the software questions the window for the route to its logs (at the extreme front), while introducing a command line using a suitable active directory. It also lets the log files to be added to the command, easily. Moreover, it allows you to copy the command outcomes to the clipboard and release the software with a single stroke of a keyboard.
The software helps cut down the entire workflow of operating command in a random working directory and copying the outcomes to be used later. It reduces this entire process to as low as just three simple keystrokes.
Mac Os Serial Terminal
I find passion in writing Tech articles around Windows PC and softwares
Mac Os X Terminal App
Recommended for You: