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

1998/7/11-13 [Computer/SW/Languages] UID:14320 Activity:nil
7/10    How do you turn off that beeping sound when you use write/nwrite?
        There isn't a setting in my terminal program.  I've tried setting
        nobeep variable at the shell level, but no help either.
        \_ Read the man page for nwrite, under ".nwriterc"
        \_ Beep?  I don't get a beep.  I didn't know it beeped.  Seriously.
           Is my computer defective?
           \_ there's obviously a problem in the monitor-keyboard interface
           \_ New stuff at the top.
                \_ Top of what?  The motd?  I'm *replying* to something here.
                   New topics at the top of the motd, new sub-threads of a
                   current topic at the bottom of the topic.  Clear now?
                   Anyway, everything else beeps just fine.  Maybe my
                   telnet client is filtering or something.  Thanks anyway
                   for trying.
                   \_ This entry is dated 7/10, below 7/9 entries.  Twink.
                        \_ English lesson: I didn't write the original post.
                           I wrote that I never get beeps.  Shove it up your
                           fat ass, moron.  I'm *replying* to something.  I
                           don't know or care who posted the original on
                           whatever date, you asshole.  If you're going to be
                           a MOTD Cop, at least do it right, idiot.
2025/05/28 [General] UID:1000 Activity:popular
5/28    

You may also be interested in these entries...
2012/7/19-11/7 [Computer/SW/Languages/C_Cplusplus] UID:54439 Activity:nil
7/19    In C or C++, how do I write the code of a function with variable
        number of parameters in order to pass the variable parameters to
        another function that also has variable number of parameters?  Thanks.
        \_ The usual way (works on gcc 3.0+, Visual Studio 2005+):
               #define foo(fmt, ...) printf(fmt, ##__VA_ARGS__)
           The cool new way (works on gcc 4.3+):
	...
2012/9/20-11/7 [Computer/SW/Unix, Finance/Investment] UID:54482 Activity:nil
9/20    How do I change my shell? chsh says "Cannot change ID to root."
        \_ /usr/bin/chsh does not have the SUID permission set. Without
           being set, it does not successfully change a user's shell.
           Typical newbie sys admin (on soda)
           \_ Actually, it does: -rwsr-xr-x 1 root root 37552 Feb 15  2011 /usr/bin/chsh
	...
2012/9/24-11/7 [Computer/SW/Languages, Computer/SW/Unix] UID:54484 Activity:nil
9/24    How come changing my shell using ldapmodify (chsh doesn't work) doesn't
        work either? ldapsearch and getent show the new shell but I still get
        the old shell on login.
        \_ Scratch that, it magically took my new shell now. WTF?
           \_ probably nscd(8)
	...
2012/4/27-6/4 [Computer/SW/Languages/Misc, Computer/SW/Unix] UID:54372 Activity:nil
4/27    I wrote a little shell script to collect iostat data:
        #!/bin/bash
        DATE=`date +%m%d`
        DATADIR=/var/tmp/user
        OUTPUTFILE=$DATADIR/$DATE.out
        while true
	...
2011/10/26-12/6 [Computer/SW/Unix] UID:54202 Activity:nil
10/24  What's an easy way to see if say column 3 of a file matches a list of
       expressions in a file? Basically I want to combine "grep -f <file>"
       to store the patterns and awk's $3 ~ /(AAA|BBB|CCC)/ ... I realize
       I can do this with "egrep -f " and use regexp instead of strings, but
       was wondering if there was some magic way to do this.
       \_ UNIX has no magic. Make a shell script to produce the ask or egrep
	...
2011/5/19-7/13 [Computer/SW/Languages/Misc] UID:54115 Activity:nil
5/19    If script A runs, and calls script B ..... is it possible for me to exit\
        script A based on results of script B and not continue?
        \_ assume any shell
        \_ Yes.
           \_ without passing the result to some stupid temp file?
              \_ It sounds like you want "scriptb || exit", which will run
	...