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


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers On Linux, Putty Log is not WYSIWYG like the screen?
# 1  
Old 05-03-2013
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  
Old 05-03-2013
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?
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Windows & DOS: Issues & Discussions

Cant get responsive terminal when I ssh from Windows to Linux using putty.exe

I ssh from Windows to Linux server and execute a few commands. I have ssh keys setup between them and works fine. The commands get executed on the Linux server however I wish to stay on the Linux terminal that was opened by putty.exe. However, the terminal simply does the job and closes. ... (10 Replies)
Discussion started by: mohtashims
10 Replies

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

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
Login or Register to Ask a Question