Article View: comp.sys.next.hardware
Article #907RE: HP48SX Connection to NeXT
From: Greg Toews
Date: Fri, 16 Oct 1992 21:27
Date: Fri, 16 Oct 1992 21:27
63 lines
2060 bytes
2060 bytes
I am using the Mac cable to connect my HP to my NeXT since the serial
ports are identical.
You need to type in the following in Kermit or else include in the
.kermrc file.
set line /dev/ttya ! for serial port A
set speed 9600
set flow none ! won't work otherwise
set file type text
or
set file type binary
With this setup I can connect my HP, run Kermit and immediately send
and receive files.
To send from the HP to NeXT:
type server on the NeXT
send 'variable' on the HP
hit the 'finis' button on the HP
(by send 'variable' I mean have the var. name on the stack
and hit the 'send' button)
To send from the NeXT to HP
hit the 'serve' button on the HP
type 'send filename' on the NeXT
type finish on the NeXT
To display the directory name on the command prompt in Kermit put
the following in the .kermrc file:
define \%d "Kermit\v(directory)> "
set prompt \%d
define cf cd \%1, set prompt \%d
(You must use cf to change directories for this to work)
Just for interests sake you can accomplish the above for
your Terminal prompt by adding the following to the .cshrc file
set host 'hostname'
set prompt="! ${host}$cwd> "
alias cd 'cd \!*;set prompt="! $host$cwd> ";ls'
(if this didn't work you may have used the wrong single quote
mark, try ` instead of ' or a combination {it is very picky})
the above also adds a history number to the front of the quote
(I mean prompt) and does an 'ls' of the directory.
feel free to mail me any questions, it took me about five hours
to get all this working, and it DOES work.
Greg
D
mark, try ` instead of ', or
Technical Details
Message-ID:
<1992Oct16.212708.11178@sol.UVic.CA>Path:
arc1-ca.pugleaf.net!sparky!uunet!destroyer!cs.ubc.ca!news.UVic.CA!ugly!gtoewsShow Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.hardware Path: arc1-ca.pugleaf.net!sparky!uunet!destroyer!cs.ubc.ca!news.UVic.CA!ugly!gtoews From: gtoews@ugly.UVic.CA (Greg Toews) Subject: RE: HP48SX Connection to NeXT Message-ID: <1992Oct16.212708.11178@sol.UVic.CA> Sender: news@sol.UVic.CA Nntp-Posting-Host: ugl-gw.uvic.ca Organization: University of Victoria, Victoria, BC, Canada Date: Fri, 16 Oct 92 21:27:08 GMT Lines: 63