Networking Forums

Networking Forums > Computer Networking > Linux Networking > minicom over ssh

Reply
Thread Tools Display Modes

minicom over ssh

 
 
Captain Dondo
Guest
Posts: n/a

 
      01-28-2005, 02:43 AM
I'm trying to run minicom over ssh. Everything works if I ssh first, get
a session going, then run minicom.

But if I try

ssh tooth "minicom /dev/ttya02"

I get

No cursor motion capability (cm)

and a prompt.

From this I assume that ssh is not sending any term info. I need
to send the term type, size, etc. Reading the man page and googling
around has not shed any light on this. How do I forward or generate the
appropriate information?



 
Reply With Quote
 
 
 
 
Bill Marcum
Guest
Posts: n/a

 
      01-28-2005, 09:12 AM
On Thu, 27 Jan 2005 19:43:50 -0800, Captain Dondo
<(E-Mail Removed)> wrote:
> I'm trying to run minicom over ssh. Everything works if I ssh first, get
> a session going, then run minicom.
>


ssh -t tooth "mincom /dev/ttya02"

--
When you say that you agree to a thing in principle, you mean that
you have not the slightest intention of carrying it out in practice.
-- Otto Von Bismarck
 
Reply With Quote
 
Captain Dondo
Guest
Posts: n/a

 
      01-28-2005, 02:45 PM
On Fri, 28 Jan 2005 05:12:36 -0500, Bill Marcum wrote:

> On Thu, 27 Jan 2005 19:43:50 -0800, Captain Dondo
> <(E-Mail Removed)> wrote:
>> I'm trying to run minicom over ssh. Everything works if I ssh first, get
>> a session going, then run minicom.
>>

>
> ssh -t tooth "mincom /dev/ttya02"


OK, thanks. That worked perfectly.

Next question:

How do I tell minicom and/or the remote session that I have a big text
screen?

I am using

/usr/bin/minicom -t pcvt50w -c on /dev/ttya02

which should give me a 130x50 text screen.

but on the remote end, the session still shows up as

COLUMNS=80
LINES=24
TERM=tv100

and everything gets screwed up if I try to use vi or less. I either get
to use only a 80x24 corner of the screen, or all the text scrolls along on
line 24.

If I change the above env vars by hand to match the termcap entry for
pcvt50w:

COLUMNS=130
LINES=50
TERM=pcvt50w

everything works fine.

I am running in text mode when I do this...

Thanks.
 
Reply With Quote
 
Holger Petersen
Guest
Posts: n/a

 
      01-28-2005, 06:19 PM
Captain Dondo <(E-Mail Removed)> writes:

>which should give me a 130x50 text screen.


>but on the remote end, the session still shows up as


>COLUMNS=80
>LINES=24
>TERM=tv100


Did you try " xminicom "?
It's a long time ago that I used that command to start minicom.
In the first stage, minicom did come up with 80*24; but I could
drag that window to be bigger.
You probably have to use "ssh -X ..."

Greetings, Holger
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Minicom settings. Jan Hugo Prins Linux Networking 2 11-23-2005 08:46 AM
Minicom serial communication Xilinx board Kristof Loots Linux Networking 0 01-17-2005 01:49 PM
minicom: cannot open /dev/usb/tts/0: No such file or directory TCMa Linux Networking 8 09-30-2004 03:55 AM
Controlling a modem from minicom David Klemitz Linux Networking 6 02-13-2004 07:50 PM
Linux + Minicom = serial terminal??? Jeremy Linux Networking 4 10-30-2003 01:19 AM



1 2 3 4 5 6 7 8 9 10 11