05-18-2005
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello Again,
Those that have noticed my earlier posts will know that I have succesfully installed Solaris 8 onto my pc. I haven't been able to get x-server working (i think it doesn't like my video card) though I've been able to log into root (with a bit of help from unix forums :o ) and have... (2 Replies)
Discussion started by: timresh
2 Replies
2. UNIX for Dummies Questions & Answers
telnet at my system is behaving stange. Some times I am able to telnet to other machines but sometimes it stop doing that. Then i have to reboot the machine and most of the time (not 100%) it works. SImilar is the case with SSH. Sometime it works , some time it don't. i am new to Unix and I do not... (1 Reply)
Discussion started by: deepak_pathania
1 Replies
3. HP-UX
Hi,
I do have three scripts. Whcih inserts records into a table using sqlldr, creating some reprot files etc. The first script will call the second and then the second will call the third. When I run my first script from the shell prompt, all my operation are completed successfully. If I do... (23 Replies)
Discussion started by: risshanth
23 Replies
4. Shell Programming and Scripting
Hi all,
I'm trying to generate a series of txt files starting from a plain csv file
part of my code:
#!/bin/ksh
INSTALLDIR=/Users/ME/Installdir
CSV=CSV.csv
TMP=/tmp/$(basename $0).txt
tr -s "\r" "\n" < /$INSTALLDIR/$CSV > $TMP
function Makefiles
{
printf '%24s:%30s\n' "sometext"... (1 Reply)
Discussion started by: Jive Spector
1 Replies
5. UNIX for Advanced & Expert Users
Hi All,
Can any one help me to solve the issue.
The Issue is, i have started the sendmail service on my RHEL 4 update 6 box, I am able to send the mail from my box to almost all of the Email Id's except few.
Exampe,
test mail.
.
Output is :the message is sent.
now if I send the... (2 Replies)
Discussion started by: akhtar.bhat
2 Replies
6. Shell Programming and Scripting
Hello Everyone,
I'm very new to the shell script. I'm trying to send multiple attachments in unix using uuencode command.
Total I have 3 text files which should be send in mail.
but I'm getting 6 files and 3 files with subject as file name. And the content is
`
end
I'm working... (6 Replies)
Discussion started by: narikivar
6 Replies
7. Linux
Hi,
I am trying to enable rexec to automate certain tasks(it has to be rexec, not ssh or any other due to the system environment), so after switching to linux, I followed the certain instructions that were laid out in the web.
My operating system is fedora 17, so I first installed the... (1 Reply)
Discussion started by: wringer
1 Replies
8. Shell Programming and Scripting
Platform: RHEL 5.4
In the below text file I have strings like following.
$ cat /tmp/mytextfile.txt
DISK1
DISK10
DISK101
DISK102
DISK103
DISK104
DISK105
DISK106
DISK107
DISK108
DISK109
DISK110
DISK111
DISK112
DISK113
DISK114 (8 Replies)
Discussion started by: kraljic
8 Replies
9. Shell Programming and Scripting
I want to join two files , with file 1 col 3 and file 2 col 1 as key.
The join command is erratic for some reason. File 2 is a master file having all the names, and file 1 has some values. I want to add the names from fil2 in file 1. If I use the original master file, some output is missing.
... (16 Replies)
Discussion started by: ritakadm
16 Replies
10. Shell Programming and Scripting
I'm using an Ubuntu machine and expansion is not working properly. What would cause this? Do I need to check for any particular bash packages?
$ ipcs -m | grep $USER | awk '{printf "%s ",$2}'
$ ipcs -m | grep UNF | awk '{printf "%s ",$2}'
294912 1048577 425986 688131 786436 1245189... (14 Replies)
Discussion started by: cokedude
14 Replies
LEARN ABOUT REDHAT
xmscalesetticks
XmScaleSetTicks(library call) XmScaleSetTicks(library call)
NAME
XmScaleSetTicks -- A Scale function that controls tick marks
SYNOPSIS
#include <Xm/Scale.h>
void XmScaleSetTicks(
Widget scale,
int big_every,
Cardinal num_medium,
Cardinal num_small,
Dimension size_big,
Dimension size_medium,
Dimension size_small);
DESCRIPTION
XmScaleSetTicks controls the number, location, and size of the tick marks on a Scale. Each tick mark is a SeparatorGadget oriented perpen-
dicular to the Scale's orientation. For example, if the Scale is oriented horizontally, the tick marks will be oriented vertically.
If you specify tick marks for a Scale and then change the Scale's orientation, you will have to do the following:
o Remove all the tick marks. To remove tick marks from a Scale, you must destroy (with XtDestroyChildren) the SeparatorGadget tick
marks. The first two children of a Scale are its title and scroll bar, and all additional children are tick marks.
o Recreate the tick marks by calling XmScaleSetTicks.
scale Specifies the Scale widget ID that is getting the tick marks.
big_every Specifies the number of scale values between big ticks.
num_medium
Specifies the number of medium ticks between big values.
num_small Specifies the number of small ticks between medium values.
size_big Specifies the size (either width or height) of the big ticks.
size_medium
Specifies the size (either width or height) of the medium ticks.
size_small
Specifies the size (either width or height) of the small ticks.
For a complete definition of Scale and its associated resources, see XmScale(3).
RELATED
XmScale(3).
XmScaleSetTicks(library call)