On Linux, Putty Log is not WYSIWYG like the screen?


 
Thread Tools Search this Thread
# 1  
On Linux, Putty Log is not WYSIWYG like the screen?

Hi all,

I am not sure if this is a known issue. I am using Putty and logging the session into a log, only the printable one.

On Solaris, all is working fine. But on Linux servers, Redhat or Suse, while the screen looks correct, the log file is not.

Note example below:

On the screen, it looks as below, I copy-and-paste direct from the screen.

Code:
 
- SuSE:
RUNTIME              TABLESPACE_NAME                STATUS
-------------------- ------------------------------ ---------
03-MAY-2013 18:15:20 SYSTEM                         ONLINE
 
- RedHat:
RUNTIME                       TABLESPACE_NAME                STATUS
----------------------------- ------------------------------ ---------
03-MAY-2013 18:13:45          SYSAUX                         ONLINE
03-MAY-2013 18:13:45          SYSTEM                         ONLINE
 
- Solaris:
RUNTIME              TABLESPACE_NAME                STATUS
-------------------- ------------------------------ ---------
03-MAY-2013 18:13:49 SYSTEM                         ONLINE

But on the PuTTY log, it shows as below:

Code:
 
- SuSE
RUNTIME      TABLESPACE_NAME    STATUS
-------------------- ------------------------------ ---------
03-MAY-2013 18:19:34 SYSTEM    ONLINE
 
- RedHat
RUNTIME       TABLESPACE_NAME     STATUS
----------------------------- ------------------------------ ---------
03-MAY-2013 18:13:45      SYSAUX     ONLINE
03-MAY-2013 18:13:45      SYSTEM     ONLINE
 
- Solaris:
RUNTIME              TABLESPACE_NAME                STATUS
-------------------- ------------------------------ ---------
03-MAY-2013 18:13:49 SYSTEM                         ONLINE

On the PuTTY logging, I choose Printable Output only. If I change the Linux ones to do All session output, then it all lines up perfectly. Unfortunately, choosing All session output gives a lot of other garbage, i.e. special characters, in the log file.

Is there some settings on Linux that I have to do to get around this problem? TERM on all OS'es are set to vt100.

Any advise/tips much appreciated. Thanks in advance.
# 2  
I don't know the answer about Putty directly but it looks like the log output from SuSe and RedHat is <space> delimited and the output from Solaris is <tab> delimited.

I might be wrong but having worked on Unix systems for many years, that's just my guess.

Anybody know whether this is a Putty configurable option?
 

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #729
Difficulty: Medium
BASIC stands for Basic All-purpose Symbolic Instruction Code.
True or False?

10 More Discussions You Might Find Interesting

1. What is on Your Mind?

Simple Autosave and Recovery for Forum WYSIWYG Editors

Well, after causing Don Cragun to lose some replies when working on a few feature, I decided to create a simple autosave / recovery program that will autosave locally on key (key stroke) changes (and mouse clicks as well). NOTE. Works well in Chrome Works OK in Safari, but is not reliable... (8 Replies)
Discussion started by: Neo
8 Replies

2. UNIX for Beginners Questions & Answers

Text color in Linux scripts via putty

hi Folks, Can anyone help with changing the color of the words in a linux shell script? I get how to change default background etc in putty, but for some reason the text in the script has different colors for different parts of the cript. Is there a way to have one color in a linux shell... (5 Replies)
Discussion started by: jonnyd
5 Replies

3. Linux

Help!! trying to connect to linux SSH from windows putty client

Hi, i am trying to connect my Putty session on a windows box to a linux SSH, i have generated private and public key pairs using puttygen, i have set the public one to be in an OPENSSH format... and have put this in my authorized_keys file in linux, when i connect i get the following errors: ... (1 Reply)
Discussion started by: Jtyreman
1 Replies

4. Shell Programming and Scripting

regarding Color scheme in linux console connected through putty.

Hi All, I am connecting to SunOs 5.8 server from windows machine through putty. My problem is commands are not showing any colours results. I want to see 'ls' command should list directories in 'red' and files in 'green' etc. How to do it . Please help. Also How to enable syntax colouring in... (6 Replies)
Discussion started by: Sooraj_Linux
6 Replies

5. Linux

Opening a GUI from a putty window on Linux

Hi, I have a linux which I am accessing using putty.I have written some code in TCL-Tk & developed a GUI based app.I knew that it is difficult to open a GUI based app. from putty,but there must be some way to do that. If anybody knows any such workarounds kindly let me know. Shell I am using is... (4 Replies)
Discussion started by: forstudy3
4 Replies

6. UNIX for Advanced & Expert Users

Reading putty command line parameters from Linux

I am running Putty 0.60 from Windows XP and I am connecting to a Linux box. I would like to be able to pass a command line parameter to my Linux session so that my Linux session can execute a specific command, depending on the command line parameter. I have looked on the Internet and tried... (1 Reply)
Discussion started by: SFNYC
1 Replies

7. Linux

C-Cedilla (), Putty and Linux

Having just transferred a project from Sun Solaris to Red Hat Linux 5.1 on an HP Blade, we have an issue seeing C-Cedilla () characters in Putty. While a 'more' command shows the correctly, cut and paste converts it to ^A and vi converts it to yet another ctrl A character. The character... (4 Replies)
Discussion started by: finkangel
4 Replies

8. Solaris

putty to change screen colours

Can any one tell me how to change the screen colors of the screen when connected unix using putty. I tryed setting from colors but it's not happening (2 Replies)
Discussion started by: svenkatareddy
2 Replies

9. AIX

Bad performance when log in with putty

Hello guys! I'm n00b in AIX and I'm sticked in a problem. (my English is poor enough, but I hope you can understand me :P). So.. I'm trying to connect to an AIX machine with putty, and .. 'using username xxx' appears after 2 sec (OK), but 'xxx@ip's password' appears after 1:15 min. After... (6 Replies)
Discussion started by: combat2k
6 Replies

10. Red Hat

How to take printout of linux file from windows xp using putty?

Friends, I have installed Putty in my windows xp pc. I am connecting the RHEL AS 3 server using putty from my windows xp. My printer is connected to my windows xp. Now, i want to print text.txt of RHEL AS 3.0 in my windows xp printer through putty. For Example: my pc ip is 117.23.2.55... (3 Replies)
Discussion started by: sathyguy
3 Replies

Featured Tech Videos