![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| dialog menu script. please HELP | claudlu | Shell Programming and Scripting | 2 | 05-04-2008 07:11 AM |
| html problem: get file name dialog exists? | f33ldead | Shell Programming and Scripting | 0 | 02-25-2008 05:48 PM |
| perl progress bar dialog | fed.linuxgossip | Shell Programming and Scripting | 4 | 09-18-2007 07:40 AM |
| dialog output | dhinge | UNIX for Dummies Questions & Answers | 2 | 11-30-2006 10:20 AM |
| two computers - one modem | Pennywize | UNIX for Dummies Questions & Answers | 3 | 11-27-2002 02:37 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#15
|
|||
|
|||
|
As an aside and for comparison, the way this works on Windows is it has a "Messenger" service that is sitting waiting for messages on the LAN. This is woken up by messages sent with "net send".
|
| Forum Sponsor | ||
|
|
|
#16
|
||||
|
||||
|
Quote:
Try moving it to the end of the line? [edit] Also, if you can open it on display 0 just by logging in over there - why not open it remotely? (ie DISPLAY=test004:0 ; export DISPLAY ; Msg "message here" &) [/edit] |
|
#17
|
|||
|
|||
|
see that is what i was looking for something like what you posted. thanks i will give that a try
|
|
#18
|
|||
|
|||
|
ok this is what i have this far
#!/bin/sh LAST=`/etc/hosts | awk '{print $1}'` for x in $LAST ; do rsh ${x} `cd /h/test/bin`; DISPLAY=test004:0; export DISPLAY; Msg "message here" & |
|
#19
|
|||
|
|||
|
this is what is am getting now
sh: DISPLAY=test004:0.0: is not an identifier what does that mean this is what i did list="01 02 03 04" for x in $list ; do echo $x rsh test0${x} export DISPLAY=test0${x}:0.0 rsh test0${x} /h/test/Msg "test test" done and it returns the line above with that error |
|
#20
|
|||
|
|||
|
Quote:
wouldn't the following be better? Code:
for x in $list
do
echo $x
rsh test0${x} <<EOF
DISPLAY=test0${x}:0.0 /h/test/Msg "test test"
EOF
done
|
|
#21
|
|||
|
|||
|
how do i check if it is 0.0?
$DISPLAY ? what is EOF? |
|||
| Google The UNIX and Linux Forums |
| Tags |
| export display, inappropriate ioctl for device |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|