O5B-->

About GNOME · Download · Support · Community · Developers · Foundation · Contact




GNOME Support Forums
GNOME Desktop user support forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Terminal: how to retrieve old (post-exit) messages?

 
Post new topic   Reply to topic    GNOME Support Forums Forum Index -> Application Help
View previous topic :: View next topic  
Author Message
Nick Levinson
Newbie
Newbie


Joined: 26 Sep 2007
Posts: 9

PostPosted: Wed Oct 07, 2009 10:50 am    Post subject: Terminal: how to retrieve old (post-exit) messages? Reply with quote

How do I find messages in Terminal after it has quit?

I run a program of some kind. It invokes a terminal. In one case, it displayed a paragraph of text and, in less than a second, exited. I open a terminal and try to scroll up or go through the history of previously-typed commands but I can't find the disappeared text. I'm running Gnome desktop environment 2.24.1 in Fedora 10 Linux.

What should I type?

Thank you.

--
Nick
Back to top
View user's profile Send private message
Sargek
Moderator
Moderator


Joined: 09 Dec 2002
Posts: 536
Location: San Antonio, Texas

PostPosted: Fri Oct 16, 2009 10:53 am    Post subject: Re: Terminal: how to retrieve old (post-exit) messages? Reply with quote

Nick Levinson wrote:
How do I find messages in Terminal after it has quit?

I run a program of some kind. It invokes a terminal. In one case, it displayed a paragraph of text and, in less than a second, exited. I open a terminal and try to scroll up or go through the history of previously-typed commands but I can't find the disappeared text. I'm running Gnome desktop environment 2.24.1 in Fedora 10 Linux.

What should I type?

Thank you.

--
Nick


Depending on the distribution, and the application, the logs could be in different places. What application are you invoking?
_________________
"Amongst all things, knowledge is truly the best thing: from it's not being liable ever to be stolen, from it's not being purchasable, and
from it's being imperishable."
Back to top
View user's profile Send private message Send e-mail
Nick Levinson
Newbie
Newbie


Joined: 26 Sep 2007
Posts: 9

PostPosted: Fri Oct 16, 2009 9:58 pm    Post subject: Reply with quote

Question is for any application. I think I ran a Perl program; I don't remember exactly whether it was one I downloaded from outside the distro or a short one I wrote to see if I could write a Perl program (I have a project underway that requires that I create a Perl program). Perl itself is part of the distro.

Are there at least a few standard locations for old post-exit Terminal logs in Fedora 10 with Gnome?

Thanks.

--
Nick
Back to top
View user's profile Send private message
Sargek
Moderator
Moderator


Joined: 09 Dec 2002
Posts: 536
Location: San Antonio, Texas

PostPosted: Fri Oct 16, 2009 10:35 pm    Post subject: Reply with quote

Nick Levinson wrote:
Question is for any application. I think I ran a Perl program; I don't remember exactly whether it was one I downloaded from outside the distro or a short one I wrote to see if I could write a Perl program (I have a project underway that requires that I create a Perl program). Perl itself is part of the distro.

Are there at least a few standard locations for old post-exit Terminal logs in Fedora 10 with Gnome?

Thanks.

--
Nick


After some quick googling, I am not convinced Perl writes anything anywhere unless you tell it to - it sounds like your code is writing to stdout, which is the screen. In this particular case, this issue doesn't have anything to do with either Fedora or Gnome, you just happen to be using those. Maybe you can get a better answer by researching Perl forums?

Linux writes certain terminal output to logs, but that depends on the distribution and the application invoked. Normally when this happens, it is by design, such as Gentoo's emerge output, which gets stored in logs.

Now I am just rambling...!
_________________
"Amongst all things, knowledge is truly the best thing: from it's not being liable ever to be stolen, from it's not being purchasable, and
from it's being imperishable."
Back to top
View user's profile Send private message Send e-mail
Nick Levinson
Newbie
Newbie


Joined: 26 Sep 2007
Posts: 9

PostPosted: Fri Oct 16, 2009 11:19 pm    Post subject: Reply with quote

For Perl apps, I suppose I can write a line in an app to send stdout to a file, and that's a partial solution.

But it sounds like I need a multiapplication solution. Is it possible to permanently save stdout (or stderr, for that matter) to a log regardless of app? I can delete old logs now and then, but meanwhile I can see what's in the current log from a recent event.

Thanks for the help so far. Now I know I can stop looking for what's gone.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    GNOME Support Forums Forum Index -> Application Help All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


FootNotes | Official GNOME Website | GnomeSupport.org

Add to Mozilla Sidebar

Powered by phpBB © 2001, 2005 phpBB Group