[comp.sys.amiga.hardware] AUX: terminal on Amiga Serial Port

colin@motto.UUCP (Colin Chisholm) (02/08/91)

   Hello!

I am trying to run a dumb terminal off of my Amiga 1000 serial port 
using the "NEWSHELL AUX:" command (after mounting the standard AUX:
device). I hooked up my terminal and it worked! I just happened to
set the terminal to the correct parameters (9600 baud, 8 data bits,
no parity). There was no indication in the AmigaDos 1.3 supplements
to indicate that this was the set up. 

I was wondering:

[1] Is there any way to adjust the serial parameters (ie: higher 
baud rate, parity changes, etc)? I am assuming not.

[2] I tried running Manx's VI-like editor Z and got a software 
error: I am assuming that Z wont work properly from an AUX:
terminal. Does anyone know of a decent editor that will work under
such a set up? (mail me the source code for any suitable PD editors
and I will be eternally grateful). 

[3] Are there any alternate PD device handlers I could mount and 
use to replace AUX: that would handle a terminal as I want? (Again, 
if you mailed me the source code...)

In case you're wondering, my primary interest in this set up is to 
have a decent terminal for text editing work (my Amiga monitor 
leaves a little to be desired in that area).

Please email your responses to me at the address below and thanks 
in advance.

**********************COLIN CHISHOLM**************************
*   Communications Division, Motorola Canada Ltd., Toronto   *
*            UUCP: uunet!utai!lsuc!motto!colin               *
**************************************************************

yorkw@stable.ecn.purdue.edu (Willis F York) (02/08/91)

>device). I hooked up my terminal and it worked! I just happened to
>set the terminal to the correct parameters (9600 baud, 8 data bits,
>no parity). There was no indication in the AmigaDos 1.3 supplements
>to indicate that this was the set up. 

>[1] Is there any way to adjust the serial parameters (ie: higher 
>baud rate, parity changes, etc)? I am assuming not.

Use Pefences (sic) to set up the serial paramters.
But to get them To work i think ya must reboot...
unless ya change them BEFOR ya mount AUX:


>[2] I tried running Manx's VI-like editor Z and got a software 
>error: I am assuming that Z wont work properly from an AUX:

there are 2+ VI clones out, Stevi, and another..

There's an EMACS clone on FF354 (Or close) with source.. It 
SHOULD be able to work over AUX:

It didsn't work as it was compiled on disk tho)
(With AUX: that is..)


>[3] Are there any alternate PD device handlers I could mount and 
>use to replace AUX: that would handle a terminal as I want? (Again, 
>if you mailed me the source code...)

No idea, one with a Termcap option would be nice tho.
--
yorkw@ecn.purdue.edu  Willis F York says:   
 IF ya meat an Amiga Owner that says: "I got my amiga Just to play games...:
there's only one thing to do...
Give him a Boot to the head... Then repeat .... Then repeat... 

tbissett@nstar.rn.com (Travis Bissett) (02/11/91)

yorkw@stable.ecn.purdue.edu (Willis F York) writes:

[ some interesting info about AUX: and editors, etc., deleted ]

>  IF ya meat an Amiga Owner that says: "I got my amiga Just to play games...:

Hmmm . . . if ya don't mind my saying "meat an Amiga Owner" (sic) sounds a 
little sick :-) Maybe it's just a typo and you meant to write "meet". Ont he 
other hand, maybe it's a Freudian Slip kinda thing . . . Not that we should 
make too much outta such trivialities :-)


--
internet: tbissett@nstar.rn.com -or- tbissett%nstar@iuvax.cs.indiana.edu
uucp:     ..!uunet!nstar.rn.com!tbissett -or- ..!uunet!nstar!tbissett
NSTAR Public Access 219-289-0287 - 1190 newsgroups - 1500 megabytes - 7 lines

yorkw@stable.ecn.purdue.edu (Willis F York) (02/11/91)

tbissett@nstar.rn.com (Travis Bissett) writes:
>yorkw@stable.ecn.purdue.edu (Willis F York) writes:
>[ some interesting info about AUX: and editors, etc., deleted ]

>>  IF ya meat an Amiga Owner that says: "I got my amiga Just to play games...:

>Hmmm . . . if ya don't mind my saying "meat an Amiga Owner" (sic) sounds a 
>little sick :-) Maybe it's just a typo and you meant to write "meet". Ont he 
>other hand, maybe it's a Freudian Slip kinda thing . . . Not that we should 
>make too much outta such trivialities :-)

Gee--- Never looked at my Own Sig.... I had a MAC-Bashing Sig, but i 
diden't want to start any FlameWars...

Gee I'd make a Nasty Atari ST Sig, but.... Why Bother....
I woulden't want to "stunt" the mental growth of any 6 yr old ST owners.
(Well that's their Mental age eh...)

Uncorrected sig follows ... I'll Edit it eh...

>--
>internet: tbissett@nstar.rn.com -or- tbissett%nstar@iuvax.cs.indiana.edu
>uucp:     ..!uunet!nstar.rn.com!tbissett -or- ..!uunet!nstar!tbissett
>NSTAR Public Access 219-289-0287 - 1190 newsgroups - 1500 megabytes - 7 lines
--
yorkw@ecn.purdue.edu  Willis F York says:   
 IF ya meat an Amiga Owner that says: "I got my amiga Just to play games...:
there's only one thing to do...
Give him a Boot to the head... Then repeat .... Then repeat... 

kevin@cbmvax.commodore.com (Kevin Klop) (02/14/91)

In article <347@motto.UUCP> colin@motto.UUCP (Colin Chisholm) writes:
>
>   Hello!
>
>I am trying to run a dumb terminal off of my Amiga 1000 serial port 
>using the "NEWSHELL AUX:" command (after mounting the standard AUX:
>device). I hooked up my terminal and it worked! I just happened to
>set the terminal to the correct parameters (9600 baud, 8 data bits,
>no parity). There was no indication in the AmigaDos 1.3 supplements
>to indicate that this was the set up. 
>
>I was wondering:
>
>[1] Is there any way to adjust the serial parameters (ie: higher 
>baud rate, parity changes, etc)? I am assuming not.

Yep.  Use the Serial Preference editor to set the parameters.

>
>[2] I tried running Manx's VI-like editor Z and got a software 
>error: I am assuming that Z wont work properly from an AUX:
>terminal. Does anyone know of a decent editor that will work under
>such a set up? (mail me the source code for any suitable PD editors
>and I will be eternally grateful). 

Offhand, the only one that I KNOW will work is Edit - the one that
comes with the amiga.

>
>[3] Are there any alternate PD device handlers I could mount and 
>use to replace AUX: that would handle a terminal as I want? (Again, 
>if you mailed me the source code...)

Have you tried CMD?

			-- Kevin --


Kevin Klop		{uunet|rutgers|amiga}!cbmvax!kevin
Commodore-Amiga, Inc.

	``Be excellent to each other.''
		- Bill and Ted's most excellent adventure

Disclaimer: _I_ don't know what I said, much less my employer.

jnmoyne@lbl.gov (Jean-Noel MOYNE) (02/15/91)

In article <18934@cbmvax.commodore.com> kevin@cbmvax.commodore.com (Kevin 
Klop) writes:
> >[2] I tried running Manx's VI-like editor Z and got a software 
> >error: I am assuming that Z wont work properly from an AUX:
> >terminal. Does anyone know of a decent editor that will work under
> >such a set up? (mail me the source code for any suitable PD editors
> >and I will be eternally grateful). 
> 
> Offhand, the only one that I KNOW will work is Edit - the one that
> comes with the amiga.
> 

           The problem with these vi clones on the Amiga is that even if 
they only use the console and standard ANSI codes (means you could run 
them on a vt100 terminal for example), all of them use dos packets to know 
the size (in lines and columns) of the console window. And when you run a 
newshell aux: and try try to send such dos packets dos will tell you that 
the current window size is 0,0 (I think it's 0,0 if it's not, it's a wrong 
and incoherent number anyway), because there's no window.

           The only program that I know of that handles this situation 
properly is CBM's own C:more that you'll find on every good workbench 
disk. More does also query the console to know the number of lines of the 
current console window has. When you run it from AUX: it sees that the 
number is incoherent, and does the only smart thing you can do: it takes a 
default value of 25 lines. So, try to use more on a newshell aux: it will 
work very well if you have a standard terminal (I mean most of the 
terminal are used in 80colsX25lines mode).

            Since stevie comes with the source code, you can easily modify 
it so that if the numbers coming from the dos packets are inconsistents 
you assume that the window size if 80x25. Since it's unlikely that we'll 
have a termcap.lib on the Amiga anytime soon that's the best thing you can 
do.

            Of course, Kevin is right,  C:edit works with a newshell AUX:, 
it's the original edit you'll find almost everywhere (or close to). The 
sort of things made to work on a simple tty, but a vi clone would be much 
better.

        Oh ! Another thing, be carefull, some (most) of the Amiga programs 
using the console use the ANSI sequence 0x9b as CSI, 0x9b is the same as 
0x1b[  (esc [), but be carefull, if you're using a 7 bits link or if your 
terminal doesn't know about 0x9b all the escape sequences will go away. So 
if you have such a problem, modify the program so that it send esc[ 
instead of 0x9b. You won't see any difference on the Amiga side, but it'll 
work on the terminal in 7 bits. (once again, more is clean for that).

         And the last trick, for those of you who owe a minitel. Newshell 
aux: works very well with a minitel (7 bits! Even parity) (minitel 1b can 
go up to 4800 bauds, and minitel 2 to 9600).

                  JNM

--
These are my own ideas (not LBL's)

dac@prolix.pub.uu.oz.au (Andrew Clayton) (02/16/91)

In article <9936@dog.ee.lbl.gov>, Jean-Noel MOYNE writes:

> In article <18934@cbmvax.commodore.com> kevin@cbmvax.commodore.com (Kevin 
> Klop) writes:
> > >[2] I tried running Manx's VI-like editor Z and got a software 
> > >error: I am assuming that Z wont work properly from an AUX:
> > >terminal. Does anyone know of a decent editor that will work under
> > >such a set up? (mail me the source code for any suitable PD editors
> > >and I will be eternally grateful). 
> > 
> > Offhand, the only one that I KNOW will work is Edit - the one that
> > comes with the amiga.
> > 
> 
>            The problem with these vi clones on the Amiga is that even if 

...

Is that vi is for statistical stress beam weenies ...

Get a REAL editor. Cygnus Ed Pro Release 2. Or the new TurboText, (If it is,
infact, marketted yet). Shareware options are QED and AZ-ed. Excellent. 

[Not a flame, honest. :-)]

>                   JNM

Dac
--
 _l _  _   // Andrew Clayton. Canberra, Australia.         I Post  .
(_](_l(_ \X/  Send mail to dac@prolix.pub.uu.oz.au                . .  I am.

ben@epmooch.UUCP (Rev. Ben A. Mesander) (02/16/91)

>In article <9936@dog.ee.lbl.gov> jnmoyne@lbl.gov (Jean-Noel MOYNE) writes:
>In article <18934@cbmvax.commodore.com> kevin@cbmvax.commodore.com (Kevin 
>Klop) writes:
>> >[2] I tried running Manx's VI-like editor Z and got a software 
>> >error: I am assuming that Z wont work properly from an AUX:
>> >terminal. Does anyone know of a decent editor that will work under
>> >such a set up? (mail me the source code for any suitable PD editors
>> >and I will be eternally grateful). 
>> 
>> Offhand, the only one that I KNOW will work is Edit - the one that
>> comes with the amiga.
>> 
>
>           The problem with these vi clones on the Amiga is that even if 
>they only use the console and standard ANSI codes (means you could run 
>them on a vt100 terminal for example), all of them use dos packets to know 
>the size (in lines and columns) of the console window. And when you run a 
>newshell aux: and try try to send such dos packets dos will tell you that 
>the current window size is 0,0 (I think it's 0,0 if it's not, it's a wrong 
>and incoherent number anyway), because there's no window.
>
[...]

Stevie checks to see if it is opened over the AUX: port.
(At least the version I have does).

My own port of TECO should work. It's available for ftp from usc.edu in
/pub/teco/tecoc.tar.Z

--
ben@epmooch.UUCP            ben%servalan.UUCP@uokmax.ecn.uoknor.edu
{chinet,uokmax}!servalan!epmooch!ben  (Ben Mesander)   War in gulf:
newpath 288 396 216 0 360 arc 288 612 moveto 288 180 lineto 288 396
moveto 136 244 lineto 288 396 moveto 440 244 lineto 36 setlinewidth
stroke showpage

kholland@hydra.unm.edu (Kiernan Holland) (02/19/91)

Well I finally decided to get an amiga 3000. I looked at the PC's for
awhile (especially the Gateway 2000) and thought found that the price of
286's had lowered 1000 dollars in 1.5 years, so the 386/25 EISA based 
machines should reach under 1200 dollars by next year. I think by then 
I would have the money to buy one and then I would have an Amiga 3000
and 386/25 with enough Windows based applications at low-enough price 
to get what I want. XGA is nothing to worry about, you might see some
amiga based graphics cards with the XGA chip inside (uses a technique 
common to most amiga users). The applications cost too much and are 
not as well featured as amiga applications (ofcourse this depends,
I made this judgement upon Autodesk animator which is not as nearly
as goo as most amiga graphics programs). Most PC users figure that 
a blitter is only used for CAD programs, others don't even know 
what they are. There seems to be no such thing as Hardware multi-tasking,
it seems that the multiple 8086 idea behind the 386 and 486 chips
confuse this issue, it may be possible but not much useful at the 
current stage of developement. The equivalent of a Amiga 3000 in the 
INTEL world is a 16Mhz 386 (maybe slower) with a EISA bus, a 34010
based VGA card or XGA card, Windows 3.0, an instruction CACHE, and
a ton of ICON oriented MAC quality applications. Notice that DESQview
is still a choice of MSDOS users, incredibly it is going to be another
2 years before you see anything PC based that has the same features as 
the Amiga 3000. Also consider that most applications on the PC's 
don't use hardly anything to the full extent, like how many 1024X768 VGA
card based PC 386's have you seen running 20 or more programs all supporting
the features of the hardware (chances are nil). I think I know why PC users
look at Amiga's as video game machines, becuase of the sprites (which 
don't have to be re-rendered each time they are moved), the Built-in DAC
which makes wonderful music while you work, the ICONS on the screen that 
improve speed of moving from application to application becuase you can 
pull them out onto the workbench (without seeing any blocky BOBPUT on the 
screen like you see on Windows 3.0), the fact that you can use 
UNIX-like Shells that are text based, actually I don't know why they 
consider Amiga's as video game machines, the last game I bought was 
Legend of the Beast which came out a year ago. I'm actually looking at 
games like Meanstreets on the PC's, I am loking at the PC's the same 
way PC users look at Amiga's. WOW GREAT VIDEO GAMES, HUH. I look 
at Amiga's, WOW GREAT WORKSTATION. 
 
Later... 
---------------------------------------------------------------------------
Don't bother the MSDOS users, they still think Amiga's are Atari machines
that were invented in 1985 that could not multi-task, had 3-4 programs
available, and all were video games.

nikolai@guru.pub.uu.oz.au (nikolai kingsley) (02/19/91)

> Gee--- Never looked at my Own Sig.... I had a MAC-Bashing Sig, but i 
> diden't want to start any FlameWars...
> 
i'll be in that!  did you know... system seven has not been released yet, 
and they are publishing BOOKS about it already?   and which company flew 
in an expert from the states to give a talk on video-conferencing that 
went for three minutes?   gues..
saint nikolai
mac basher at large