How to use a modem with the OmniGo

John Rosander (lrosande@oakland.edu)
Fri, 15 Nov 1996 09:40:17 -0500

> I've been lurking here for some time. Almost reluctantly, I've
> become very attached to my Omnigo, but I've always disliked that fact
> that it couldn't process e-mail. It's been a major thorn in my side.

> So, if I'm not asking a faq, could somebody fill me in on how to take
> a stock omingo all the way up to the point of logging into a shell account?

---------------------------------------
Well I am responding to you on my Omnigo using
3 pieces of software and a generic Unix account on a University.

1. You need Ogcomm from RC Schuler
schuler@usa.net available from many web
sites.

2. I usually write my email messages in OgEdit and name the file upload.txt which
OgComm uses to upload text (Note the file size has to be limited to small messages
for some reason by OgComm). So again RC Schuler made this program.

3. Another optional program that I use alot to
rename files and delete old email files is
File Manager from Blue Marsh Software

NOTE: All the software is freeware.

---------------------------------------
What to do to get things to work?
---------------------------------------
1. Get a modem, I prefer the PCMCIA kind because it is smaller.

2. Make the Omnigo AC adapter since the PCMCIA Modem eats batteries like crazy and
I've heard that using an external modem through the serial port also uses lots of
energy so go ahead and make the Ac adapter. If you dont want to make the adapter
then whenever you want to use the Modem use fresh Energizer Hi-Energy Lithium
batteries if you don't use fresh ones you may not be able to talk to the modem
(took me a while to figure that out). You can expect new batteries to last about
40 Minutes when using the PCMCIA modem (Maybe just the modem that I use Compaq 19200).

3. After installing the software using the INSTALL program use the OgEdit program to
edit the Document\ogcomm.mac file as follows:

Note: Each section is delimited by the #
character.
A. The first section is the Dial string so
here is what I use:
atdt9,,1-800-999-8888
The atdt stands for attention Tone
Dial. 9 is to get an outside line and
the commas have the Modem wait 2
seconds. And lastly the phone
number.

B. The next section is the Host name
macro. You can use this for anything
but since my login sequence asks for
my home Host name I use it for what it
was intended.

C. Username put in your username.
Mine probably wont work for you :-)

D. The last three fields are whatever you
want, here is what I use:
The first field I use for my password
Put in your password.
Again Mine probably wont work for
you :-)

The next field I use to start up my unix
mailer mailx.

The last field I use to set up my unix
environment:
export TERM=dumb;export COLUMNS=30;export ROWS=15#

So here is what my file looks like,
remember NOT to have return characters
in the file:

atdt9,,1-800-999-8888#host#lrosande#password#mailx#export TERM=dumb;export COLUMNS=30;
export ROWS=15#

Remember to save the file as
Document\ogcomm.mac.

4. Now we are ready to go. First make sure that the modem is on (if external) and
connected to the phone line.

On the OmniGo start the OgComm program. When it starts it asks for which
serial port: 1 is for the external port and 4 is for the PCMCIA modem.

The first thing I try is to do AT to see if I am
talking to the modem. The Modem should come back with OK as follows:
at

OK

If you don't get the OK prompt something is wrong, try to take the modem out and turn
the OG on and off and then reinsert the PCMCIA modem sometimes it works for me.

At this point we can issue the ATDT command to dial any number or use our Dial Macro that
e made earlier in the ogcomm.mac file using TERM -> Dial Macro. You should see:
atdt9,,1-800-999-8888

Wait for a few seconds and you should get a prompt asking for you user name. At this
point use the pull down menu TERM -> User ID to send your username.

The system should ask for password, use
the TERM-> Macro 4.

5. At this point you should be at a Unix prompt which will allow you to enter commands.
The first thing that I do is to run the 6th macro which sets my terminal
configuration up. So TERM -> Macro 6.

6. You can now access the mail program.
I use mailx which on most Unix systems
is the same as mail. to start it I just run macro 5 so TERM -> Maro 5

**************************************
NOTE: There is a problem with OgComm
where the scroll buffer gets filled which locked up my OG a few times. To fix this
problem just clear the screen every so often. This also makes the screen refresh
faster after a clear screen.
**************************************

The mail program lists out the headers of
all your messages and then gives you a prompt. At this point you can just hit
Enter to read the first message.

NOTE: Read the man page to figure out all the options that are available for mail/mailx.
The man page can be accessed by typing:
man mailx
or
man mail

Both the mail and mailx programs use the same control file which is called .mailrc.
If you don't have this file in your home directory you can
create it. My file looks like the following:

if r
cd $HOME/Mail
endif
set TERM='dumb'
set asksub askcc
set outfolder
set folder='Mail'
set record='sent_messages'
alias somename somename@somecompany.com
alias anothername anothername@somecompany.com
group somegroup somename anothername

I also found that if you have the following lines the system pauses after 15 lines and asks if you would like to continue:

set COLUMNS=30
set ROWS=15
set crt=15

That is pretty much it for an interactive email system. After reading other posts concerning this
subject it sounds like the offline email reader is probably a better system but this is the one that
I have used for the last couple months.

==================================================================
John Rosander
Troy, MI USA