The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Bash: Exiting while true loop when terminal is not the focus window acclaypool Shell Programming and Scripting 2 02-25-2008 06:02 PM
Script to launch terminal window? omerta SUN Solaris 5 06-30-2005 05:48 PM
Dial-Out & Dial-In Connections in OpenServer 5.0.6. thecobolguy SCO 1 04-28-2005 07:43 AM
Find and activate a terminal window cmp1jrv SUN Solaris 0 01-27-2005 12:48 PM
Terminal 'Local Echo' lost on Modem Dial-out mybeat UNIX for Advanced & Expert Users 2 04-12-2002 07:22 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 12-29-2004
fundidor fundidor is offline
Registered User
  
 

Join Date: Oct 2003
Location: Rio de Janeiro - Brazil
Posts: 37
How do I dial a number from the terminal window?

Hi Folks,


Just for the record: I am a Mac User.

But I believe my question is a simple UNIX FBSD question.

My problem: I need to learn how to "pick up" the telephone line and dial a number from an Unix shell or shell script execution.

My modem is at /dev/cu.modem

Why I need it?

I have an eletronic circuit in my office that is talking to a program in my computer. In case something goes wrong in the circuit, I would like my computer to dial me at my cell phone.

I have succesfullly done it using the efax command, using an AppleScript that accesses a shell via "do shell script blah, blah, blah". In fact the script tries to send me a fax at my cell phone.

I believe that there should be an Unix command built into my system that would let me to do this simple task.

Thanks for your help,


Bernardo Höhl - Rio de Janeiro - Brazil
  #2 (permalink)  
Old 12-29-2004
seg seg is offline Forum Advisor  
Registered User
  
 

Join Date: Aug 2003
Posts: 260
If you want to dial via a shell script perhaps echoing the AT commands to the device might work. echo "ATAH" > /dev/cu.modem. Not sure though.

Your best bet would be to find a dialer that would be used for dialing an ISP to connect the computer to the internet and modify the settings to dial your cellphone.

Google and Sourceforge.net are your best bets for that.

-Seg
  #3 (permalink)  
Old 12-29-2004
fundidor fundidor is offline
Registered User
  
 

Join Date: Oct 2003
Location: Rio de Janeiro - Brazil
Posts: 37
Hi Seg!

Thanks for posting.

Unfortunately your "echo" tip did not work.

I have also successfully applescripted the program "Internet Connect", as you sugested. And it worked.

As I said, the best I have achieved is using built in eFax. And I believe eFax is using some resource I could be using directly... Daemon? Protocol?

But for my education, I would like to learn how to do it the right way.

Any variations I could try on echoeing?

Thanks again.
  #4 (permalink)  
Old 12-29-2004
seg seg is offline Forum Advisor  
Registered User
  
 

Join Date: Aug 2003
Posts: 260
I don't think there is a 'right way', just get by with what you've got. Glad you got it to work.

-Seg
  #5 (permalink)  
Old 12-29-2004
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,100
I'm not a mac user, but there are typically programs called "cu" or "tip" to do this on most versions of unix.
  #6 (permalink)  
Old 12-29-2004
fundidor fundidor is offline
Registered User
  
 

Join Date: Oct 2003
Location: Rio de Janeiro - Brazil
Posts: 37
No manual entry for cu or tip...
  #7 (permalink)  
Old 12-29-2004
seg seg is offline Forum Advisor  
Registered User
  
 

Join Date: Aug 2003
Posts: 260
http://bama.ua.edu/cgi-bin/man-cgi?tip+1
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 04:18 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0