Search Results

Search: Posts Made By: rm-r
Forum: HP-UX 10-02-2014
2,634
Posted By rm-r
I'm using CRT from VanDyke Software. I used a...
I'm using CRT from VanDyke Software. I used a good old Windows Telnet session to access the HP box and ran my kill. The screen did not go blank. SO, yes, that is a terminal emulator issue with CRT....
Forum: HP-UX 09-29-2014
2,634
Posted By rm-r
Could someone running HP-UX please run my test...
Could someone running HP-UX please run my test above and let me know if you also get the blank screen.

I am starting to wonder if my terminal emulator is not the culprit here.

Thanks.
Forum: HP-UX 09-28-2014
2,634
Posted By rm-r
The script is quite short. It receives the Unix...
The script is quite short. It receives the Unix pid to be killed and executes the "kill -HUP $1". When I execute the kill command at the Unix prompt it gives the same result. This is called from an...
Forum: HP-UX 09-26-2014
2,634
Posted By rm-r
Get blank screen when killing a UNIX session on HP-UX
Hi,
I have this Unix script that kills a user session. When I run it, my screen goes blank. How do I prevent the blank screen?

Ex: I open 2 Unix sessions. The main PID for my 1st session is 1234....
Forum: Programming 03-21-2014
2,882
Posted By rm-r
From inside is what I was looking for. Your help...
From inside is what I was looking for. Your help has been real helpful. Thank you very much Corona688!
Forum: Programming 03-21-2014
2,882
Posted By rm-r
Coronna688 - Sorry for not posting the errors....
Coronna688 - Sorry for not posting the errors. This actually works now!
The GID is the value I was looking for.
Thanks a bunch :-)

MadeInGermany - I didn't know how to read Unix environment...
Forum: Programming 03-21-2014
2,882
Posted By rm-r
Thank you Cororona688. I tried compiling your...
Thank you Cororona688. I tried compiling your code snipit but I get errors. My C compiler (ie: I'm running HP-UX) is probably incompatible.

How about this:
- I know the Unix command to obtain a...
Forum: Programming 03-21-2014
2,882
Posted By rm-r
Help with getuid
I'm not that acquainted to C programming and would like to know how to obtain the internal Unix userid of a user (I'm on HP UX) and stro it in a variable.

I found the getuid() fonction returns the...
3,408
Posted By rm-r
Mirni - plink is my second choice. Being freeware...
Mirni - plink is my second choice. Being freeware (hence not supported or guaranteed against virus intrusion) I am reluctant to introduce this product into our development environment. We use...
3,408
Posted By rm-r
You may well be right about this command being...
You may well be right about this command being intended to be used against other Windows servers... I have quoted the error message in my previous post.

I am using Windows 7. I've remotely run...
3,408
Posted By rm-r
I can connect with the plink.exe utility, But the...
I can connect with the plink.exe utility, But the Windows "winrs" command doesn't work. The -v option is not valid with winrs. By default, verbose is tunred on. Here's the error message I get:
...
3,408
Posted By rm-r
Yes I have another Unix server I can use. I...
Yes I have another Unix server I can use.

I was able to remotely connect from one Unix server to the other, using the "ssh" command. It worked on the first try... I love Unix!
3,408
Posted By rm-r
Need help configuring SSH on HP-UX
Can someone show me the basics on configuring SSH on Unix so I can access my Unix account remotely from Windows 7. Basically, I want to fire some scripts remotely.

I've already posted a thread on...
4,095
Posted By rm-r
To Bandit390: Simple and effective - sometimes...
To Bandit390: Simple and effective - sometimes simple things are just too obvious to be seen.
To cfajohnson: This does the trick. I never used the 'eval' command. I just learned something.
Now my...
4,095
Posted By rm-r
Standard output redirection from a variable
Hi, trying to store a comand involving a redirection in a variable and then run this variable. But the redirection gets lost.

Ex:
#!ksh
MYCMD="ls -l > dirlist.txt"
$MYCMD

This runs the...
20,046
Posted By rm-r
Thanks all. Era, I followed one of the links...
Thanks all.

Era, I followed one of the links per your indications and found what I needed in a 3-2-2005 thread.


The "read -t" doesn't work for me (we don't have the correct ksh version).
...
20,046
Posted By rm-r
How to timeout the "read" command
I have a script that at some point will ask the interactive user a question:
#!/bin/ksh
echo "What is your access code?"
read ans
...

Sometimes this script is run by other scripts and there...
8,307
Posted By rm-r
I had a similar issue recently and found that I...
I had a similar issue recently and found that I could use the "return" command and it wouldn't kill my session.
ex:
return 10

This is under ksh.
3,607
Posted By rm-r
Jim, My "ps" command was wrong. Here's what I...
Jim,
My "ps" command was wrong. Here's what I get when I type the command decently:
->ps -ef
root 25344 1 0 Mar 7 ? 0:15 /openedge/dlc/bin/_mprosrv
root 2284 1 0 Feb 13 ?...
3,607
Posted By rm-r
Wouldn't this be nice if HP UX could identify...
Wouldn't this be nice if HP UX could identify zombie processes and just tell me like this...



Sorry I'm not familiar with this. Here's what ps -ef looks like to me:
->ps -f
UID PID ...
3,607
Posted By rm-r
Yes, zombie. Sometimes the RF units will go out...
Yes, zombie. Sometimes the RF units will go out of range of the wi-fi routers. This causes the Units to disconnect from the system. Most of the times Unix will see they are no longer active and shut...
3,607
Posted By rm-r
Identifying RF users
HP-UX
All,
I work in a manufacturing environment where some users connect to our Progress-based system with wireless RF units (Bar-code). Sometimes they go out of range and get disconnected but...
15,244
Posted By rm-r
Yes. And it worked!! You the man :b: Thanks...
Yes. And it worked!! You the man :b:

Thanks for your help. It is very much appreciated.

Réal
15,244
Posted By rm-r
Thanks for the tip - I never tried man on ksh -...
Thanks for the tip - I never tried man on ksh - kool :)

Unfortunately either "$@" or "$*" produce an unquoted double space :confused:

How about trying to replace this double space with [space]...
15,244
Posted By rm-r
How do you man "$@" ? It gives me errors: ...
How do you man "$@" ? It gives me errors:

->man "$@"
sh: @: Parameter not set.

Thanks,

Réal
Showing results 1 to 25 of 30

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