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

1999/10/10-11 [Computer/SW/OS/Windows, Computer/SW/Unix] UID:16685 Activity:kinda low
10/10   Does anyone happen to know of a way *in windoze 95* to run a
        program with a list of arguments > 1024 chars long?  I'm trying
        to link, and it's chopping off the line in the bat file at this
        length.  Thanks.
        \_ Why are you trying to do anything beyond hello.c on a win95 box?
           You do understand that it's just a dos box with a gui on it?  You're
           lucky M$ upped a line length to 1024.  Earlier versions had 128.
           \_ There is no good reason for the shell to look at only the first
           32 characters after #! in UNIX. -- ilyas
        \_ Isn't there some funky thing you can do with an @FOO.TXT
           argument which takes the rest of the arguments from a file?
           I don't know that it's standard, but I've seen a lot of
           programs that supported something like that.
           Barring that, if you just have a lot of object files,
           couldn't you just do the windoze equivalent of
                ld -x -r -o onehalf.o <half my object files>
                ld -x -r -o otherhalf.o <my other object files>
                gcc -o myprog  onehalf.o otherhalf.o -lfoo -lbar etc.?
           -brg
2025/05/24 [General] UID:1000 Activity:popular
5/24    

You may also be interested in these entries...
2010/4/28-5/10 [Computer/SW/OS/Windows] UID:53807 Activity:nil
4/28    Win 3.1 was more widely adopted than Win 3.0.  Win XP (5.1) was more
        widely adopted than Win 2k (5.0).  Now it looks like Win 7 (6.1) is
        going to be more widely adopted than Vista (6.0).  Is this a trend on
        Microsoft x.0 versions being bad?
        \_ duh.
        \_ "more widely adopted" ... well... what are you basing these numbers
	...
2008/6/27-7/14 [Computer/SW/OS/Windows] UID:50396 Activity:nil
6/27    "No extension: Windows XP D-Day arrives Monday, June 30"
        http://tech.yahoo.com/blogs/null/96295
        Among all Windows versions, is XP one of the most sucessful ones?  The
        other one I can think of might be 3.1.
        \_ 2000 was pretty damn good too.
        \_ Win95? It ran the most games. XP seems better than Win2k to me, but
	...
2006/10/5-7 [Recreation/Computer/Games] UID:44700 Activity:nil
10/5    http://reviews.cnet.com/4520-6449_7-6647505-1.html?tag=nl.e501
        Don't get overhyped on PS3 and Wii.  CNET reporter says that in his
        informal poll, 3 out of 6 people he knew who got an early Xbox 360
        had their hardware eventually fail.  The warranty is only 90 days,
        although after enough bad press MS is paying for all repairs for
        machines built before 2006.
	...
2006/9/12 [Computer/SW/OS/Windows] UID:44358 Activity:nil
9/12    I haven't used MS windows since the win95 days. Can someone please
        explain to me what in the world a "domain" is? I'm familiar with
        IP addresses like 128.32.112.233 or domains like http://csua.berkeley.edu
        but what are things like "\\My Workgroup" or "\\MYCOMPANY"?
        Is Microsoft inventing new linguo?
	...
2006/7/25-26 [Computer/SW/OS/Windows, Computer/SW/OS/Linux] UID:43790 Activity:nil
7/25    Running Linux: any technical reasons to reboot on a regular basis?
        \_ No.  -tom
        \_ Like with any other OS, it can help if your apps have memory leaks.
           If every program running on the machine is written perfectly
           and never fails in any strange or unexpected manner then you're
           fine without rebooting. I've had machines up for almost 1000
	...
2004/8/25-26 [Computer/SW/OS/Windows] UID:33137 Activity:very high
8/25    Is it possible to make a bootable DOS floppy in Win2K?
        \_ http://bootdisk.com
           \_ Thanks. -op
        \_Yes.  Right-click on the drive and follow the instructions.
           \_ I don't think that makes a bootable floppy -op
              \_ agreed
	...
2003/5/16 [Computer/HW/CPU] UID:28462 Activity:moderate
5/15    Is a Pentium 133 Mhz Processor fast enough to decode mp3's in
        real-time?
        \_ Almost certainly yes, depending on load.  I used to play mp3s
           on a 166 win95 machine, but I couldn't use netscape at the same
           time.  And I think that might have even gotten better later on
           when winamp improved their decoder.
	...
2002/10/17 [Computer/SW/OS/Windows] UID:26223 Activity:high
10/16   What's the difference between the way win98 does threads vs.
        NT/2k/XP?
        Win98 doesn't seem to have a real threading system or something.  Test
        code on Win98 runs "jerky" but the same on the more advanced versions
        runs smoothly and handles threads as I'd expect.
        \_ I thought Win98 has preemptive threading for Windows apps while
	...
2002/9/20-21 [Computer/SW/OS/Windows] UID:25961 Activity:kinda low
9/19    I dutifully installed cygwin on win95.  However, some program, like
        tex and tcsh, dumps core or stack.  What is the problem?
        \_ I read somewhere that cygwin on windows 95 doesn't
           work so well
            \_ I wrote somewhere that win95 doesn't work so well, so what
                you read is pretty certainly true.  Umm, I'm not one of
	...
2002/8/26-27 [Computer/SW/Security, Computer/SW/OS/Windows] UID:25694 Activity:high
8/26    After I save a file in win95, I need to process it from DOS prompt
        (to use with sftp for putty for example). I find the file name to be
        "currupted" - it's shorter and contains strange characters like "~".
        I know this must be a feature from MS but how to get around it and
        access the file from DOS using the real file name?
        \_ try using cygwin
	...
2002/8/14-15 [Computer/SW/Languages, Computer/SW/OS/Windows] UID:25557 Activity:moderate
8/14    Some applications don't have the "print to file" option.  Is there
        a way to install a printer type that will generate a PS file when
        printed to it?  This is w2k.  I've been dicking around with this
        all morning and still can't find a way to print.  This is for an
        efax viewer and something called elynx viewer.  There's no "print
        to file" option and printing to "PDFwriter" won't work either.
	...
2002/8/2-4 [Computer/SW/OS/OsX] UID:25483 Activity:moderate
8/2     When I use X from window (Exceed) and mac (DarwinX) and try to
        move or resize window, the window frame does not appear, so I
        don't have a visual feel where I am moving or resizing to.  Any
        cure?
        \_ Your background might be the same color as the resize lines;
           try 'xsetroot -solid darkgreen' (for example) and see if that
	...
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
	...
2009/8/19-9/1 [Computer/SW/Unix] UID:53285 Activity:nil
8/18    Hi again, new freebsd guy here again, in bash I was able to go
        LD_LIBRARY_PATH=/opt/foo/lib ./runmyapp
        I managed to do this in tcsh by using setenv in a shell script
        that setenv's the lib path and then executes $1, just wondering
        if there was a way to do it in 1 line from the cmd line as in bash?
        Thanks, btw %2c or %3c worked.  Freebsd, tcsh and vi forever!
	...
2009/7/22-27 [Computer/SW/Unix] UID:53181 Activity:nil
7/22    Why does everyone's 'mail last read' date say Jul 19th? even for people
        who don't log in (shell is safesorry)?  Just wondering O mighty unix
        gurus.
        \_ Modification time change when it was copied to new soda.
	...