Terminal telnet echos garbage


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Terminal telnet echos garbage
# 1  
Old 11-25-2013
Terminal telnet echos garbage

i am trying to make powerterm not echo back this charactor.

Code:

When I press control-C I get it that telnet charactor/garbage echos back.

how to turn off? where? what config? is there something in powerterm
to switch on/off? I do not see it.

Redhats offical statement is:

"I will look over the provided profile script, but as we discussed this issue is only reproducible with the specific terminal emulation being used in powerterm, and therfore falls outside the scope of support."

:|

whatever... any suggestions? thanks!
# 2  
Old 11-25-2013
I'm wondering if that's due to a 'bell". Maybe you terminal emulator has a way to disable the bell? It could also be the terminal type (echo $TERM). What is the terminal type that you have? It's possible that a better match might work for power term.
# 3  
Old 11-26-2013
i am using powerterm lite 9.2.0.0

here is my term:

Code:
$ echo $TERM
wyse60

# 4  
Old 12-09-2013
when i press control - C i get ≥
i need this to not echo back

I am trying to mirror HPUX sh terminal emulation to linux terminal emulation using powerterm from windows client to linux server.

This only happens when i connect to RHEL 6.4, not to HPUX via powerterm.

suggestions?

---------- Post updated at 08:41 AM ---------- Previous update was at 08:28 AM ----------

here is some input from hpux and linux stty settings:

hpux

Code:
$ stty -a
speed 9600 baud; line = 0;
rows = 24; columns = 80
min = 1; time = 0;
intr = ^C; quit = ^\; erase = ^H; kill = ^U
eof = ^D; eol = ^@; eol2 <undef>; swtch <undef>
stop = ^S; start = ^Q; susp <undef>; dsusp <undef>
werase <undef>; lnext <undef>
parenb -parodd cs7 -cstopb hupcl -cread -clocal -loblk -crts
-ignbrk brkint ignpar -parmrk -inpck istrip -inlcr -igncr icrnl -iuclc
ixon -ixany ixoff -imaxbel -rtsxoff -ctsxon -ienqak
isig icanon -iexten -xcase echo echoe echok -echonl -noflsh
-echoctl -echoprt -echoke -flusho -pendin
opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel -tostop tab3

RHEL 6.4 box one
Code:
$ stty -a
speed 9600 baud; rows 24; columns 80; line = 0;
intr = ^C; quit = ^\; erase = ^H; kill = ^U; eof = ^D; eol = <undef>;
eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R;
werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts -cdtrdsr
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff
-iuclc -ixany -imaxbel -iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt
-echoctl echoke

RHEL 6.4 box two
Code:
$ stty -a
speed 9600 baud; rows 24; columns 80; line = 0;
intr = ^C; quit = ^\; erase = ^H; kill = ^U; eof = ^D; eol = <undef>;
eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R;
werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts -cdtrdsr
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff
-iuclc -ixany -imaxbel -iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt
-echoctl echoke

Current /etc/profile.d/login.sh (i modify here at top)

Code:
set -o vi
env echo -e
stty erase "^H"
stty kill "^U"
stty intr "^C"
stty eof "^D"
stty -echoctl

HOSTNAME=`hostname`;export HOSTNAME
if [ "`whoami`" != "root" ]
   then
echo ""
[ "$SHELL" = "/bin/sh" ] || [ "$SHELL" = "/bin/bash" ] || [ "$SHELL" = "/usr/loc
al/bin/bash" ] && PS1="
`hostname -s`:"'$PWD
$ ' ; export PS1

PS2='line continues here > ' ; export PS2

 else
        PATH=$PATH:/usr/sbin:/sbin:/opt/ifor/bin
        export PATH
[ "$SHELL" = "/bin/bash" ] || [ "$SHELL" = "/bin/sh" ] || [ "$SHELL" = "/bin/ksh
" ] && PS1="
`hostname -s`:"'$PWD
# ' ; export PS1

fi

# 5  
Old 12-12-2013
here is some more info, regarding our set up for terminals: i am trying to figure out what file i can use to stop echoing of the
code set 437 from powerterminal to emulate a linux terminal. Also, i have no choice, it linux must mirror unix terminal as before.
there are many users hundreds who need to see no change after upgrade is complete from unix to linux.
I used
$ infocmp #


Linux - wy60|wyse60|Wyse 60
UNIX - Reconstructed via infocmp from file: /usr/share/lib/terminfo/w/wyse60 60|wy60|wyse60|Wyse 60 with Native Ascii Keyboard and default configuration,

if you can spot anything that would stop echoing to the powerterm client. i would really appreciate it.

I will keep looking and check back frequently.

thanks !

---------- Post updated at 09:57 AM ---------- Previous update was at 08:24 AM ----------

does anyone see how these diff's in infocmp for terminal linux and unix would some how cause the powerterm to echo back a
≥"char? Or an I barking up the wrong tree?




sorry trying to figure out this code button and excel past. ill do it old fashion way. used AWK to with sdiff to produce below:

linux diff from unix
Code:
acsc=+/\,.0[a2fxgqh1ihjYk?lZm@nEqDtCu4vAwBx3yszr{c~~,
cnorm=\E`1,
el=\ET,
ht=\011$<1>,
ip=$<3>,
is3=\EwJ\Ew1$<150>,
>
ri=\Ej$<7>,
rs1=\E~!\E~4$<150>,
smxon=\Ec21,

and unix diff from linux

Code:
clear=\E*$<100>,
ed=\EY$<100>,
hts=\E1,
is1=\EcB0\EcC1,
is3=^N^T,
nel=\r\n$<3>,
rmacs=\EH^C,
sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EH^B%e\EH^C%;\EG%'0'%?%p2%p6%|%t

---------- Post updated at 10:07 AM ---------- Previous update was at 10:00 AM ----------

Quote:
Originally Posted by cjcox
I'm wondering if that's due to a 'bell". Maybe you terminal emulator has a way to disable the bell? It could also be the terminal type (echo $TERM). What is the terminal type that you have? It's possible that a better match might work for power term.

no, its not a bell, but thanks for your input.
you know. if i powerterm to linux, then ssh to another linux server, i do not get the funny garbage single char. when i change the UPS Set from Code Page 437, to diff setting, a diff funny garbage single char returns, based on that diff UPS set. I am trying to regardless have the powerterm echo back nothing when i hit control-C. hope this is clear. sorry if not Smilie

Last edited by olyanderson; 12-12-2013 at 02:03 PM.. Reason: bad paste. my bad ;)
# 6  
Old 01-02-2014
Any good with terminal emulation, inputrc, termcap/terminfo, tset, en_us-UTF-8 vs en_us-Latin-1?

My issue still exists, and yes, it does matter, as this dev box will be our prod box, and 400 users will complain if they see any funny chars...
# 7  
Old 01-09-2014
how to set default LANG set on redhat?
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Some % of Garbage Collection

I need to write a python script that will look at the local gc logs. 6 sys=0.00, real=0.06 secs] 2019-06-05T07:43:12.029-0500: 1072696.494: 2791209K->1995953K(2796544K)] 2803355K->1995953K(4164608K), , 3.0299555 secs] 2019-06-05T07:43:17.149-0500: 1072701.614: 3334321K->2008193K(4167680K),... (1 Reply)
Discussion started by: xgringo
1 Replies

2. Shell Programming and Scripting

how to Redirect the output of telnet command on a terminal to a file ?

(/home/user1)-> more script.sh #!/bin/ksh ( echo open devicename sleep 3; echo user; sleep 2; echo password; sleep 2; echo "/info/dump"; ---------> This needs to redirect to a file .Can be number of pages sleep 2; echo "exit" ) | telnet Please use code tags next time for... (2 Replies)
Discussion started by: necro98
2 Replies

3. Shell Programming and Scripting

Garbage value

I write a program to find a palindromic region in given sequences. but it dosen't seems to be run well. please give me your suggestions INPUT: AGCTAGCTCGAAGGTAG code is here #!/usr/bin/perl #Palindromic sequence print "enter the sequence:\n"; $rna = <STDIN>; chomp $rna; ... (3 Replies)
Discussion started by: sujit_singh
3 Replies

4. UNIX for Dummies Questions & Answers

Differences between Telnet and Terminal Emulation?

HI , I am little confused about differences between Telnet and Terminal Emulation? (1 Reply)
Discussion started by: nixhead
1 Replies

5. UNIX for Dummies Questions & Answers

Pipeing Individual Echos

Hello Yes I'm a noob so thanks for your help. I have a unix exicutable that renders video under os x (unix). As it renders frames it echos (or outputs) information to the terminal about which frame it's up too an how long it took etc. I am looking for a way to pipe this information so I can... (4 Replies)
Discussion started by: mortocks
4 Replies

6. OS X (Apple)

No terminal (tty) after ssh and telnet also

Hi all, we are just confused about a strange problem on one server in production (XServer, running OSXS 10.5.6). It works normal for month. Since two day everthing seems to be fine also with one exception. When we connect trough ssh we won't get a tty session. For testing purposes, we enabled... (2 Replies)
Discussion started by: Frank.Knobloch
2 Replies

7. Shell Programming and Scripting

Multiple echos and cuts too slow

Hi guys, hopefully this hasn't been asked before - couldn't see the question anywhere. I have a large number of timestamps (hh-mm-ss-millisecond) that I need to find the difference between e.g.: 14-11-07-513 14-11-07-644 Now the script that I have just knocked up is horrifically slow,... (4 Replies)
Discussion started by: dlam
4 Replies

8. Shell Programming and Scripting

Removing Garbage output

I am using following code to read myfile.ddl line by line. But the thing is it is printing lot of garbage which are the names of the files and directories in which myfile.ddl is present. Kindly refine the code so that only myfile.ddl contents are only read LOGFILE="logfile.txt"... (4 Replies)
Discussion started by: skyineyes
4 Replies

9. UNIX for Dummies Questions & Answers

Using telnet client from MacOSX's command line terminal

I'm completely new to Unix, but familiar with Mac OSX. I've just discovered the command line terminal feature of this new OS and I'm trying to learn how to telnet into my host's server to change permissions to allow executable cgi scripts for my website. Is there anyone who might be able to... (2 Replies)
Discussion started by: tylerl
2 Replies
Login or Register to Ask a Question