Motherboard Forums


Reply
Thread Tools Display Modes

Existance of a Simple Serial Shell?

 
 





















Anthony Marchini
Guest
Posts: n/a

 
      11-11-2004, 02:46 PM


Anyone know of a simple shell that can be run over a serial port for
doing file access on a windows host? I just need to do file copies and
list directories, delete files.
T Marchini

 
Reply With Quote
 
Anthony Marchini
Guest
Posts: n/a

 
      11-11-2004, 02:56 PM
Anthony Marchini wrote:
> Anyone know of a simple shell that can be run over a serial port for
> doing file access on a windows host? I just need to do file copies and
> list directories, delete files.
> T Marchini
>

Maybe I should just bite the bullet and write one.
Sometimes, I just try to take the easy way out of habbit.
T.

 
Reply With Quote
 
Hans-Bernhard Broeker
Guest
Posts: n/a

 
      11-11-2004, 03:03 PM
Anthony Marchini <> wrote:
> Anyone know of a simple shell that can be run over a serial port for
> doing file access on a windows host? I just need to do file copies and
> list directories, delete files.


A pair of Kermits should do.

--
Hans-Bernhard Broeker ()
Even if all the snow were burnt, ashes would remain.
 
Reply With Quote
 
Norm Dresner
Guest
Posts: n/a

 
      11-11-2004, 10:40 PM
"Anthony Marchini" <> wrote in message
news:y4Lkd.98$...
> Anthony Marchini wrote:
> > Anyone know of a simple shell that can be run over a serial port for
> > doing file access on a windows host? I just need to do file copies and
> > list directories, delete files.
> > T Marchini
> >

> Maybe I should just bite the bullet and write one.
> Sometimes, I just try to take the easy way out of habbit.
> T.


You should be able to get the source to something like telnet from one of
the Linux distros. Would that work for you?

Norm

 
Reply With Quote
 
Grant Edwards
Guest
Posts: n/a

 
      11-12-2004, 12:43 AM
On 2004-11-11, Norm Dresner <> wrote:

>>> Anyone know of a simple shell that can be run over a serial port for
>>> doing file access on a windows host? I just need to do file copies and
>>> list directories, delete files.

>>
>> Maybe I should just bite the bullet and write one.
>> Sometimes, I just try to take the easy way out of habbit.

>
> You should be able to get the source to something like telnet from one of
> the Linux distros. Would that work for you?


Huh? Telnet isn't a shell. It's a TCP protocol handler. He
doesn't want to communication via TCP, he wants to communicate
via a serial port.

--
Grant Edwards grante Yow! What I want to find
at out is -- do parrots know
visi.com much about Astro-Turf?
 
Reply With Quote
 
Norm Dresner
Guest
Posts: n/a

 
      11-12-2004, 05:05 PM
"Grant Edwards" <> wrote in message
news:41940732$0$95591$...
> On 2004-11-11, Norm Dresner <> wrote:
>
> >>> Anyone know of a simple shell that can be run over a serial port for
> >>> doing file access on a windows host? I just need to do file copies and
> >>> list directories, delete files.
> >>
> >> Maybe I should just bite the bullet and write one.
> >> Sometimes, I just try to take the easy way out of habbit.

> >
> > You should be able to get the source to something like telnet from one

of
> > the Linux distros. Would that work for you?

>
> Huh? Telnet isn't a shell. It's a TCP protocol handler. He
> doesn't want to communication via TCP, he wants to communicate
> via a serial port.


How come I can remember sitting at a serial terminal and typing "telnet" to
use a computer at the other end? It can't be just age ;-))

Norm

 
Reply With Quote
 
Grant Edwards
Guest
Posts: n/a

 
      11-12-2004, 05:33 PM
On 2004-11-12, Norm Dresner <> wrote:

>>>>> Anyone know of a simple shell that can be run over a serial
>>>>> port for doing file access on a windows host? I just need to
>>>>> do file copies and list directories, delete files.
>>>>
>>>> Maybe I should just bite the bullet and write one. Sometimes,
>>>> I just try to take the easy way out of habbit.
>>>
>>> You should be able to get the source to something like telnet
>>> from one of the Linux distros. Would that work for you?

>>
>> Huh? Telnet isn't a shell. It's a TCP protocol handler. He
>> doesn't want to communication via TCP, he wants to communicate
>> via a serial port.

>
> How come I can remember sitting at a serial terminal and
> typing "telnet" to use a computer at the other end?


I'll say it again: the "telnet" program is not a shell.

Telnet just opens a TCP/IP connection to a telnet daemon on the
computer at the other end. The telnet daemon then allocates a
pty pair and starts a shell progam (e.g. bash, sh, ksh, csh,
zsh) connected to the slave end of the pty pair.

The telnet program at your end just shovels bytes back and
forth between your terminal device (a tty or pty) and the
TCP/IP connection.

The telnet daemon at the other end shovels bytes back and forth
between the TCP/IP connection and the master end of the pty
pair (of which the slave end is connected to a shell program).

> It can't be just age ;-))


Whatever.

The telnet program has absolutely nothing to do with the
question at hand, and looking at it's sources would be useless.

The OP is looking for a simple shell to use via a serial port.
Telnet is neither a shell nor a serial communications program.

--
Grant Edwards grante Yow! I like the IMPUDENT
at NOSE on that car... Are you
visi.com a TEEN-AGER?
 
Reply With Quote
 
Anthony Marchini
Guest
Posts: n/a

 
      11-12-2004, 10:35 PM

> The telnet program has absolutely nothing to do with the
> question at hand, and looking at it's sources would be useless.
>
> The OP is looking for a simple shell to use via a serial port.
> Telnet is neither a shell nor a serial communications program.
>


Right, what I wanted to do was have a serial terminal connect up to a
WinCE embedded device and just spew a prompt that you could fire a quick
Dir and copy and delete command into and it would do just that.
Nothing fancy, no encryption, no tcp/ip just a shell.
I should just write a shell, it isn't really that hard , I just wanted
to not waste the time.
Tony

 
Reply With Quote
 
Wing
Guest
Posts: n/a

 
      11-13-2004, 03:37 AM
Norm Dresner <> wrote:
> How come I can remember sitting at a serial terminal and typing "telnet" to
> use a computer at the other end? It can't be just age ;-))
>
> Norm
>

I'm doing that right now.

--

Wing Wong.
Webpage: http://wing.ucc.asn.au
 
Reply With Quote
 
Ed Beroset
Guest
Posts: n/a

 
      11-13-2004, 01:50 PM
Wing wrote:
> Norm Dresner <> wrote:
>
>>How come I can remember sitting at a serial terminal and typing "telnet" to
>>use a computer at the other end? It can't be just age ;-))
>>

>
> I'm doing that right now.


Sure. So do a lot of us, but don't confuse the pipe with the water that
flows through it! As Grant Edwards correctly pointed out, telnet isn't
a shell. You can telnet to port 80, for example, and type "GET" and
you'll get an HTML web page. That doesn't make telnet a web server!
It's just a means by which data is transported. To put in terms of the
analogy, telnet's the pipe, and the shell's I/O is the water.

Ed

 
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
Dimension E520 and serial card upgrade ClanCampbellChandler Dell 3 07-28-2008 03:44 AM
P5K Series - where to plug in the serial connector printer? Walter_S Asus 13 10-16-2007 05:45 PM
Need Serial Card and Long Cable Von Fourche Dell 12 08-14-2007 05:09 AM
Optiplex 620 Serial card Problem Mike Dell 18 07-10-2007 04:13 AM
no boot with my new serial ATA wjazzman Intel 4 09-06-2005 04:19 AM


All times are GMT. The time now is 10:54 AM.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43