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/7/4-9 [Academia/Berkeley/CSUA, Computer/SW/Security] UID:53109 Activity:nil | 7/4 I'm accessing soda by typing ssh -X jhcooper@csua.berkeley.edu
at a Linux prompt. At the soda prompt, I can type "xmessage hello &",
and I get a nice little greeting from myself popping up on my display.
But if I type xterm &, the process runs ok, but nothing appears on
my screen. What am I doing wrong?
\_ Works just fine for me... try turning on SSH debug with -v ?
...
|
2009/5/21-29 [Computer/SW/Unix/WindowManager] UID:53028 Activity:nil | 5/21 I would like to implement an auto-logout feature for my gnome users
who happen to not log themselves out, thus causing me, and especially
my supervisor, pain. Please advise, cohorts. I would like the
entire gnome session signed out, not just an individual xterm,
so "export TMOUT=[SECONDS]" in a .bashrc will not work.
...
|
2009/2/20-25 [Computer/SW/OS/Windows] UID:52610 Activity:nil | 2/20 I'm using Cygwin/X on XP. All the X indows (xterm, emacs)
seem to have a keyboard repeat rate and a repeat delay that's different
than the one XP uses for other Windows apps. When I do "mode con
rate=xx delay=yy", it only changes Windows apps but not the X apps.
How do I change the keyboard repeat rate and delay for X? Thanks.
\_ man xset
...
|
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,
...
|
|