TELNET or Hyper Terminal Application
Id like to use the ibook G4 to log technical data from a device using the USB - I've done this in the past using a PC and the RS232 port while using the "Hyper Terminal" application.
Question : Is there a MAC equivalent application for this purpose?
You might be able to find something here...
http://www.pure-mac.com/remote.html
Similar Messages
-
AT Commands , Hyper Terminal and java
Hi,
I have following problem, i have PCMCIA Type -11 Wireless modem.its installed on my system COM4 port.
Now first problem is that when i try to connect with hyper terminal to COM4 there is no response from it .It become Idle.but when i connect with COM3 which is my Dialup modem port it works fine with all AT commands.
Now 2nd things is that same with below code i tried to send sms using AT command on COM4 its has same behaviour as it was in Hyper terminal mean no response. no Data Available event occour
Please help me in this regard and suggest me a solution.
package serialio;
import javax.comm.*;
import java.io.*;
import java.util.*;
public class SimpleWrite
implements Runnable, SerialPortEventListener
public void run()
static Enumeration portList;
static CommPortIdentifier portId;
static String dest = "0517111930";
static String messageString = "Hello";
InputStream inputStream;
static SerialPort serialPort;
static OutputStream outputStream;
public void serialEvent(SerialPortEvent event)
switch (event.getEventType())
case SerialPortEvent.BI:
case SerialPortEvent.OE:
case SerialPortEvent.FE:
case SerialPortEvent.PE:
case SerialPortEvent.CD:
case SerialPortEvent.CTS:
case SerialPortEvent.DSR:
case SerialPortEvent.RI:
case SerialPortEvent.OUTPUT_BUFFER_EMPTY:
break;
case SerialPortEvent.DATA_AVAILABLE:
BufferedReader reader = new BufferedReader(new InputStreamReader(inputStream));
String line = "";
try
while ( (line = reader.readLine()) != null)
System.out.println(line);
catch (IOException e)
System.err.println("Error while reading Port " + e);
break;
} //switch
public SimpleWrite(SerialPort serial)
try
inputStream = serial.getInputStream();
try
serial.addEventListener(this);
catch (TooManyListenersException e)
System.out.println("Exception in Adding Listener" + e);
serial.notifyOnDataAvailable(true);
catch (Exception ex)
System.out.println("Exception in getting InputStream" + ex);
public static void main(String[] args)
// String line1="AT+CMGF=1\r\n";
// String line2="AT+CMGS=\""+ dest+"\"\r\n";
// String line3=messageString+"\r\n";
// String line4="\u001A";
String line1 = "AT+CMGF=1\r\n";
String line2 = "AT+CMGS=" + dest + "\r\n";
String line3 = messageString + "^Z\r\n";
// String line4 = "\u001A";
portList = CommPortIdentifier.getPortIdentifiers();
while (portList.hasMoreElements())
portId = (CommPortIdentifier) portList.nextElement();
if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL)
System.out.println("SMS Sending........");
if ( portId.getName().equals("COM4"))
System.out.println("SMS Sending....Port Found");
try
serialPort = (SerialPort) portId.open("SimpleWriteApp", 2000);
SimpleWrite wr = new SimpleWrite(serialPort);
catch (PortInUseException e)
System.out.println("Port In Use " + e);
try
outputStream = serialPort.getOutputStream();
catch (IOException e)
System.out.println("Error writing to output stream " + e);
try
serialPort.setSerialPortParams(
2400,
SerialPort.DATABITS_8,
SerialPort.STOPBITS_1,
SerialPort.PARITY_NONE);
catch (UnsupportedCommOperationException e)
try
outputStream.write(line1.getBytes());
outputStream.write(line2.getBytes());
outputStream.write(line3.getBytes());
outputStream.flush();
catch (IOException e)
System.out.println("Error writing message " + e);
/** show text in the text window
* @param Text text string to show on the display
public static void showText(String Text)
System.out.println(Text);
}* SerialWrite.java
* Created on September 10, 2008, 2:51 PM
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
package com.sms;
import javax.comm.*;
import java.io.*;
import java.util.*;
public class SerialWrite implements Runnable, SerialPortEventListener
static String output="";
public void run()
static Enumeration portList;
static CommPortIdentifier portId;
static String dest = "+91999999999";
static String messageString = "Hello Testing11";
InputStream inputStream;
static SerialPort serialPort;
static OutputStream outputStream;
public void serialEvent(SerialPortEvent event)
switch (event.getEventType())
case SerialPortEvent.BI:
case SerialPortEvent.OE:
case SerialPortEvent.FE:
case SerialPortEvent.PE:
case SerialPortEvent.CD:
case SerialPortEvent.CTS:
case SerialPortEvent.DSR:
case SerialPortEvent.RI:
case SerialPortEvent.OUTPUT_BUFFER_EMPTY:
System.out.println("Error");
break;
case SerialPortEvent.DATA_AVAILABLE:
BufferedReader reader = new BufferedReader(new InputStreamReader(inputStream));
String line = "";
try
while ( (line = reader.readLine()) != null)
if(line.equalsIgnoreCase("OK") || (line.indexOf("+CMGS") != -1))
output=line;
Thread.sleep(10);
catch (Exception e)
System.err.println("Error while reading Port " + e);
break;
} //switch
public SerialWrite(SerialPort serial)
try
inputStream = serial.getInputStream();
try
serial.addEventListener(this);
catch (TooManyListenersException e)
System.out.println("Exception in Adding Listener" + e);
serial.notifyOnDataAvailable(true);
catch (Exception ex)
System.out.println("Exception in getting InputStream" + ex);
public static void main(String[] args) throws Exception
int i=0;
String line0 = "ATZ\r\n";
String line1 = "AT+CMGF=1\r\n";
String line2 = "AT+CSCA=\"+919888888\"\r\n";
//String line3 = "AT+CMGS="+"\""+ dest + "\""+"\r\n";
String line3 = "AT+CMGS="+"\""+ args[0] + "\""+"\r\n";
//String line4 = messageString;
String line4 = args[1];
portList = CommPortIdentifier.getPortIdentifiers();
while (portList.hasMoreElements())
portId = (CommPortIdentifier) portList.nextElement();
if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL)
System.out.println("SMS Sending........");
if ( portId.getName().equals("/dev/ttyACM0"))
System.out.println("SMS Sending....Port Found");
try
serialPort = (SerialPort) portId.open("SerialTestApp", 2000);
SerialWrite wr = new SerialWrite(serialPort);
catch (PortInUseException e)
System.out.println("Port In Use " + e);
try
outputStream = serialPort.getOutputStream();
catch (IOException e)
System.out.println("Error writing to output stream " + e);
try
serialPort.setSerialPortParams(
115200,
SerialPort.DATABITS_8,
SerialPort.STOPBITS_1,
SerialPort.PARITY_NONE);
catch (UnsupportedCommOperationException e)
try
outputStream.write(line0.getBytes());
Thread.sleep(10);
while(!output.equalsIgnoreCase("ok"))
Thread.sleep(10);
output="";
outputStream.write(line1.getBytes());
while(!output.equalsIgnoreCase("ok"))
Thread.sleep(10);
output="";
outputStream.write(line2.getBytes());
while(!output.equalsIgnoreCase("ok"))
Thread.sleep(10);
output="";
for(i=0;i<3;i++)
outputStream.write(line3.getBytes());
Thread.sleep(10);
outputStream.write(line4.getBytes());
Thread.sleep(10);
outputStream.write(26);
outputStream.write("\r\n".getBytes());
outputStream.flush();
while(!output.equalsIgnoreCase("ok"))
Thread.sleep(10);
output="";
System.out.println("Message Sent !!!!!!!!!1");
catch (IOException e)
System.out.println("Error writing message " + e);
/** show text in the text window
* @param Text text string to show on the display
public static void showText(String Text)
System.out.println("TEXT "+Text);
} -
[Solved] subtle wm launching terminal application in different view
Hello I'm trying to launch a terminal application in a different view from the other terminal windows I added the following to subtle.rb:
grab "S-W-i", "urxvt -e alsamixer"
tag "chat" do
match "alsamixer"
gravity :right
end
and I dunno, I just don't have a clue on what else I could need to do.
Last edited by syltman (2011-06-02 10:17:29)Varg wrote:
Try launching the grab with the name option for urxvt:
urxvt -name centerim -e centerim
Forgot to mention that in my previous post...
Alright now centerim is only on one view however all other urxvt terminal also spawn in that view.
Edit: solved it, should've just removed the :class urxvt thingy. Thanks!
Last edited by syltman (2011-06-02 10:17:58) -
Default settings file for Terminal Application?
Hello,
As in other Unixes /etc/bashrc or ~/.bashrc seem to contain the default settings for the Terminal Application.
But i was looking for the config file where i can set the default keyboard or keymapping for the Terminal Application?
The "Desktop-Keyboard/Keymapping" is ok , but in the Terminal several keys don´t work correctly. I need to ssh into another machine but the users password can´t be written correctly as of errors with keymapping so i can´t login into the other box.
Thanks for infos,
tyrtux.
MacBook white 2Ghz ICD Mac OS X (10.4.8)Then, check ~/Library/Preferences/com.apple.Terminal.plist, using:
defaults read com.apple.Terminal
in the Terminal. Look especially at the KeyBindings entries. Use the Property List Editor that comes with the XCode Tools to change/modify those to suit your needs. -
Install solaris via hyper terminal
Hi,
I just got my new ultra 5 box and I was wondering what type of cable and hyper terminal settings I need in order to get this thing rolling.
The type of cable I used before was a null modem cable db9F --> db9F. Then I read I needed db9 --> db25. So I went out and look for db9 --> db25 only to find that there wasn't any male to male cables ... any suggestions would be great!
Thanks,
IPv6Dear friends,
I have the same problem...
I have a VGA adapter in my sparc 5, but my 14" monitor doesn't show nothing (only a new MAG 17" but it's not mine).
So, I switched to HyperTerminal.
I made more than 10 Null modem cables, with all the options, but I could not see nothing and I cannot install my mchine.
The explanation of the cable here, I didn't understand so good, albeit that, I make the cable but it didn't work.
Does anybody knows what to do, step by step, or where can I read it?
Thank you very much!
Ilan. -
How to install Solaris 9 connected via Hyper Terminal
Hi All ,
We have planned to Install Solaris 9 in E250. We have connected the console throgh Hyper Terminal.
We are not able to see the options clearly in the console. The options are not in clear way. It is very difficult to install.
Please advice how to install Solaris 9 in Text mode and terminal type for installing the solaris 9 via Hyper Terminal.
I am awaiting for your reply.
Regards,
R. Rajesh Kannan.When the install starts, select a terminal type of VT100
The screens should display correctly then. -
V490 is not loging using hyper terminal after modifying hosts file
Dear ALL,
I am new user of Solaris 10. My Director has given me task to configure Sun fire V490 server. Today I was configuring the Network of the server using vi editor , I had change the ip from /etc/inet/hosts file after modifying the file I had restarted the system but it was not loging into root user. it gives an error "unable to login" , I searched the problem and find out that I missd the netmask file to modify but now I am unable to loging through hyper terminal . I am configuring the server using hyper terminal , is there other way to configure the server , because there is no vga card for the monitor display. How can I modify my server files. Please help me in this regard . I shall remain thankful to you.With Lions should be fine editing the standard /etc/hosts file
# Host Database
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
127.0.0.1 localhost
add here your IPv4 hosts list
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost -
[Pretty much solved] i3 - how can I run terminal application?
Hi everyone. I am newbie at tilling window managers, and I decided to give a try for i3.
Now I faced one problem and I cannot find a solution. for example, I want to run "yaourt-gui", which is terminal application. but when I run dmenu, I choose "yaourt-gui" and when I open it - nothing happens. I believe that i3 somehow uses different terminal which doesn't exist, despite I set terminal to be "terminology" in config file. (I can start terminal with shortcut without any problems.)
If you haven't got the idea - all I want when I run app from dmenu is to run it as terminal -e app, but not just app, which has no GUI.
any ideas?
Last edited by Fred-die-hard (2015-01-01 13:04:08)Trilby wrote:
You'll either need to type "terminology -e whatever" in dmenu, or hack dmenu to detect which programs need a terminal. Dmenu does not do this on it's own - it just runs what you tell it to.
There are instructions in the dmenu hacking thread to do exactly this.
The simplest way if it is only for this one program, just make a script or alias with the following:
terminology -e /usr/bin/whatever
Thanks. You are great. -
Calling AudioUnit from terminal application?
Hi, I'm a newbie so easy explanations are appreciated.
Is it possible to debug an AudioUnit class from a terminal application? Can anybody give any advice about what frameworks are necessary, and how exactly to instantiate the AudioUnit class?
Regards,
MikeThe servlet is part of the forms-installation on the application-server, on the local OC4J this is located in $ORACLE_HOME/forms/j2ee/formsapp.ear
What exactly do you want to know about the servlet? -
I deleted Terminal application by mistake, how do I reinstall without Lion Disc? I downloaded via AppStore.
Backup your user file folders to a external drive and disconnect.
Make sure you have a stable, reliable, fast Internet connection, use Ethernet cable if possible.
Hold Command R and boot from the Lion Recovery Partition, get online in the upper right corner, reinstall Lion, it will simply install Lion again and your bundled programs without touching your files or most all third party programs. -
Viewing values in hyper terminal
Hello all,
I am quite new to WSN programming. I have Crossbow and required hardware( micaz motes, mib510 programming board and a serial port cable). Can I view a Hello Message send by mote in the hyper terminal. Please guide me from the very beginning. Since I am purely from a computer science background . Thanks in advance
Rekhasas-Qatar wrote:
Sorry Didn't figure out how that could be done...
To start a new thread just click on the New Message button.
anyhow...I am attaching the manual for my GPR, as well the error code.
I want to input XON as a command to make sure my GPR will be booting, I did that through hyper terminal and it worked fine, but through lab veiw not sure why it is not working.
That error code indicates you are trying to use events, but have not actually registered for an event. Why are you using the Basic 2 Port example? You should be using the regular Basic Serial Write and Read example. The manual indicates that you need to append a carriage return to the commands. In the Basic Serial Write and Read example you can do so by replacing the "\n" with "\r". Thus, the control should look like this:
Attachments:
new message.PNG 15 KB
Basic Serial Write and Read_FP.png 4 KB -
Hello, I recently installed the 10.6 to my Macbook white 2 GHz, 2 GB RAM, 320 GB HDD. Everything was OK until several days ago I found out that I couldn't open the Terminal app. At first I thought it was just a glitch so I rebooted the macbook but the problem still existed. I checked the Applications folder and it seemed the Terminal app icon became the unknown type icon instead of the black terminal icon. How do I recover the lost Terminal app? Any help will be appreciated. Thanks.
By any chance did you move the Leopard version outside of the Utilities folder? It sounds like you may have done that but it's unclear from what you have written. You can separately restore lost or delete OS X components and applications as follows:
How to Use Pacifist to Replace Deleted or Missing OS X Components
Insert the OS X Installer DVD into the optical drive. Use a simple utility like TinkerTool to toggle invisibility so you can see invisible items. Alternatively, open the Terminal application in your Utilities folder and at the prompt enter the following:
defaults write com.apple.finder AppleShowAllFiles Yes
Press RETURN.
To turn off the display of invisible files repeat the above command substituting No for Yes.
The install packages are located in the /System/Installation/ folder on the DVD.
Download the shareware utility Pacifist 2.6.3 from VersionTracker or MacUpdate. Use it to extract a fresh copy of the missing item(s) from the file archives on your OS X installation DVD. The file archives are in the /System/Installations/ folder (use Go to Folder option in the Go menu of the Finder.)
Here are Four Basic ways to use Pacifist (courtesy of George Orville.)
A. Drag a .pkg icon onto the Pacifist window .....proceed to step 7.
B. Click on “Open Package ....” and navigate to package desired and click “Open” in the open/save window.....proceed to step 7.
C. Insert Mac OS X installer CD and when it mounts, navigate to .... Menu->Go->Go to Folder.
In the path field enter or paste ....
/Volumes/disc name/System/Installation/Packages (where disc name is the name of the CD/DVD that you inserted.
• Click on the "Go" button .....
• Drag a .pkg to Pacifist..... proceed to step 7.
The package you'll need will have to be discovered by trial and error, but for most applications you should start with the Essentials.pkg and/or Additional Essentials.pkg.
D. Insert your Mac OS X install disk 1 .... and open Pacifist.
1. In Pacifist, select "Open Mac OS X Install Packages" ... dialog may appear asking for disk 2, then disk 3 and finally disk 1 again.... {if DVD is not used)...If “Stop Loading” is selected...the procedure will stop!!!
2a. When loading is complete, a new window appears, click the triangle to display contents of each package...Select item and proceed to step 7.
2b. or click the “Find” icon in the Pacifist window and type the name of the software you need.
3. In the list that comes back, click the top most entry for the item that you want. ..... that is the one for the English language.
4. On the top of the Pacifist window, click “verify” .... you will probably be prompted for your password.
5. Enter checks for.... “verify permissions” and “verify file contents.” and click “verify” ....enter password when prompted.... you will get back output which may look like this:
20 files were scanned.
20 of 20 files were present on the hard disk.
0 of 20 files had file permissions that did not match those specified in the package.
0 of 20 files had checksums that did not match those specified in the package.
6. Click “close”. Go to step 7.
Extract or Install........
7. In the Toolbar (upper left), you now have the option to extract or install. Click a file in the lower list and those two icons will be enabled.
8. If “Extract to...” is selected.... navigate to the location where the file will be placed, select “choose”, select “extract” in new dialog that appears,authenicate , if prompted, click “OK”.
9. In the next dialog, click “Extract”.
10. If “Install” is selected... dialog will appear with the location/path of the installed software. Click “Install”
11. Type in your password, click “OK”
• Pacifist will begin to extract files.
12. In steps 8/10ß.... you also have the choice to “cancel”
Notes.....
• Pacifist may find that a file it is installing already exists on the hard disk. Pacifist will present you with an alert panel....
Stop
Leave original alone
Update ..... Default selection
Replace .... Replace option should only be used on full install packages -
I think my mac was hacked into last night using my Terminal application
Not sure - but I think my mac was hacked into last night when I downloaded the wrong version of handbrake application. I noticed on my screen that my Terminal Application opened and has some "darwin" code in it with my name and a $dollar sign after it. Should I be worried?
If that is your only symptom, I wouldn't be worried.
-
hello,
does someone know how to use the terminal application on a mac?and what is the point of this application?
thank youThe Terminal application itself is more or less just that, a terminal. It has some nice features about tabs, saving histories, altering its appearance, opening multiple terminals at once, automatically running scripts on open, etc.
However, it's overriding purpose is to provide direct access to the command-line environment of the UNIX operating system that OS X is based on. Through it, you can basically do anything that the computer is capable of, and perform a wide array of tasks for which there's no equivalent in the user interface -- such as modifying unpublished attributes of applications, setting up disk quotas, automating processes, UNIX-style scripting, etc.
If you learn how to use the UNIX shell that you access through Terminal.app, you'll find it's the single most powerful and broadly useful application that comes with our computer.
On the other hand, the computer is perfectly operable without it, and save for the occasional tweak to something now and then, you can probably live quite comfortably without it at all. In that respect, you can consider it a "Power User" tool. -
The "Terminal" Application in my Utilities will not start up
The "Terminal" Application in my Utilities will not start up. The icon appears briefly in the dock, then disappears. I have repaired disk permissions from the Leopard installation disk, and have tried logging on as a different user - to no avail. Version is 2.0.2 How can I repair or replace the app? Tks.
Just tried your advice to check Console, but Console crashes right after startup...
You seem to have more problems than just Terminal.
You can view the logs directly in /var/log/system.log
You could use iTerm <http://iterm.sf.net>.
Another approach would be to download TextWranger that can open text files anywhere on your system.
<http://www.versiontracker.com/dyn/moreinfo/macosx/18529>
Maybe you are looking for
-
How to downloadin Business Process Repository in Solution Manager?
Hello, Does anybody know how to download whole Business Process Repository from solution manager? I know how to download BPR, that are related to project, to excel file, but I want to download all the scenarios,processes are inbuilt to the Solution M
-
Date range windowing query...I think
Trying to do something I've not done before perhaps you can help or point me in the right direction. I've got a simple table with events, something like name, start_date, end_date. These events can be duplicates, they can be distinct, they can have t
-
Report Designer - Query with variable
Hi! When testing the report designer, we have found an issue - its not possible to embedding queries with variables. We have found note https://websmp107.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=012006153200000232982006 that suggest a solutio
-
Ability to actually download and print in pdf after purchase
I purchased yesterday the ability to turn word/excel documents to pdf. I can turn the documents no problem but then they are refusing to download. Also when I try to put the desktop print icon on it will not let me into the screen to log into the s
-
Monitor is blank white when trying to view full screen youtube video.
''locking as a duplicate - https://support.mozilla.com/en-US/questions/783757'' I have an HP w2207h widescreen flat-panel Monitor. When I try to view videos ONLINE, such as YouTube, in full screen mode, the screen goes to a blank white screen. Audio