A.D.A. Amiga Demoscene Archive

        Welcome guest!

  

  

  

log in with SceneID

  

Demos Amiga Demoscene Archive Forum / General / serial input in cli

 

Author Message
dalton
Member
#1 - Posted: 21 Nov 2011 21:41
Reply Quote
Hi,

does anybody know if it is possible to display whatever is received on the serial port in cli? I tried "type ser:" but it did not do the trick. I'm certain there was input because I could see it in ncomm.

/Dalton
blakkhar
Member
#2 - Posted: 22 Nov 2011 10:42
Reply Quote
Do you mean something like "sashimi" (SER: to CON:)?
dalton
Member
#3 - Posted: 22 Nov 2011 13:54
Reply Quote
Never heard of sashimi before, from what I read it somehow captures the amigas own serial output, locally?

That's not really what I had in mind. I want to display serial output from one amiga in the console window of another amiga.
Charlie
Member
#4 - Posted: 28 Nov 2011 14:04
Reply Quote
@dalton:
It should work. Are you sure that the serial settings are OK on the remote side? It should be the same as what you set in Serial Prefs on the Amiga (even handshake/etc). Additonally high speeds (anything above 19200) might not work really well with low-end Amigas and stock Commodore serial.device/SER:, especially on low end machines.
dalton
Member
#5 - Posted: 28 Nov 2011 21:37
Reply Quote
You nailed it; one side was set to handshake, the other wasn't. Thanks!

Seems Type doesn't output until it gets an EOF though, or some other code...
Charlie
Member
#6 - Posted: 29 Nov 2011 17:35
Reply Quote
I think type or SER: device (I wonder which) does buffered input/output? So it either works as per line (LF character being the delimiter) or it just needs its buffer filled, before it returns anything.

 

  Please log in to comment

  

  

  

 

A.D.A. Amiga Demoscene Archive, Version 3.0