Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to do input/output in telnet console?

4 views
Skip to first unread message

eita...@gmail.com

unread,
Feb 7, 2007, 10:27:33 AM2/7/07
to
Hi,

I'm interested in writing a console application that will be able to
do input and output on a shell console regardless of how this shell is
accessed (locally / serially / network).

I'm using PB with WM 5.0.
I'm telnetting to the VMINI interface (or to the active sync virtual
network address) and using a telnet console.

The telnet console itself is pretty limited, but i'm more concerned
about how to run my own applications that will be able to read and
write to the console of the shell.

printf doesn't do the job :-S

I believe the terminal server console is called telshell.exe.

any clues?

Thanks!
Eitan

eita...@gmail.com

unread,
Feb 7, 2007, 10:28:15 AM2/7/07
to

Corey Burke [MS]

unread,
Feb 8, 2007, 4:34:34 AM2/8/07
to
I think telshell.exe is the Telephone UI for WM Smartphone and doesn't have
any telnet serving capabilities.

Are you trying to output text from your app on the screen of the
smartphone? I believe Windows Mobile doesn't have the command console
(SYSGEN_CONSOLE) in the image. What Telnet server program are you running?

Thanks!
-Corey

eita...@gmail.com

unread,
Feb 8, 2007, 7:52:23 AM2/8/07
to
On Feb 8, 11:34 am, cor...@online.microsoft.com (Corey Burke [MS])
wrote:

Hi Corey,

You're probably right about telshell.exe :)
I'm kind of a newbie to this whole area (linux person in origin).

anyways, when I telnet to the platform, I see another CMD.exe process
running, and the telnet prompt is:
"Welcome to the Windows CE Telnet Service on WM_eitan
Pocket CMD v 5.01".

Eitan


John Spaith [MS]

unread,
Feb 13, 2007, 12:56:01 PM2/13/07
to
printf() should just work. I'd recommend checking the following

HKEY_LOCAL_MACHINE\Drivers\Console
And make sure OutputTo is NOT present at all, delete the value itself if so.

I think what's happening is you're output is being redirected to COM1
because OutputTo=1 or whatever it's set to.

--
John Spaith
Development Lead, Windows CE
Microsoft Corporation

Check out the CE Networking Team Blog at http://blogs.msdn.com/cenet/.

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2006 Microsoft Corporation. All rights
reserved.

<eita...@gmail.com> wrote in message
news:1170939142.9...@l53g2000cwa.googlegroups.com...

0 new messages