Bteq interactive mode errors out on Windows subystem Linux (WSL) ubuntu

Tools
Tools covers the tools and utilities you use to work with Teradata and its supporting ecosystem. You'll find information on everything from the Teradata Eclipse plug-in to load/extract tools.
Highlighted
Enthusiast

Bteq interactive mode errors out on Windows subystem Linux (WSL) ubuntu

Hi,

I've installed Ubuntu version of TTU 16.20.17.00 on WSL Ubuntu version 18.04.2  running under Windows 10 Version 1803.

I am able to run bteq in batch mode, but unable to login in interactive mode.

In interactive mode bteq fails before prompting for password.

Any help would be appreciated.

 

Interactive mode fails to prompt for password:

root:~# bteq

Teradata BTEQ 16.20.00.07 (64-bit) for LINUX. PID: 18173
Copyright 1984-2018 Teradata. All rights reserved.
Enter your logon or BTEQ command:
.logmech ldap

.logmech ldap
Teradata BTEQ 16.20.00.07 (64-bit) for LINUX. Enter your logon or BTEQ command:
.logon DSN/USER1

.logon DSN/USER1
*** Error: Could not turn input echoing off.
Reading terminal info failed.
ioctl return code = -1.
Terminating the application.
*** Error: Could not turn input echoing back on.
Reading terminal info failed.
ioctl return code = -1.
Terminating the application.

*** Exiting BTEQ...
*** RC (return code) = 16

 

Batch mode runs successfully:

root:~# bteq <sample.bteq
BTEQ 16.20.00.07 (64-bit) Mon Jun 10 17:54:51 2019 PID: 18172

+---------+---------+---------+---------+---------+---------+---------+----
.logmech ldap
+---------+---------+---------+---------+---------+---------+---------+----
.logon DSN/USER1,

*** Logon successfully completed.
*** Teradata Database Release is 15.10.07.33
*** Teradata Database Version is 15.10.07.42
*** Transaction Semantics are BTET.
*** Session Character Set Name is 'ASCII'.

*** Total elapsed time was 1 second.

+---------+---------+---------+---------+---------+---------+---------+----
sel user;

*** Query completed. One row found. One column returned.
*** Total elapsed time was 1 second.

User
---------------------------------------------------------------------------
USER1

+---------+---------+---------+---------+---------+---------+---------+----
.logoff
*** You are now logged off from the DBC.
+---------+---------+---------+---------+---------+---------+---------+----
.quit
*** Exiting BTEQ...
*** RC (return code) = 0


 

Ubuntu version:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic