1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-28 01:12:34 +01:00

curses/configscript_curses.py:

Fixed the typo that rworkman noticed.
curses/wicd-curses.py:
  Ensured that the upper status bar updates itself immediately after a
    connection is made, as opposed to a second or two after the fact
curses/README: Added a FAQ and added the new keybindings
in/man=wicd-curses.8.in: Added the new keybindings
This commit is contained in:
Andrew Psaltis
2009-01-30 23:46:07 -05:00
parent d137cbad85
commit 7cde91e14a
4 changed files with 36 additions and 18 deletions

View File

@@ -16,24 +16,41 @@ ask me. I try to be on the #wicd Freenode IRC channel most of the time.
Controls:
F5 : refresh wireless networks
F8 or Q: quit
D : disconnect from all active networks
ESC : if connecting to a network, stop doing so
ENTER : Attempt connection to selected network
P : Display preferences dialog
C : Display network configuration for selected network
A : Display "About" dialog
I : Raise the "Scan for hidden networks" dialog
H : Raise help dialog
S : Provide instructions for configuring scripts
delete : Delete selected wired network profile (from the wired ComboBox)
F2 : Rename selected wired network profile (from the wired ComboBox)
O : Raise ad-hoc network dialog
F5 : refresh wireless networks
F8 or Q or q: quit
D : disconnect from all active networks
ESC : if connecting to a network, stop doing so
ENTER : Attempt connection to selected network
P : Display preferences dialog
C : Display network configuration for selected network
A : Display "About" dialog
I : Raise the "Scan for hidden networks" dialog
H or h or ? : Raise help dialog
S : Provide instructions for configuring scripts
delete : Delete selected wired network profile (from the wired ComboBox)
F2 : Rename selected wired network profile (from the wired ComboBox)
O : Raise ad-hoc network dialog
IN DIALOGS (Meta usually is "Alt"):
ESC or Q: Quit dialog without saving information (if present)
Meta+Left/Right: Change tabs Left/Right (if tabs present)
Meta+Enter : Quit dialog and save information
FAQ (WIP):
What is wicd-curses?
See above. :-)
Why didn't you call it wicd-urwid? There is a hachoir-urwid package out there.
I first called this "urwicd". However, due to the relative obscurity of
the urwid package, and the fact that many more people know what "curses"
is, I named it wicd-curses. After all, it _does_ use curses (by default,
anyway).
Why don't you support lower-case keybindings for most of the commands?
I was trying to prevent mass chaos from happening because of mashing keys.
Of course, if you unwittingly have caps-lock on, that's going to cause said
chaos, too, so you might want to check that (or ask me about changing the
keymaps to ctrl/meta+KEY)
~NaCl

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env python
"""configscript_curses.py
Kind of like configscript.py, except writtwn using urwid.
Kind of like configscript.py, except written using urwid.
Also recycles a lot of configscript.py, too. :-)
"""

View File

@@ -712,6 +712,7 @@ class appGUI():
# immediately.
if from_idle and not self.connecting:
self.update_netlist()
self.update_status()
self.update_ui()
return False
toAppend = ''
@@ -851,7 +852,7 @@ class appGUI():
continue
self.frame.keypress( self.size, k )
return True
# TODO: Update this to use the networkentry stuff
def connect(self, nettype, networkid, networkentry=None):
""" Initiates the connection process in the daemon. """
if nettype == "wireless":