[Dorset] Terminal that can do ANSII

2011-10-12 Thread Terry Coles
Paul at work (he who turns up at the Meetings) asked me if I was aware of a 
Terminal program in Linux that understood ANSII codes.  I've never had to do 
this, so I said I'd ask on the list.

Any ideas?

-- 
Terry Coles
64 bit computing with Kubuntu Linux

--
Next meeting:  Bournemouth, Tuesday 2011-11-01 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] Terminal that can do ANSII

2011-10-12 Thread Ralph Corderoy
Hi Terry,

 Paul at work (he who turns up at the Meetings) asked me if I was aware
 of a Terminal program in Linux that understood ANSII codes.  I've
 never had to do this, so I said I'd ask on the list.

ANSI fed into DEC's VT terminals that xterm(1) copied and all the other
terminal emulators since then, e.g. gnome-terminal, so xterm or similar
should handle the ANSI escape sequences he needs.  (I've found
gnome-terminal lacking in a few but they've fixed bugs eventually.)

http://en.wikipedia.org/wiki/Ansi_terminal

Cheers, Ralph.

--
Next meeting:  Bournemouth, Tuesday 2011-11-01 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] Terminal that can do ANSII

2011-10-12 Thread Terry Coles
On Wednesday 12 Oct 2011, Ralph Corderoy wrote:
 ANSI fed into DEC's VT terminals that xterm(1) copied and all the other
 terminal emulators since then, e.g. gnome-terminal, so xterm or similar
 should handle the ANSI escape sequences he needs.  (I've found
 gnome-terminal lacking in a few but they've fixed bugs eventually.)
 
 http://en.wikipedia.org/wiki/Ansi_terminal

I'm sure he would have tried that.  I may have been guitly of oversimplfying 
the question; I think he might be trying to talk to another device over a 
serial link, just as you would have done with a VT 100.  Can you use gnome-
terminal or xterm to do that?

-- 
Terry Coles
64 bit computing with Kubuntu Linux

--
Next meeting:  Bournemouth, Tuesday 2011-11-01 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] Terminal that can do ANSII

2011-10-12 Thread Ralph Corderoy
Hi Terry,

 I'm sure he would have tried that.  I may have been guitly of
 oversimplfying the question; I think he might be trying to talk to
 another device over a serial link, just as you would have done with a
 VT 100.

I was going to ask if that's what he was doing but thought better of it.
:-)

 Can you use gnome- terminal or xterm to do that?

No.  There's minicom(1), though it's a clone of a DOS program, seyon(1),
which uses an xterm is the ANSI-handling terminal, or cu(1), which as
`call Unix' is really part of UUCP but is in its own package these days
because it's handy even without the rest of UUCP.  Again, it just runs
at the command line so that will handle the ANSI.

There are others, like cutecom, but I don't know about ANSI support for
those.

Cheers, Ralph.

--
Next meeting:  Bournemouth, Tuesday 2011-11-01 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] Terminal that can do ANSII

2011-10-12 Thread Bob Dunlop
On Wed, Oct 12 at 05:48, Terry Coles wrote:
 
 I'm sure he would have tried that.  I may have been guitly of oversimplfying 
 the question; I think he might be trying to talk to another device over a 
 serial link, just as you would have done with a VT 100.  Can you use gnome-
 terminal or xterm to do that?


Run picocom in your xterm of choice for this.  Picocom handles the serial
comms and the xterm interprets the ANSI escape sequences.  There is even an
easy mechanism to envoke the file transfer program of your choise.

Several small programs working well together, true Unix.

Just spent the day configuring expect in front of such a combination,
so we can now, connect to a unit, work out what baudrate it's running,
at, upload three separate software files, check the hardware type and
perform a different configuartion sequence for each.  Automating 20
minutes of previously tedious production work.

Avoid minicom, it tries to do it all, and hence does none of it well.

-- 
Bob Dunlop

--
Next meeting:  Bournemouth, Tuesday 2011-11-01 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] Terminal that can do ANSII

2011-10-12 Thread Terry Coles
Thanks Bob and Ralph for the answers.  I'll pass it on.

-- 
Terry Coles
64 bit computing with Kubuntu Linux

--
Next meeting:  Bournemouth, Tuesday 2011-11-01 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] Terminal that can do ANSII

2011-10-12 Thread John Cooper

On 12/10/11 16:37, Terry Coles wrote:

Paul at work (he who turns up at the Meetings) asked me if I was aware of a
Terminal program in Linux that understood ANSII codes.  I've never had to do
this, so I said I'd ask on the list.

Any ideas?


I have used minicom to connect to my Sun E250 server's serial port.

sudo minicom -s

will enter setup where you can change the setting e.g.

file transfer protocols - ascii
serial port setup

If you want to connect to a Linux box via serial you need to enable 
serial console on it :-


http://www.cyberciti.biz/faq/linux-serial-console-howto/

John.
--
--
Discover Linux - Open Source Solutions to Business and Schools
http://discoverlinux.co.uk
--

--
Next meeting:  Bournemouth, Tuesday 2011-11-01 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] Terminal that can do ANSII

2011-10-12 Thread John Carlyle-Clarke

On 12/10/11 17:48, Terry Coles wrote:

I'm sure he would have tried that.  I may have been guitly of oversimplfying
the question; I think he might be trying to talk to another device over a
serial link, just as you would have done with a VT 100.  Can you use gnome-
terminal or xterm to do that?



You can use GNU screen running on a terminal emulator of your choice to 
do that, and it works very well.



--
Next meeting:  Bournemouth, Tuesday 2011-11-01 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
How to Report Bugs Effectively:  http://goo.gl/4Xue