Location: Saint Paul, MN USA / BSD, CentOS, Debian, OS X, Solaris
Posts: 2,288
Thanks Given: 430
Thanked 480 Times in 395 Posts
Hi.
I have also found that both sides of the connection need to be the same for the best results. So, for example, in Gnome Terminal, I make sure I am using TERM=vt100. When I connect to other systems, either I enter TERM=vt100 or it is in the startup file, e.g. .bash_profile
It might be useful to see what the other side is thinking you are using by entering
immediately after you login to the remote system. If it is different from the local system, then I suggest that you change one or the other so that they are the same, and see what happens ... cheers, drl
Location: Saint Paul, MN USA / BSD, CentOS, Debian, OS X, Solaris
Posts: 2,288
Thanks Given: 430
Thanked 480 Times in 395 Posts
Hi.
So you did the echo $TERM from each of the emulators as well as on the remote session with that emulator? ... cheers, drl
---------- Post updated at 22:18 ---------- Previous update was at 21:58 ----------
Hi.
I set TERM=scoansi, and connected to my SuSE box with ssh. This is the exchange:
I cannot duplicate your problem.
The original response looks similar to terminal settings like colors and such. Is the response you got from entering "05" from the command line or from the COBOL program?
Has the program ever worked successfully? If so, from which emulator? ... cheers, drl
Yes, the SSH connection seems fine outside of the program I'm using. I can connect ok and get a normal-looking prompt. It's when I start up the COBOL program that things get funny.
PowerTerm is what we use in the office, it's the only emulator that appears to work without hiccups.
In iTerm I get funny chars but if I ignore them the program seems to act normally.
The X11 that came with my Mac (or maybe on the Dev Tools, I forget) almost works normally aside from the first line of every menu not being legible.
I forget what happens in Gnome Terminal (on PPC Debian) but it was not quite right.
Incidentally, the following text appears when starting up the COBOL program but doesn't show up on the machines in the office. I think because PowerTerm forces an 80 col x 25 row window? The little bit at the end is because I was using iTerm at the time. ---------- Post updated at 04:22 AM ---------- Previous update was at 04:18 AM ----------
Oh and to answer your other question
Quote:
Is the response you got from entering "05" from the command line or from the COBOL program?
The response/odd chars only happen in the COBOL program.
The PowerTerm Pro Series is Ericom Software's premier 3270 and 5250 terminal emulation solution for Windows that simplifies and extends legacy access functionality.
I would guess that the COBOL program is trying to drive the terminal in those modes ( 3270, 5250), and the odd sequences mean something to those kinds of terminals, but not to a vanilla ansi emulation.
If so, there are two packages on Debian that may be of interest:
There are notes at the bottom of the page at tn5250 that suggest related programs.
I think this is related to the COBOL program as Corona688 suggested, except that it may not be malfunctioning, just that it does not have the context that it was written for.
At any rate, this does not seem to me like a directly-related Linux or SSH issue ... cheers, drl
Hi Team,
I have a file a1.txt with data as follows.
dfjakjf...asdfkasj</EnableQuotedIDs><SQL><SelectStatement modified='1' type='string'><!
The delimiter string: <SelectStatement modified='1' type='string'><!
dlm="<SelectStatement modified='1' type='string'><!
The above command is... (7 Replies)
Hello,
I am running a bash script to do an rsync back on a computer running MacOS High Sierra. This is the script I am using,
#!/bin/bash
# main backup location, trailing slash included
backup_loc="/Volumes/Archive_Volume/00_macos_backup/"
# generic backup function
function backup {... (12 Replies)
Hi,
I need all your help to achieve the below functionality.
I have a big 2 GB file and inside the file we need to identify, whether having a comma(,) or pipe(|) or tab or fixed position or semicolon(;) delimiter. If any of those delimiter found need to replace the file with pipe(|)... (1 Reply)
I have an situation that are quite strange to me. I am not able to exit the server terminal and enter back into my home computer terminal by the command exit like I used to be able to exit the server terminal with before. I end up into my root shell again without even typing the root password like... (6 Replies)
Hi eryone, I'm new here. Since I'm a graphic designer and not an admin, I need to learn a lot from the first step, so please be patient with me. ;-) Most of my skills are self taught with howtos, so there might be some lack of wisdom in basics. I've setup a Suse-System (9.3) with a few upload... (3 Replies)
Hi Gurus,
I want to programmatically detect what Linux flavour I have in my m/c, detailed OS-name and its version,
e.g. is it RHEL, SUSE, Debian etc.
----------------------------------------------------------------
Flavour OS-Nname version... (4 Replies)
Hello,
I am attempting to write a (bash) shell script that will do some basic reporting based on the APT utilities and dpkg.
I need the following in the report:
Packages installed
(COLUMNS=200 dpkg -l | grep '/^ii/' > packages_installed)
Packages not installed
I suppose that I can do ... (0 Replies)