Search Results

Search: Posts Made By: scottwevans
1,379
Posted By scottwevans
How to Force a File Handle to Point to a New File?
My developer delivered a program which creates a time-stamped logfile and the only way the logfile rolls is with the size parameter in the log4j file. The user wants to be able to roll the logs...
713
Posted By scottwevans
Totaling a file full of numbers
I've got a csh routine that spits out a file with nothing but numbers - one per line. I'd like to be able to add to the script a routine which total all the lines in the file and then produce an...
1,671
Posted By scottwevans
MTU setting for IRIX
Couldn't find an IRIX forum, so I'm posting to this one...

Just had our SAs rebuild an IRIX machine and now I need to set the MTU to 1344 (vice 1500 default). I can set it manually using the...
6,169
Posted By scottwevans
Looking for an alternative to Tcl
I've created quite a collection of tcl scripts which have buttons, radio buttons, check boxes, text fields, etc. These tcl scripts in turn call and execute several hundred sh, csh, bash, perl scripts...
2,799
Posted By scottwevans
XP Professional SP3
XP Professional SP3
1,166
Posted By scottwevans
I hadn't even considered the ./-p approach. It...
I hadn't even considered the ./-p approach. It worked great. Thanks for the quick response.

-- Scott
1,166
Posted By scottwevans
Accessing a badly named directory
Someone in my group manages to name a directory -p. I'm not sure how they did it but it's there.

How can I access the directory or change it's name? I've tried to quote it (cd "-p"). I've tried...
2,799
Posted By scottwevans
Screen Lock Captures Desktop
Every time my system kicks into screen lock mode, it first takes a snapshot of the desktop and then uses that as the screen lock background. This wouldn't normally be much of an issue except it's on...
5,394
Posted By scottwevans
Position of a string using AWK
I'm plowing through a bunch of text (and I have to use awk) and need to identify which position a certain string is in. Consider the two lines...

UP BROADCAST RUNNING SLAVE MULTICAST MTU:1372 ...
57,943
Posted By scottwevans
Thanks! This is exactly what I was looking for. ...
Thanks! This is exactly what I was looking for.

Scott E.
57,943
Posted By scottwevans
bash if/then on a single line
Is there a way in bash to do an if/then on a single line?

I want to do embed a command into an ssh session and check on the existance of a directory and then create it if necessary. I was able to...
Forum: Red Hat 09-29-2010
15,648
Posted By scottwevans
ntp.conf vs. step-tickers
I've got two suites. Both suites have servers with a ntp.conf and step-tickers file. Both suites are running fine with respect to time. One suite of servers has empty step-ticker files, the other one...
Forum: Programming 06-30-2010
1,614
Posted By scottwevans
Need a "select all" feature in TCL
I hope this is simple... (I tried looking for help in the Shell Programming and Scripting thread, but got no responses.)

I have a TCL script which has several checkboxes. Is there a way to have...
Forum: Programming 06-29-2010
1,567
Posted By scottwevans
Looking for a "Select All" feature in TCL
I hope thi sis simple...

I have a TCL script which has several checkboxes. Is there a way to have one of the checkboxes be a "select all" and select/deselect all of the other boxes?

Can you...
1,294
Posted By scottwevans
Enabling X11Forwarding Remotely
When my developer installs a new build, all the servers have X11Forwarding turned off. I would like to write a script to execute from the main server in the suite and have it enable X11Forwarding on...
Forum: Solaris 05-20-2009
2,758
Posted By scottwevans
I was able to find where the "medium" font...
I was able to find where the "medium" font information is kept. I just went in and changed the definition of "medium" and made it "small".

The file I altered was /usr/dt/config/C/sys.resource
Forum: Solaris 05-18-2009
2,758
Posted By scottwevans
Saving Font Settings
I've written some tools that don't like the default font setting that come up with the Common Desktop Environment. (The text on the buttons looks like the dingbat character set.) The work around is...
4,982
Posted By scottwevans
Default fonts with Tcl and Tk
Our SAs just rebuilt all of our SunOS and Linux boxes. All the TCL tools I had developed will come up but the font is the dingbat font set. Unless I explicitly set each button, label, radiobutton,...
2,376
Posted By scottwevans
need help with creating dynamic tcl displays
I'm fairly new to tcl scripting and could use a little help. I have a simple list file that will be of unknown size (somewhere between 10 to 20 names). I'd like to create a gui that has a checkbutton...
3,736
Posted By scottwevans
capturing the most recent pid from csh
I'm trying to convert a script from bash to csh. The original script makes use of the $! variable to capture the most recent pid spawned from within the script. Is there an equivalent command or...
3,636
Posted By scottwevans
caputring most recent pid in c-shell
I'm trying to convert a script from bash to csh. The original script makes use of the $! variable to capture the most recent pid spawned from within the script. Is there an equivalent command or...
Showing results 1 to 21 of 21

 
All times are GMT -4. The time now is 06:06 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy