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

1999/2/25-3/30 [Computer/SW/OS/Windows, Computer/SW/Unix] UID:15483 Activity:high
2/25    In MS-DOS, I can do "prompt $E[7m$p$g$E[0m" to get an inverse
        command prompt.  Is there a way to do the same thing for NT command
        prompt?  Thanks.
        \_ http://www.jpsoft.com  4NT
           \_ tcsh for NT.
                \_ tcsh != MS-DOS.  The jpsoft stuff is as good or better than
                   tcsh for personalization mods like this and they're also
                   written specifically to upgrade DOS-heads to tcsh-like power
                   without having to relearn everything from scratch and rewrite
                   a zillion batch files.
                   \_ 4NT != MS-DOS.  More apropos, NT command prompt != 4NT.
                      Bonehead.
                      \_ Idiot.  He wants to set his prompt.  Read the fucking
                         message.  4NT will give him exactly what he wants
                                \_ Pay?  Who paid for it?
                   tcsh for personalization mods like this and they're also
                   written specifically to upgrade DOS-heads to tcsh-like power
                   without having to relearn everything from scratch and rewrite
                   a zillion batch files.
                         without learning anything new except for the new
                         prompt command nor requiring him to rewrite any
                         batch files.  You, Sir, are a moron.
                         \_ Setting a prompt is worth paying for a new shell?
                                \_ Pay?  Who paid for it?  There's a reason it
                                   hasn't had a new version in years.  Just
                                   download and use it.  If you want to get
                                   into a debate about the ethics of stealing
                                   trialware, go for it, but 4NT is still a
                                   perfectly good answer.  Go start a new
                                   thread if you want to flame me for lack of
                                   ethics.
2025/05/24 [General] UID:1000 Activity:popular
5/24    

You may also be interested in these entries...
2008/12/5-10 [Computer/SW/OS/OsX] UID:52174 Activity:kinda low
12/5    I suggest CSUA buy a Mac and run MacOS on it. Maybe run Linux in
        a VM, too. I think students will get more bang for their buck
        trying to run services on MacOS than with "Just Another Linux Box".
        \_ On what basis? We do have an AppleTV, which we've yet to hack
           so it runs full OS X, but as a OS X user myself, I don't see the
           OS being useful for useful services except if we get OS X server
	...
2007/7/17 [Computer/SW/Languages/C_Cplusplus] UID:47312 Activity:nil
7/13    CSUA Life Roster
1 point each for:                                               key:
                significant other (out of county rule applies)   G
                car (Chevy Novas do count)                       C
                housing (dorms DO NOT count)                     H
                own computer running reasonable multi-tasking OS U
	...
2007/4/13-16 [Computer/SW/WWW/Browsers] UID:46291 Activity:nil
4/13    I use IE7 to browse a web site, and the server says the UserAgent
        string is
        "UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; .NET
        CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)"
        Is MS bowing to the Mozilla community?
        \_ What are you talking about?  IE has always reported its UserAgent
	...
2006/7/26-30 [Computer/SW/OS/OsX] UID:43811 Activity:nil
7/26    Are there any good solutions for multiple simultaneous remote logins
        to a Mac? I'm currently using OSXVnc's recommended method, which is
        to run a separate VNC instance for each user and have everyone logged
        in through fast user switching, but that's both a nuisance to set up
        and a drain on resources. I'm looking for a better option.
        \_ If you needed multiple remote logins to a Mac, then Steve(tm) would
	...
2006/1/5-9 [Computer/SW/OS/Windows] UID:41250 Activity:nil
1/5     Heh.  Combining the power of Windows CE, Me and NT we have...
        Windows CEMeNT!
        http://photos1.blogger.com/blogger/5036/1165/1600/cement.0.jpg
        \_ That joke's--what--4? 5 years old?
           \_ thanks for posting; missed that 4 or 5 years ago.
	...
2005/6/27-28 [Computer/SW/OS/OsX] UID:38329 Activity:kinda low
6/27    For anyone who's owned a G5 running OS X (10.3 or 10.4), how often do
        you need to reboot if it's being used as a workstation?
        \_ Occasionally you will run into the Windows NT syndrome of the system
           needing a reboot for a system software patch - I'd say about once
           every couple of months on a stable release, and once or twice a
           month on a new one.  Other than that, I have never seen a piece of
	...
2005/6/2-3 [Computer/SW/Security] UID:37935 Activity:low
6/2     In the 'official' part of the motd it says ssh1 would be shut off,
        weeks ago no less, and yet it still seems to be on.  What up with that?
        \_ Whoever did the change neglected to restart sshd.  Fixed.  -jvarga
           \_ I just tried ssh from a Solaris machine to soda and I got "ssh:
              connect to host http://soda.csua.berkeley.edu port 22: Connection
              refused".  I tried both with and without the "-2" option.  Now if
	...
2009/12/9-2010/1/13 [Computer/SW/Unix] UID:53586 Activity:nil
12/8    Is there a bash equivalent to tcsh's history-search-backward ?
        \_ There's something similar called... history-search-backward. It
           is a bit more limited, in that it only searches for strings and
           not glob patterns. You may find reverse-i-search to be useful also.
	...
2009/8/18-9/1 [Computer/SW/Unix] UID:53284 Activity:nil
8/18    Is it possible to truncate your path name in your prompt in tcsh?
        Tsch veterans REPRESENT!  I know this is how to do it in bash:
        # truncate path: returns $1 truncated to $2 chars, prefixed with ...
        truncate_path () {
                if [ -z "$1" -o -z "$2" ]
                then
	...
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/1/20-26 [Computer/SW/Unix] UID:52420 Activity:low
1/20    I have a rather common shell-scripting problem, but I am not sure
        how to do it in csh/tcsh.  I want to check the ctime (last
        modified time) of a file.  If it is older than, let say, 1
        hours, do something, older than 3 hours, then do something +
        something else.  Any hints on how to do this?  do i need to
        convert it to epoch to perform such manipulation?  thanks
	...
2009/1/20-26 [Computer/SW/Languages/Java, Computer/SW/Languages/Misc] UID:52425 Activity:nil
1/20    I've been using tcsh as shell program tool (i know, bad shell to
        do scripting).  One thing I've noticed when I extract xml file
        is that the variable type automatically change from
        integer/string to... almost an array-like data structure when
        the output of the xml key/value is more than one (it's more
        like a string separated by space, but I was very impressed as
	...
2009/1/13-22 [Computer/Theory] UID:52367 Activity:kinda low
1/13    I am writing a commandline parser for a class and I could use some
        tips for algorithms to use. (The project is over and done so I am
        not cheating, but I am dissatisfied with my end result.) I STFW and
        didn't come up with too much I liked. I read the source for some
        shells like tcsh and that is *WAY* too complicated and relies on
        a lot of other code. I know that browsers and other apps have
	...
2007/10/9-11 [Computer/SW/Unix] UID:48269 Activity:nil
10/9    It's great that soda's been more or less up for the past few months,
        but I really hate Linux and all this gnu shit... ELinks, crappy vi,
        etc.  I miss links and a tcsh that works.
        \_ What's wrong with the current tcsh on soda?  Why don't you just ask
           root to install links or build it yourself?  Also, barring things
           that actually need to talk to the kernel, e.g. threading libraries,
	...
2006/10/30-11/1 [Computer/SW/Unix] UID:45041 Activity:high
10/30   My favorite command in UNIX is "cal". What is your favorite?
           \_ Nein, I vill be. A German and a Jerry, danke, und Heil! -John
              \_ PARSE ERROR. Are you on drugs again John?
                 \_ That's just my troll farm being rambunctious.  Use new
                    Extra Strength Troll-Gro for healthy and frisky trolls!
        \_ Based on frequency of use, gonna have to go with tcsh
	...
2006/9/1-3 [Computer/Networking, Computer/HW] UID:44235 Activity:nil
9/1     I want to add a quick and dirty alias for a server on my local machine.
        So instead of using some-really-long-host-name, I want to use srlhn:
        scp me@srlhn:foo
        But if I put that into /etc/hosts, it requires an IP address, and this
        server may be changing its IP address from time to time.  I'm not
        running DNS.  Any suggestions?
	...
2006/5/23-28 [Computer/SW/Languages/Perl, Computer/SW/Unix] UID:43168 Activity:nil
5/23    I'm trying to learn sh, bash, and csh programming. What's a good
        site that has sample syntax of the following ***psuedocode*** for
        each of the shells?
        foreach $file in (<dir/*>) do;
          echo I have file $file
        done;
	...
Cache (1900 bytes)
www.jpsoft.com
Take Command, and 10 4DOS make the C:\ prompt flexible and robust, and give you hundreds of new batch file tools as well! Familiar standard commands such as COPY and DIR are still fully supported, so you'll find them easy to use immediately without a long learning period. A thorough and extensive help system is instantly accessible to assist you at any time. Handle multiple files and directories with a single command, select files by date, time, or size, display names colored by type, and find files or text fast, anywhere on your workstation or even on remote machines. Use simple aliases to customize the built-in commands, or create new ones. For more serious scripting work, batch file extensions give you easy access to tools such as arithmetic calculations, system status variables, loops, functions and subroutines. These are just a few items from among the hundreds of improvements we've made to the traditional command line. For more examples and full technical details see our 11 complete product information or browse our extensive 12 Online Web Help. We offer 13 online ordering and a full 90-day money-back satisfaction guarantee on all products. We fully support all of our products through email, fax, phone, and mail. Download a 16 FREE copy of 4OS2, Take Command/16, or Take Command for OS/2. You can go directly to our 23 online store to place your order -- or see our 24 Upgrades page for more information. JP Software's FREE Technical Support is available online via a mailing list, a private newsgroup, and a convenient Web interface. Everyone is welcome to visit or join regardless of registration status. You can also review: 35 Online Web Help 36 Online Support Forum 37 Support Plans 38 Current versions 39 Reference (text) files 40 Contact Us Feedback, product suggestions, addresses and phone numbers. See our 58 Legal Notices and Trademarks and 59 Privacy Statements.