Berkeley CSUA MOTD:Entry 17292
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/05/25 [General] UID:1000 Activity:popular
5/25    

2000/1/22 [Computer/SW/RevisionControl] UID:17292 Activity:nil
1/21    Somebody probably thought of this before.  Any reason why we don't
        have a 'vimotd'?  Make /etc/motd.public writable only by executing
        vimotd.  That way we won't get into this problem of several people
        fucking up each other's entries.
        \_ Then I can just run vimotd and lock anyone else out of changing
            the motd!
           \_ he didn't mention anything about locking.
                \_ Then how do you prevent others from changing the motd
                   at the same time?
        \_ VI here is implmeented as VIM.  Vim will tell you if the file has
           changed while you've been editing it.  This happens to me routinely
           (even while writing this!).  I yank the text that I added, re-edit
           the file, and paste the text back in.  Seems like we need a picomotd
           or emacsmotd. --emarkp
        \_ cvs checkout, modify, cvs commit (may need to do cvs update). --rich