Download here: http://gg.gg/o8ptq
A basic tool for testing your serial port connection on your Mac isCoolTerm by Roger Meier:CoolTerm is a simple serial port terminal application (no terminalemulation) that is geared towards hobbyists and professionals with aneed to exchange data with hardware connected to serial ports suchas servo controllers, robotic kits, GPS receivers, microcontrollers,etc.
You can download CoolTerm here (mirror).Step 1 - Start CoolTerm¶
CoolTerm is idle state when you open it. First you need to select andconfigure the serial port by pressing the options button.Step 2 - Configure and select the Serial Port¶
Configure the serial port and select the serial port. If CoolTermdoesn’t show your serial port, you need to press the Re-Scan SerialPorts button. The serial port should show up in the selection list, ifit doesn’t show, please check if the driver has been installed correctly (see support).
Press the ok button when you’re finished.Step 3 - Use the Serial Port¶
*To fix the resource busy message, you should be able to go to activity monitor and terminate the ’screen’ processes. This will release the screen process for you to be able to connect again. I ran into the same problem with the blank screen as well.
*I’m on Mac OS X 10.6, and I’ve been using the screen command to send ASCII data over a serial port. However, not all the data I would like to send is pure ASCII, and I would like to be able to send raw bytes over the serial port.
I appreciate you POV that using the screen command is a bit clunky (albeit impressive). I’d rather have a separate app that I use for connecting to the serial port on my Ciscos. That’s why I use the 19HS (tripplite or keyspan, depending on how old it is) with zterm on my Mac and have for years. I’ll have to try this out.
CoolTerm is still Idle, press the Connect button to open the serialport. After pressing this button the character your type are send to theouter-space via the serial port, and characters it receives aredisplayed in the window. You can also monitor the handshake signals viathe signal LEDS in the right corner, and you can control the RTS and DTRsignal by pressing the signal LEDS
Most recent update:Tue Jun 28 09:43:24 2011
As of C-Kermit is 9.0.300, 30 June 2011WHAT IS C-KERMIT?C-Kermit is a portable communications software package offering aconsistent and portable approach to serial and network communications: onlinesessions, file transfer, character-set translation, numeric and alphanumericpaging, and automation of all communications tasks.
C-Kermit is available for hundreds of different platforms including allvarieties of UNIX (Linux, Mac OS X, FreeBSD, NetBSD, OpenBSD,Solaris, AIX, HP-UX, IRIX, QNX,and hundreds more), as well as VMS (OpenVMS), VOS, AOS/VS, and others, andworks in conjunction with its companion programs onWindows, DOS,IBM Mainframes,and almost any other platform you can think of.
As a serial communications program, C-Kermit supports both directserial and dialed connection. For dialing, it includes built-in support fordozens of modem types and a sophisticated location-independent dialer anddialing directory, allowing the same entries to be used from any country orarea within a country.
On TCP/IP networks, C-Kermit can act as Telnet client,Rlogin client, or as a file-transfer and management server thatcan be accessed from clients elsewhere on the network. In Unix only,C-Kermit 8.0 is also anFTP client and afront-end to your computer’s SSH client, and on the server side can alsobe installed as an SSH service -- a more powerfulalternative to SFTP.C-Kermit’s TCP/IP connections can include secureauthentication and encryption using the Kerberos 4, Kerberos 5, SSL/TLS, andSRP security methods. On selected platforms, other networking methods such asX.25 are also supported.
C-Kermit offers online sessions with session logging, character-settranslation, and other conveniences; it offers error-free, efficient, androbust file transfer with recovery and update features; auto-upload and-download; client/server and remote access features; character-set translationfor Western and Eastern European languages, Cyrillic, Japanese, Greek, andHebrew duing both terminal connection and file transfer (a unique feature ofKermit software), and in version 7.0 and later also Unicode.
All operations can be programmed for automatic unattended execution ina consistent way, regardless of platform or connection method, using theportableKermit scripting language, which includes fileand communications i/o, block structure, looping, variables, arrays,arithmetic, functions, pattern matching, and structured programming features.
C-Kermit is thoroughly documented and actively supported. Thepublished manual is:
There’s a newsgroup:
And an e-mail tech-support address (through 30 June 2011 only).
And lots of other resources.Also see:
[Top] [C-Kermit Home][Kermit Home]WHERE DOES C-KERMIT COME FROM?C-Kermit is a product of the nonprofit Kermit Project at ColumbiaUniversity. It was originally written here in 1985 and has been activelydeveloped, maintained, and supported by us since then, with help andcontributions from volunteers at other sites throughout the world.
The definitive site for C-Kermit software and information is:
Any other source is likely to be incomplete and out of date.
[Top] [C-Kermit Home][Kermit Home]HOW IS C-KERMIT LICENSED?C-Kermit 9.0 has a certified Open Source license:the Revised 3-Clause BSD License.
The following describes the C-Kermit 7.0 and 8.0 license:
C-Kermit has its own special kind of license:CLICK HERE toread it.
The C-Kermit license does not fall into any convenient category. It is notcommercial, not shareware, not freeware, not GPL. The terms can be summarizedas follows:
*You may download C-Kermit without license or fee for your own useor internal use within your company or institution.
*You may install C-Kermit without license or fee as a service orapplication on a computer within your company that is accessed by customers orclients. This provision would apply, for example, to an ISP or a medicalclaims clearinghouse.
*You may include C-Kermit with a ’Free UNIX’ or other OpenSource operating-system distribution such as GNU/Linux, FreeBSD,NetBSD, OpenBSD, etc.
*Except as in (3), you may not sell or otherwise furnish C-Kermit asa software product, or a component of any product, to actual or potentialcustomers or clients without a commercial license; to see the commerciallicense terms, CLICK HERE.In addition, we recommend that those who make more than casual use of C-Kermitpurchase the published manual,UsingC-Kermit. It’s a complex program, it’s even a programminglanguage, and for such things books work best for learning and reference.
[Top] [C-Kermit Home][Kermit Home]DO I HAVE THE RIGHT VERSION OF C-KERMIT?Every combination of hardware platform (e.g. Intel versus Alpha versusPowerPC versus Sparc, etc), operating system (AIX, HP-UX, Solaris, VMS,etc), and operating system version, and sometimes also networking productand version, needs its own C-Kermit program. The source code is portablebut the binaries are not.
We try to provide prebuilt C-Kermit binaries for as many combinations as wecan, over 600 of them; most of those webuild ourselves, others are sent in by kind volunteers. We also supply sourcecode, so you can build it yourself if you have a C compiler, header files, andlibraries.
The general rule is that a binary built on a particular version of anoperating system on a particular platform should continue to function on laterOS versions on the same platform, but there can be no guarantees. Theconverse, however, is almost a certainty: that a binary can not be run underan earlier OS version than it was built on.
If you change or upgrade your operating system, you will probably need toobtain (or build) a new C-Kermit binary. The binaries are listed HERE. The source code can be found here:
along with building instructions.In recent years, less and less importance is placed on stability andbackwards compatibility. New OS or library releases have an increasingtendency to break applications. Now with automatic patching, you might noteven know that your OS or libraries have changed, but then suddenly onemorning you find that C-Kermit and other applications have stopped working–failure load a library, segmentation fault (core dump), etc. This form ofsoftware rot was virtually unknown in the Old Days, now it is therule. Perfectly good applications have to be rebuilt or updatedconstantly. If left unattended, they ’rot’ to the point of uselessness.
C-Kermit itself is quite stable. In most cases it does not need to bechanged to keep up with the changing infrastructure; just relinked or,in the worse case, recompiled and relinked. So keep your source code handy,you’ll probably need it again and again. But in any case, you can alwayspick it up again from here
Meanwhile as time passes, platforms where we built previous C-Kermitreleases might be upgraded, stop working, or otherwise become unavailable tous, in which case we can no longer make binaries for that platform. In suchcases you’ll need to build from source code if you have a C compiler (andplease send in the resulting binary), or run a binary from an earlierC-Kermit release.
[Top] [C-Kermit Home][Kermit Home]HOW CAN I GET A SECURITY-ENABLED VERSION OF C-KERMIT?Briefly:The security-related features and commands areNOTin the publicly distributed C-Kermit binaries. Youcan’t use the prebuilt binaries to make secure connections. If you try togive them a command like SET AUTH, Kermit will say’?No keywords match - auth’. To get a version of C-Kermit that hassecurity features, you must download the source code and build ityourself.Mac Terminal Serial Emulator Screen Resource Busy App
C-Kermit is a product of Columbia University, which is in New York City,which is in the United States of America (USA), and therefore subject to USAlaws, which forbid export of software that contains strong encryptionalgorithms in binary executable (ready to run) format without a license.Thus, each user or site that needs C-Kermit’s security features mustdownload the source code, compile it with the appropriate options, and linkit with the desired security libraries such as Kerberos or OpenSSL (themakefile contains ready-made targets for most platforms to do this). Sitesthat does not have the desired libraries and header files must obtain themfrom the appropriate source (not us) and install them first.
Then why (you might ask) are we able to distribute Kermit95 (the Windows version of Kermit) with security built in, in binary form?That’s because we spent the months required to obtainpermission from the US Department of CommerceBureau of Industry and Security. Thistime-consuming and laborious process would be required for eachC-Kermit binary, of which there are hundreds.Unfortunately we don’t have the resources to do that.
In many cases, all you need to do is download the current source-code package, unpack it, andgive a ’make’ command referencing the appropriate target, e.g. ’makefreebsd50+openssl’, ’make openbsd30+openssl’, ’make hpux1100o+openssl’,’make linux+openssl’, etc. These targets are like the regular (non-secure)targets but with certain definitions added, certain directories added to theheader-file search list, some extra libraries linked in.
In case there is not a premade target in the makefile for the desiredplatform and security method(s), first check the latest development build (not released yet), maybeit has been added. If not, you will need to add one yourself, using similartargets as a model. For more information see the Kermit Security Reference. If you add a newtarget, please send it back to us for inclusion in the next release.
Note that a C-Kermit binary with SSL built on one machine will not runon another machine that has a different version of OpenSSL. This isexplained in Section 4.2.3 of theKermit Security Reference. It can also happenon the same machine if you change the OpenSSL version without rebuildingC-Kermit.
[Top] [C-Kermit Home][Kermit Home]WHAT IS THE DOCUMENTATION FOR C-KERMIT?The documentation for C-Kermit is as follows:Using C-KermitA 622-page book describing C-Kermit 6.0 (December 1996) and theplatform-independent aspects of the concurrent version of K95 (1.1.8)including the command language, serial and network connections, file transfer,client/server operation, character set conversion, and script writing forautomation, plus sections on troubleshooting, tutorials on datacommunications, and tons of reference material. Until a new edition ispublished, this book remains the fundamental reference for the commandand scripting language of C-Kermit and Kermit 95. You can also finda scripting tutorial with lots of examplesHERE.C-Kermit7.0 SupplementThorough documentation of the new features of C-Kermit 7.0 (January 2000)and the platform-independent aspects of K95 1.1.17, which was the firstversion to include secure authentication and encryption, and in which thecommand language was greatly extended by the addition of ’switches’ (commandmodifiers), and which was the first version to support Unicode (the UniversalCharacter Set), plus other changes too numerous to list here.C-Kermit8.0 SupplementThorough documentation of the new features of C-Kermit 8.0 (February2002 - April 2004) and the platform-independent aspects of K95 2.1,principally the new FTP, SSH, and HTTP clients or interfaces, plus tons ofscripting improvements.C-Kermit9.0 SupplementThe new features of C-Kermit 9.0, mainly support for large filesand a new Open Source license.
At some point a new edition of Using C-Kermit will be issued,incorporating the new material. For additional material, see the Kermitwebsite, especially the C-Kermit/K95 script library.
[Top] [C-Kermit Home][Kermit Home]WHY IS THERE NO TERMINAL EMULATOR IN C-KERMIT?
*How Do I Tell C-Kermit to Emulate a TVI955 (or other kind of) Terminal?
*How Do I Map the F-Keys in C-Kermit?
The platforms where C-Kermit runs -- UNIX, VMS, VOS, AOS/VS, etc -- are notlike DOS or Windows. One of the most common questions about C-Kermit (andabout the platforms it runs on) is ’How Do I Tell C-Kermit to Emulate aTVI955 Terminal?’ (substituteyour favorite terminal or Unix variety or other timesharing OS such as VMS)or ’How do I map the F-keys in C-Kermit?’We’ll discuss Linux, but the situation is about the same for the others.
An advantage of operating systems like Unix over DOS and Windows is that Unixis a multiuser, multitasking operating system, not a single-user systemdesigned only for use on a PC, from the PC’s own physical keyboard and screen.Unix users can come in over the console, through X, through a serial port, aTelnet connection, an Rlogin connection, an SSH connection, etc etc, and therecan be any number of them at once. The price you pay for this flexibility isthat applications can’t access the hardware directly.
In Unix, only the console driver and/or the X server can get at the computer’skeyboard and screen, and so it is not possible to write a terminal emulatorfor Unix in the same way it is for DOS and Windows, which, as dedicatedsingle-user desktop personal systems, always have direct access to thekeyboard and screen.
Instead, the console (physical keyboard and ’raw’ screen + drivers) or thexterm window give you what amounts to an actual TERMINAL. Its characteristicsare what they are; you can’t change them (except you can do some key mappingin X which can affect xterm). If you want TVI955 or Wyse60 emulation andyour xterm or console doesn’t already do that, there is no way to get it.
As noted, you can also access Unix from Telnet, Rlogin, SSH, dialin, or even ahardwired connection from another computer through the serial port, or forthat matter from an actual physical terminal (VT100, Wyse, TVI, etc), or froma PC that is running an emulator for a physical terminal. Obviously, when youcome into Unix this way -- i.e. from a remote computer or terminal -- Unixapplications haven’t a prayer of directly accessing the keyboard or screenthat you are using, and so can not tell which keys have been pressed orcontrol the appearance of your screen.
Linux users often think they can get TVI955 (or any other kind of) emulationby setting their Linux TERM environment variable accordingly. But that’sbackwards. It doesn’t change how your console or xterm works. Instead, youmust inform the remote computer, the one you are connected to fromLinux, what your Linux terminal type is, and make the remote system send theright stuff for it and interpret your keystrokes appropriately. For example,when logging in to AIX from Linux, give the following command at the AIX shellprompt:
(or ’exportTERM=vt100’, etc, depending on your shell).Note that AIX does not normally support the ’linux’ terminal type, so youcan’t tell AIX that your terminal type is Linux. Conversely, Linux consoleand xterm do not support the native AIX terminal type (AIXTERM or HFT), so youcan’t use that either. But AIX does support vt100 (as almost all multiuseroperating systems do), and VT100 happens to be a subset of both Linux consoleand xterm.
Here’s another example in which we access a Data General AOS/VS minicomputer which normally expects you to havea Data General DASHER terminal. But really we’re using a VT100 emulator orxterm. So after logging in to AOS/VS, we give the following command, whichtells it we are using an ’ANSI’ terminal (which in this case means VT100):
The Linux console ’emulates’ The Linux Console. It is its own terminal type.Xterm -- depending on which one you have -- emulates xterm (which is a VT100superset) or in the case of Xfree86 xterm, vt220. Ifyou are coming into Linux remotely, then your Linux terminal type should bethe kind of terminal or emulator you have locally. If you have TCP/IP accessto the remote computer, and both computers support X, it might be possible torun the remote computer’s X terminal with its disply directed at your localcomputer’s X server. For example, to access VMS from Linux, you might set upVMS like this:
This way, you’ll be running the VMS xterm (DECterm) ’on’ Linux, rather thanthe regular Linux xterm (it’s actually running on VMS, but using your Linuxscreen as its display). You’ll have complications with fonts and keymapping, which can be solved, but the details are beyond the scope of thisdocument (but seethis VMS newsgroupposting for hints).
In UNIX the communications function generally resides in some otherprogram, such as kermit, cu, telnet, rlogin, ssh, etc. Thus, unlike inWindows and other single-user operating systems, the terminal emulation andcommunication functions are separate. In a typical scenario, you start anxterm window, and then start (say)C-Kermitin the xterm window andhave it make the desired connection. C-Kermit provides the connection, xtermprovides the emulation. (Ditto if you replace C-Kermit by cu, telnet, rlogin,ssh, tip, minicom, and so on.) C-Kermit also gives you file transfer,character-set translation, t

https://diarynote-jp.indered.space

コメント

お気に入り日記の更新

テーマ別日記一覧

まだテーマがありません

この日記について

日記内を検索