Changeset 478


Ignore:
Timestamp:
May 10, 2007 10:20:00 PM (6 years ago)
Author:
dkg
Message:

cereal: fixed a bug when creating second cereal console, fixed documentation, preparing for 0.6 tag.

Location:
trunk/cereal
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/cereal/debian/changelog

    r467 r478  
     1cereal (0.6-1) unstable; urgency=low 
     2 
     3  * fixing bugs: the second cereal console creation was failing.  
     4  * limited more features in screen, updated man page to match 
     5 
     6 -- Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>  Thu, 10 May 2007 21:58:11 -0400 
     7 
    18cereal (0.5-1) unstable; urgency=low 
    29 
  • trunk/cereal/fs/etc/cereal/screenrc

    r468 r478  
    44### IMPORTANT CEREAL SETTINGS BELOW.  MODIFY WITH CAUTION ### 
    55 
     6# use C-\ as the escape character 
     7escape \034\034 
     8 
    69# necessary for cereal logging to work properly 
    710logfile ./socket 
    811logfile flush 1 
    9  
    10 # set a reasonable escape sequence ("\") 
    11 escape \034\034 
    1212 
    1313# unset important key bindings 
     
    2929bind \\ 
    3030bind ^\ 
    31 ## others 
     31## no lockscreen: 
     32bind ^x 
     33bind x 
     34## no monitor, prev, next: 
     35bind M 
     36bind ^@ 
     37bind n 
     38bind ^N 
     39bind ' '  
     40bind ^H 
     41bind ^P 
     42bind p 
     43bind ^? 
     44# no number: 
     45bind N 
     46# no clear: 
     47bind C 
     48# no displays or dumptermcap: 
     49bind * 
     50bind . 
     51# no window switching: 
     52bind - 
     53bind 0 
     54bind 1 
     55bind 2 
     56bind 3 
     57bind 4 
     58bind 5 
     59bind 6 
     60bind 7 
     61bind 8 
     62bind 9 
     63## no window splitting: 
    3264bind S 
     65# no title change 
    3366bind A 
     67# no remove 
     68bind X 
     69# no windows: 
     70bind ^w 
     71bind w 
     72# no suspend: 
     73bind ^z 
     74# no focus: 
     75bind ^i 
     76# no windowlist: 
     77bind \" 
    3478 
    3579# set default shell to be /bin/false 
     
    3882 
    3983# set a nice, informative caption 
    40 caption always "%{= bw}%{+b w}cereal console%{-} %= %{+b y}%t%{-} %= type \"C-\ d\" to detach" 
     84caption always "%{= bb}%{+s w}cereal console (C-\ d to detach) %= %{+b y}%t%{-b w} %= %Y-%m-%d %c" 
    4185 
    4286startup_message off 
  • trunk/cereal/fs/usr/share/cereal/common

    r467 r478  
    3434check_is_session_tty() { 
    3535    TTY="$1" 
     36    local SESSION 
    3637    for SESSION in $(ls "$SESSIONDIR") ; do 
    3738        if grep -q "^$TTY$" "$SESSIONDIR/$SESSION/env/TTY" ; then 
  • trunk/cereal/fs/usr/share/man/man1/cereal.1

    r456 r478  
    1212.TP 
    1313.B attach SESSION 
    14 Attach to (take control of) a cereal session named SESSION.  This puts the user 
    15 into a cereal console, provided by a command-restricted screen session.  To 
    16 detach from an attached session, use the screen detach key command ("C-a C-d" by 
    17 default).  See \fBscreen\fP(1) for more info on how to use screen while in an 
    18 attached session.  (`a' may be used in place of `attach'.) 
     14Attach to (take control of) a cereal session named SESSION.  This puts 
     15the user into a cereal console, provided by a command-restricted 
     16screen session.  To detach from an attached session, use "C-\\ d".  For 
     17help on other available commands, use "C-\\ ?".  Cereal uses a limited 
     18instance of screen to provide the console.  See \fBscreen\fP(1) for 
     19more info on the available commands.  (`a' may be used in place of 
     20`attach'.) 
    1921.TP 
    2022.B follow [options] SESSION 
Note: See TracChangeset for help on using the changeset viewer.