On Wed, 12 Nov 2008, Micah Cowan wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dan Mahoney, System Admin wrote:
hey, is there a way to customize the message displayed on the "lock",
for example:

Whether it was locked by time, or idle?
What time it was locked?
What HOST it's running on?

These could all be managed now, through the use of a custom "lock"
program (specified via the $LOCKPRG environment variable).

Of which I can't find any useful that solve the problems I'm looking to solve -- those problems manifested after I started this thread, tho.

You could differentiate between "idle" locks and explicit locks by having "idle" give the lock program a special arg or something.

Really? How? Will idle accept full-on commands, or just "screen" commands?

I don't believe we'll implement these in screen's built-in lock program
at this time.

The hostname tweak is a three line patch (that BSD already has as an option).

http://www.freebsd.org/cgi/cvsweb.cgi/ports/sysutils/screen/files/opt-hostinlocked?rev=1.1;content-type=text%2Fplain;sortby=date

The others, could be done by having "lockscreen" accept arguments.

Trent's issue (i.e. wanting both a blanker and a lock) could be solved by accepting multiple "idle" arguments.

-Dan

--

--------Dan Mahoney--------
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---------------------------



_______________________________________________
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to