Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7852873
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T19:31:26+00:00 2026-06-02T19:31:26+00:00

I have a Mac with snow leopard. I often work off the terminal using

  • 0

I have a Mac with snow leopard. I often work off the terminal using tmux (or GNU screen) When I walk away I remote ssh back to my computer. The thing is sometimes I have to step away from the computer for a minute or two. When that happens I don’t want people to glance over and have access to my command line and I also don’t think it is worth the whole CTRL-a,d,exit,open terminal, ssh to machine, tmux attach each time that happens.

Screen offered a CTRL-a,x that locked the screen (provided I enter in a password at least once that session because it won’t read the system password) or in tmux (preferred) a clock feature.

All the documentation points to the fact that the multiplexers look for /usr/bin/lock or /usr/bin/lck. Since that is a low level utility found on linux and BSD systems where can I find the source so I can port it to Mac OS X?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T19:31:27+00:00Added an answer on June 2, 2026 at 7:31 pm

    tmux comes from OpenBSD; you can view its lock through OpenBSD CVSweb for src/usr.bin/lock/.

    Mac OS X is more closely related to FreeBSD; you can view its lock code through FreeBSD SVN ViewVC for head/usr.bin/lock/ (CVS and Perforce are also available).

    Either one will require modification to even compile on Mac OS X.

    A major functionality difference will be in the authentication method for the -p option (“use login password/authentication”): the OpenBSD code uses its own authentication system, and FreeBSD uses crypt(3) which will not work for most Mac OS X accounts.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

All, For all of this I am using Mac OSX Snow Leopard. I have
I have a mac (snow leopard) and a windows7 desktop at work. The windows
I have MAC OS 10.6 (Snow Leopard) and according to Apple's guide on HTTP
I have a Mac mini with Snow Leopard Server installed on it. I need
i have a Mac with Mac OS X Snow Leopard, can i add iOS
I'm (re)installing MySQL 5.5.23 on my Mac (Snow Leopard) and since I have two
Enviroment: Cocoa on mac os x Snow Leopard I have reached the maximum (default)
I am using a Mac OS running Snow Leopard 10.6.8, Ruby on Rails 3.2.2
i have a mac with snow leopard and i have sequel pro and im
I have a Mac OS with Snow Leopard v10.6.5 and I am developing a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.