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

Post #302802125 by newbie_01 on Friday 3rd of May 2013 02:40:05 AM

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.

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

- SuSE
-------------------- ------------------------------ ---------
03-MAY-2013 18:19:34 SYSTEM    ONLINE
- RedHat
----------------------------- ------------------------------ ---------
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.
Test Your Knowledge in Computers #501
Difficulty: Easy
If a piece of code adds two numbers together and stores the result, there should be a comment that explains the process in the source code.
True or False?

10 More Discussions You Might Find Interesting

1. 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 (3 Replies)
Discussion started by: sathyguy
3 Replies

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

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

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

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

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

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

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

10. 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
Agent::Driver::Fork(3pm)				User Contributed Perl Documentation				  Agent::Driver::Fork(3pm)

Log::Agent::Driver::Fork - dummy driver for forking output to multiple drivers SYNOPSIS
use Log::Agent; require Log::Agent::Driver::Fork; require Log::Agent::Driver::Foo; require Log::Agent::Driver::Bar; my $driver = Log::Agent::Driver::Fork->make( Log::Agent::Driver::Foo->make( ... ), Log::Agent::Driver::Bar->make( ... ) ); logconfig(-driver => $driver); DESCRIPTION
This driver merely acts a multiplexer for logxxx() calls, duplicating them and distributing them to other drivers. The only routine of interest here is the creation routine: make(@drivers) Create a Log::Agent::Driver::Fork driver that duplicates logxxx() calls and distributes them to the drivers in @drivers. The arguments must be the return value of the make() call for the client drivers. NOTES
Many thanks go to Daniel Lundin and Jason May who proposed this module independently. Eventually, logconfig() will support multiple drivers directly. But, for now, this solution requires no change to the existing interface. AUTHOR
Mark Rogaski <mrogaski@pobox.com> LICENSE
Copyright (C) 2002 Mark Rogaski; all rights reserved. See Log::Agent(3) or the README file included with the distribution for license information. SEE ALSO
Log::Agent::Driver(3), Log::Agent(3). perl v5.10.0 2009-07-23 Agent::Driver::Fork(3pm)

Featured Tech Videos

All times are GMT -4. The time now is 07:34 PM.
Unix & Linux Forums Content Copyright 1993-2019. All Rights Reserved.
Privacy Policy