dbTalk Databases Forums  

D3 on LInux 9 needs return to get "user id:"

comp.databases.pick comp.databases.pick


Discuss D3 on LInux 9 needs return to get "user id:" in the comp.databases.pick forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Rodney Frisard
 
Posts: n/a

Default D3 on LInux 9 needs return to get "user id:" - 03-21-2006 , 06:09 PM






Does anyone know a method to get the D3 on Linux to come to a "user
id:" prompt instead of "... connected to virtual machine pick0/linux."
if I hit return, it works fine.

How do I get it to send a return and then stop at
"Enter your user id:"

This is causing a problem with Designbais.

Reply With Quote
  #2  
Old   
john@mrpsystems.co.uk
 
Posts: n/a

Default Re: D3 on LInux 9 needs return to get "user id:" - 03-22-2006 , 03:29 AM






Hello Rodney

If you have "nailed" your ports (ie 16001, 16002 etc)

£!/bin/bash
PIB=`basename $0`
PIB=$(( $PIB - 16000 ))
exec /usr/bin/d3 $PIB

can you not simply ADD the "carriage return" to the last line of this
code that D3 produces

John



Rodney Frisard wrote:
Quote:
Does anyone know a method to get the D3 on Linux to come to a "user
id:" prompt instead of "... connected to virtual machine pick0/linux."
if I hit return, it works fine.

How do I get it to send a return and then stop at
"Enter your user id:"

This is causing a problem with Designbais.


Reply With Quote
  #3  
Old   
Tony Gravagno
 
Posts: n/a

Default Re: D3 on LInux 9 needs return to get "user id:" - 04-01-2006 , 09:15 PM



The new DesignBais uses mv.NET for connectivity to D3. Your Server
Profile should start with a Send "~13" and WaitFor "id:". If you are
still using the PDP.NET as the data conduit under DesignBais, sorry I
can't help, I've uninstalled it. Your best bet here is to post a note
to the DesignBais forum or to the RD forum for PDP.NET.

Since we're here and completely unrelated to DesignBais, if you are
using AccuTerm, put this into a layout macro to force a user login:
Sub Main()
' send a CR when opening a session
On Error Resume Next
With ActiveSession
.InputMode = 1
.Output Chr$(13)
End With
End Sub

The problem is that D3 doesn't do the initial CRLF on connection after
a fresh coldstart. After a port workspace has been initialized and
goes through logoff/wrapup then any subsequent connection does do the
CRLF, so you see the login.

So another tacky way to get this to work is to write a proggy that
does a login/logoff on every port that will be used for automated
connectivity. This would be run right after system-coldstart. That
way all ports are "prepped" and you won't need to tweak any login
code. With mv.NET under DesignBais however, I believe this is no
longer an issue.

HTH



Rodney Frisard wrote:

Quote:
Does anyone know a method to get the D3 on Linux to come to a "user
id:" prompt instead of "... connected to virtual machine pick0/linux."
if I hit return, it works fine.

How do I get it to send a return and then stop at
"Enter your user id:"

This is causing a problem with Designbais.


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.