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

2001/12/5-6 [Computer/SW/Unix] UID:23145 Activity:moderate
12/5    Does anyone else have termcap problems using xterm from Solaris
        to Linux?  Any ideas how to fix it?  xterm -display solaris:0
        on the linix box works ok but I dont want to do that [low bandwidth].
        \_ Yes, I have 'set prompt="%S%/%%%s "' in my .cshrc, and when I rlogin
           from SusOS 5.7 to Linux 2.2.16-22, all the characters are inverted
           instead of only the prompt.
           \- there are display position problems and rev video problems
           even if you dont use the tcsh highlighting stuff. any remedies
           would be appreciated. --psb
        \_ If you use bash on solaris, upgrade to a newer version. They've
           apparently fixed some of the termcap problems. e.g. line editing
           with widths > 80.
           \- does emacs work cleanly for you? not for me. i dont think
           changing your shell will fixthe problem. --psb
        \_ what kind of termcap problems?  I usually export TERM=xtermc
           if it's the color you want.  you should probably be able to use
           ansi or at the very least vt100 --dwc
                \- hmm, using vt100 seems to work. tnx. --psb
        \_ apparently there have been some "holy wars" about how xterm termcap
           should work between debian linux and the rest of the world.  but
           it seems the new release of XFree86 has joined debian in this.
           \_ XFree86 xterm has many extensions (like color) not present in
                the http://X.org xterm used by the rest of the world.   Some linux
                distributions are rumored to have an 'xterm-sun' or
                'xterm-r6' termcap entry for the older one, or you can always
                compile the XFree86 xterm on Solaris.
        \_ Yet another reason why *nix isn't ready for the desktop.  Can't
           even get the basic stuff right and it varies across vendors.  If
           something ancient like xterm is causing geeks problems how does
           anyone seriously expect the rest of the system to be ready for
           prime time in the next century?
2025/05/24 [General] UID:1000 Activity:popular
5/24    

You may also be interested in these entries...
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/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.
	...
Cache (825 bytes)
X.org
j o i n t h e o p e n j o i n t h e XOrg Foundation Sponsors Organization XOrg Background Membership Requirements Join XOrg XOrg Interim Board Members XOrg Member Agreement XOrg By-Laws Press Releases Upcoming Events Contact XOrg Member Activities XOrg Repository Source Access - CVS View Release Information - WIKI Bug Reports - Bugzilla Security Reports Email Lists Scheduled Calls Upcoming Events Help Join XOrg Election Nomination (Members Only) Ongoing Projects Media Application Server - MAS Xinerama Accessibility Xprint Font Management Modularization RENDER XFIXES DAMAGE XEVIE Download Latest Release license terms and conditions MAS source code and binaries related downloads mirror sites Base Technology x protocol client-server design x server design the evolution of connectivity x resources related technologies