Sponsored Content
Top Forums UNIX for Advanced & Expert Users How to disable the clearing of the first page when executing screen tool Post 302286051 by saad26 on Tuesday 10th of February 2009 08:50:07 AM
Old 02-10-2009
How to disable the clearing of the first page when executing screen tool

Hi Guy,

In order to monitor the user sessions, I have put the screen tool in the .profile in order to record the whole session.
However, when the user logs in, the screen command is executed and the screen is first cleared, then the command prompt appears. so, I basically want to disable the clearing of the screen, this means that when a user logs in, the screen command is executed and the command prompt comes on the second line without clearing the screen.
I have attached the screen source code in c language as well.

thanks for your help in advance.
Regards,
Saad
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

PERL: clearing the screen

I would like to clear the screen in perl scripts without having to use system(). Is there a way to do this? (7 Replies)
Discussion started by: dangral
7 Replies

2. Shell Programming and Scripting

Executing shell program from a web page

Hi, I am looking for a cgi-script which runs a shell script from a web page. When I click "Run" from a web page it should run the shell commands in an textarea and results should get back to web page. Thanks Venkat (5 Replies)
Discussion started by: venkatritch
5 Replies

3. Programming

Clearing screen in Python using curses?

Hi guys, I've got the following code for clearing the screen in my Python shell using curses: import curses scrn = curses.initscr() scrn.clear() However, upon execution, my shell crashes. Would appreciate a pointer in the right direction. Thanks. :D (4 Replies)
Discussion started by: sadistik_exec
4 Replies

4. Shell Programming and Scripting

How to disable Enable/Disable Tab Key

Hi All, I have bash script, so what is sintax script in bash for Enable and Disable Tab Key. Thanks for your help.:( Thanks, Rico (1 Reply)
Discussion started by: carnegiex
1 Replies

5. Red Hat

command line tool to disable screen lock and/or screen saver

Hi, I have a simple question : how to disable screen lock and/or sreen saver with command line with RHEL5.4 ? (1 Reply)
Discussion started by: albator1932
1 Replies

6. Red Hat

SSL/TLS renegotiation DoS -how to disable? Is it advisable to disable?

Hi all Expertise, I have following issue to solve, SSL / TLS Renegotiation DoS (low) 222.225.12.13 Ease of Exploitation Moderate Port 443/tcp Family Miscellaneous Following is the problem description:------------------ Description The remote service encrypts traffic using TLS / SSL and... (2 Replies)
Discussion started by: manalisharmabe
2 Replies

7. Shell Programming and Scripting

Clearing part of screen in Korn Shell

Hi, I am writing a menu driven Korn script where I am getting some input from the users (host details, like Hostname, HBA WWN, Devices etc...). I face a challenge when the number of input lines goes past my window size. For this reason, I am planning to use a part of the screen for user input, say... (3 Replies)
Discussion started by: lasko
3 Replies

8. UNIX for Dummies Questions & Answers

Accidentally made a screen within a screen - how to move it up one level?

I made a screen within a screen. Is there a way to move the inner screen up one level so that it is at the same level as the first screen running from the shell? (2 Replies)
Discussion started by: phpchick
2 Replies

9. UNIX for Dummies Questions & Answers

How to switch the user before executing a shell script from web page??

hi, i want to execute a shell script as a different user. the flow is like this. there is a html web page from which i have to call a shell script. web server is apache. to call the shell script from html page, a perl script is required. so the html page calls the perl script and the perl... (2 Replies)
Discussion started by: Little
2 Replies

10. UNIX for Beginners Questions & Answers

Disable Solaris Gnome 3 screen blanker

One of the more annoying features of the Gnome 3 desktop in Solaris 11 is its insistence on blanking the screen after five minutes of inactivity. And for the life of me I can't figure out how to make it top doing that. I'm running it in a VNC viewer so the host PC can take care of screen... (1 Reply)
Discussion started by: Michele31416
1 Replies
SCREENIE(1)						    BSD General Commands Manual 					       SCREENIE(1)

NAME
screenie -- screen(1) session handler (wrapper) SYNOPSIS
screenie [-h|--help] [-j session_name job] DESCRIPTION
screenie is a small and lightweight screen(1) wrapper designed to simplify session selection on a system with multiple screen sessions. screenie provides simple interactive menu to select the existing screen session or to create a new one. OPTIONS
-h | --help show help -j session_name job run screen jobs from command-line EXAMPLES
Run in interactive mode: screenie Create a new detached session: screenie -j stat top LICENCE
This program is free software but comes WITHOUT ANY WARRANTY. You can redistribute and/or modify it under the same terms as Perl itself. AUTHOR
Written by Jiri Nemecek on February 6th, 2011. You can contact me via mail address nemecek<dot>jiri<at>gmail<dot>com . This program is enhanced Perl-reimplementation of screenie by Marc O. Gloor published on http://pubwww.fhzh.ch/~mgloor/screenie.html URL
Released on sourceforge: http://sourceforge.net/projects/screenie BUGS
Please report them in project bugtracker. SEE ALSO
screen(1) BSD
June 1, 2019 BSD
All times are GMT -4. The time now is 05:19 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy