Skip to content

Commit

Permalink
Default to safe. Minor cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
ggreer committed Feb 22, 2014
1 parent 1c097ee commit 0051fbf
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .floo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"url": "https://floobits.com/Floobits/flootty/"
"url": "https://floobits.com/Floobits/flootty"
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# flootty

## Development status: Works on Linux/OsX (Cygwin is untested).
## Development status: Works on Linux/OS X (Cygwin is untested).

Flootty is a collaborative terminal. In practice, it's similar to a shared screen or tmux session.
Flootty makes it dead simple for multiple users to share a shell.
Expand Down
13 changes: 9 additions & 4 deletions flootty/flootty.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/usr/bin/env python
# coding: utf-8
try:
unicode()
except NameError:
unicode = str

# Heavily influenced by the work of Joshua D. Bartlett
# see: http://sqizit.bartletts.id.au/2011/02/14/pseudo-terminals-in-python/
Expand Down Expand Up @@ -230,11 +235,11 @@ def main():
action="store_true",
help="List all ptys in the workspace")

parser.add_option("--safe",
parser.add_option("--unsafe",
dest="safe",
default=False,
action="store_true",
help="Safer terminal. Other users can type all characters, but they can't hit enter to run commands.")
default=True,
action="store_false",
help="Less safe terminal. This allows other users to send enter.")

parser.add_option("--no-ssl",
dest="use_ssl",
Expand Down

0 comments on commit 0051fbf

Please sign in to comment.