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
dbus-monitor(1) 					      General Commands Manual						   dbus-monitor(1)

NAME
dbus-monitor - debug probe to print message bus messages SYNOPSIS
dbus-monitor [--system | --session | --address ADDRESS] [--profile | --monitor] [watch expressions] DESCRIPTION
The dbus-monitor command is used to monitor messages going through a D-Bus message bus. See http://www.freedesktop.org/software/dbus/ for more information about the big picture. There are two well-known message buses: the systemwide message bus (installed on many systems as the "messagebus" service) and the per-user-login-session message bus (started each time a user logs in). The --system and --session options direct dbus-monitor to monitor the system or session buses respectively. If neither is specified, dbus-monitor monitors the session bus. dbus-monitor has two different output modes, the 'classic'-style monitoring mode and profiling mode. The profiling format is a compact for- mat with a single line per message and microsecond-resolution timing information. The --profile and --monitor options select the profiling and monitoring output format respectively. If neither is specified, dbus-monitor uses the monitoring output format. In order to get dbus-monitor to see the messages you are interested in, you should specify a set of watch expressions as you would expect to be passed to the dbus_bus_add_match function. The message bus configuration may keep dbus-monitor from seeing all messages, especially if you run the monitor as a non-root user. OPTIONS
--system Monitor the system message bus. --session Monitor the session message bus. (This is the default.) --address ADDRESS Monitor an arbitrary message bus given at ADDRESS. --profile Use the profiling output format. --monitor Use the monitoring output format. (This is the default.) EXAMPLE
Here is an example of using dbus-monitor to watch for the gnome typing monitor to say things dbus-monitor "type='signal',sender='org.gnome.TypingMonitor',interface='org.gnome.TypingMonitor'" AUTHOR
dbus-monitor was written by Philip Blundell. The profiling output mode was added by Olli Salli. BUGS
Please send bug reports to the D-Bus mailing list or bug tracker, see http://www.freedesktop.org/software/dbus/ dbus-monitor(1)
All times are GMT -4. The time now is 06:14 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy