This will probably be no help at all, but I'll chime in anyway.  I
successfully hooked my palmIII to a couple of different Linux platforms 
and ran ptelnet on the palm.  After the connection was working, I fired 
up emacs from the palm!  What a mindboggling experience!

My recollection is a bit foggy.  Most of my problems hovered around
the wiring of the palm to the serial port.  At least for my embedded
system, the key was looping CTS/RTS on the palm side (had to build a
special cable for this device). When the wiring was wrong,
then with the "on" button activated in ptelnet, issuing the return
character ("/") would cause the ptelnet's blinking cursor to disappear for
a several seconds with nothing appearing on the screen.

On the Unix side, I really didn't have to do anything.  The ttyS1 was
already configured in /etc/inittab to accept terminal connections.



On Thu, 22 Jun 2000, David Terebessy wrote:

> "Eric J. Schwertfeger" wrote:
> > 
> > On Thu, 22 Jun 2000, Hans Lambermont wrote:
> > Hello,
> 
> Even after help from many subscribers I am still having trouble connecting my
> palm professional to a sun ultra1.
> I have the serial cable connected to serial A on the sun and I am running the
> vt100 program.  I can cat /etc/hosts to /dev/term/a.  

Me too.  I can also

cat < /dev/term/a

and type stuff into the palm, hit "/" and the output will appear in the
xterm. 

Ok.  Here is the beginning of a solution.  Replace the following line

co:234:respawn:/usr/lib/saf/ttymon -g -h -p "`uname -n` console login:" -T sun -d 
/dev/console -l console -m ldterm,ttcompat

with

co:234:respawn:/usr/lib/saf/ttymon -g -h -p "`uname -n` login: " -T sun -d /dev/term/a 
-l 9600 -m ldterm,ttcompat


in the file inittab.  Then kill the process associated with the above
command (use /usr/ucb/ps auxww | grep ttymon to find it).  Then the ttymon
process will respawn with the new options.  In my config, I use
-T "vt100-pilot" instead.  The terminal looks a little better this way.
I have found that the best way to config the term is with the stty
command.  Below is the script I use.

This not a permanent fix.  Check the man pages for pmadm and ttyadm.
Perhaps these will help.


Jeff

-----------------------------------------
cat set_term.sh 
#!/bin/sh
echo 'Select Terminal: 
  def) palm 16x32 (std font)
  1)   palm 16x64 (std font)
  2)   palm 24x40 (small font)
  3)   palm 24x80 (small font)
  4)   other'

read term_type
case $term_type in ('' | 1 | 2 | 3)
        stty sane
        stty erase ^H
        case $term_type in ('') stty rows 16 cols 32; esac
        case $term_type in (1)  stty rows 16 cols 64; esac
        case $term_type in (2)  stty rows 24 cols 40; esac
        case $term_type in (3)  stty rows 24 cols 80; esac
esac

------------------------------------------



Reply via email to