Programming :: Send Message To Display And Get Feedback [tcsh Script]?

Jun 23, 2011

I want to write script at "tcsh" that send message to user ($DISPLAY) and let him to answer me.below command line that open xterm at any user displayQuote:setenv LESS "P'HIT q TO QUIT'"/usr/bin/xterm -display $USER_DISPLAY -geometry 60x7 +sb -rv -e less ./MESSAGE_FILEpressing "q" will close the window.there is any way to press "r" ->
new window will open ->user write a feedback ->message will send back to sender.

View 11 Replies


ADVERTISEMENT

Programming :: Send A Message From IP To Another IP Through Command Prompt?

May 24, 2010

I want to send a message from IP to Another IP through command prompt. how can i do this.s

View 3 Replies View Related

Programming :: Periodically Send Message To Client?

Jun 14, 2010

i have a client and server program in C. in that program server is requesting some parameters from client (like systems up time, total memory, no of process running etc).for this i used switch statements. but the problem i am having with this is that,
1. it is always going in default case on client side.2. and i also want my program to send requests/messages to client periodically. means after some interval (say after every 2,3 mins) server sends next request to client.

View 3 Replies View Related

General :: Can't Connect To Display After Switching From Bash To Tcsh After Login

Aug 11, 2010

Can't seem to use tcsh as my login shell under CentOS 5 as I used to (if I specify /bin/tcsh as my start-up shell, the windowing system doesn't come up), so am logging in under bash then switching to tcsh on top of that, but it won't allow display access from tcsh for my programs. Gives the "cannot connect to display" error that usually xhost + is the solution for, but xhost doesn't help in this case (won't even run under tcsh, says unable to open display "0.0"). $DISPLAY is set in .cshrc. Must be something simple, but can't seem to find a direction to head?

View 2 Replies View Related

Programming :: Send Password Window To User Display?

Jul 6, 2011

How can i send a password window to display?

View 2 Replies View Related

Fedora Security :: Send An Email Using Evolution The Message Was Not Sent But Returns A Error Message?

Apr 30, 2009

Hi I am running a fedora 10 desktop. when i send an email using evolution the message was not sent but returns a error message:"Error while performing operation.DATA command failedError: 550 Viagra SPAM - Hi in Subject" and the message did not have an attachment just plain words. what might have gone wrong for i have been using this for sometime without a problem. or what security measures should be in place to remove this viagra spamAm I infected by virus on this fedora, all my updates are up to date.

View 1 Replies View Related

Programming :: Temperature Converter In C - Feedback?

Sep 24, 2010

I'm a C newbie. Just wrote this temperature converter. I know it's very basic but, as it is, is there anything wrong with it? any things that are done incorrectly? It seems to work fine.

Code:
#include <stdio.h>
int main(void)
{
float fahr, celc, result;
int choice;

[Code]...

View 10 Replies View Related

Programming :: Tcsh: Pushd + Popd In One Function

Jul 3, 2010

I really like pushd and popd, but I don't like their long spellings, so I made aliases: 'x' runs pushd and 'xx' runs popd. That's not bad, but I wish I could improve them in the following way:

x => If followed by a path, 'pushd' (and cd to) that path. If not given any arguments, run 'popd'.

xx => 'cd -'

The problem is implementing that pushd/popd in one command trick. Since tcsh does not have functions, I've been struggling hard to come with a solution. I made a script, and it works, but it only works within the context of the script. The script exits and not only am I still sitting in the same directory, but also my dirstack is emptied.

A similar problem: make 'cdd'. I remember using that program in DOS a long time ago. I would run 'cdd /path/to/directory' and cd to that path if it existed, or create it and cd to it if it didn't exist. Again, I made a script, but that only works within the context of the script, not my current shell. So the new dir is created, but my shell won't cd into it.

View 1 Replies View Related

Programming :: File Size Not Properly Checked In A Tcsh Script.

May 7, 2011

The check on the size of a file I perform in a tcsh script does not work. The size of my file is the following :

ls -l File.gpg
-rw-r--r-- 1 xuo users 3354637392 2011-05-07 15:31 File.gpg

The script is the following :

#!/bin/tcsh -f
set listOfEncryptFiles = `ls *.gpg`
foreach file ($listOfEncryptFiles)
set fileSize = `stat -c %s $file`
echo $fileSize

[Code]....

View 6 Replies View Related

General :: KMail's Message List - Change Message List Display?

Jul 20, 2009

KMail 1.11.4, KDE 4.2.4: I'm migrating from WinXP to Mandriva, and installed KMail at the weekend. Works fine, but I have a niggle - the message list displays headers grouped by month order. I'd like the option of having a simple list (no groups), and suspect that it could be done - but I haven't been able to find out how. I've checked in the Handbook without success, and a search in LQ hasn't turned up anything yet.Any suggestions gratefully received. If this isn't the right place for a KMail query,

View 1 Replies View Related

Debian :: Send A Message To Another Host?

Dec 8, 2010

I have been trying to send some messages from my Debian GNU/Linux to my Canaima GNU/Linux, i have tried with write: write user@host

But it says user is not logged in, apparently the write daemon have to be running in both machines to do this.

And i wanted to use talk, but i should install it in both machines ¿?

The thing is that i have like 10 machines i wanted to send messages to, but i cant find an easy way to do this.

Is there any other way i am missing? or it has to be the "hard" way

View 1 Replies View Related

Ubuntu :: Can't Send Message To Newsgroup Alt.os?

Apr 8, 2011

I'm using Thunderbird under Ubuntu Lucid Lynx. I'm managing to send messages to other newsgroup but not to alt.os.linux.ubuntu. It says:"A News (NNTP) error occurred: You are not allowed to post to alt.os.linux.ubuntu". Does somebody know what is wrong and how do I enable sending messages to this newsgroup?

View 3 Replies View Related

Networking :: Send A Message To Another Computer?

May 31, 2009

if i want to send a message to another computer? or get access to another system? what computer knowledges should i know? or what techniques should i learn?

View 2 Replies View Related

General :: Send A Message Using The Kannel 1.4.3?

Mar 4, 2011

i am new to using linux and am doing an application to send sms using the kannel? my problem is that i dont know where to get my url for the sendsms?in the mean time i have tried:-http://192.168.9.93:13013/cgi-bin/se...assword=foobar

View 1 Replies View Related

Software :: Send A New Message With Kopete?

May 28, 2010

but i don't see how you can send a new message to someone using kopete.I use kopete with only my aim account. I want to be able to send a message to someone who is not on my buddy list.If they're on my buddylist, its easy to send a message, but nowhere in the program does it allow you to send to someone not on your buddy list

View 3 Replies View Related

Ubuntu Networking :: How To Send Message In Terminal

Mar 24, 2010

how to send message in terminal

View 5 Replies View Related

Ubuntu :: Using The Terminal To Send Message Alerts?

May 14, 2010

how to send a message alert from the terminal?

View 1 Replies View Related

Ubuntu Networking :: Send Message To Computers On LAN

Nov 30, 2010

if there is a way to send a message to computers connected to the LAN? I tried to install linpopup but I only got the message E: Unable to locate package linpopup.

View 2 Replies View Related

General :: Send Message To Other User In Shell?

Jun 22, 2009

how can i send message to other user in shelli try use write before but it say permission deny from user

View 2 Replies View Related

General :: Send Message To All Users Wishing Them?

Nov 14, 2009

How to send message to all users wishing them "Good Morning"

View 2 Replies View Related

General :: Send Message Via Terminal In Windows?

Dec 6, 2010

How to send message via terminal in windows or linux?

View 4 Replies View Related

Software :: Dbus Reject Send Message?

Aug 4, 2009

I encountered a problem when send dbus method call message.Program A which runs as root user provides system-wide dbus service interfaces.When another program B with root permission send method call message to A,It received the error info:Error org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 1 matched rules; type="method_call", sender=":1.41" (uid=0 pid=3397 comm="dbus-send --system --print-reply --type=method_cal") ...But when I run prgram B in generic user permission,localmachine for example,it success to send message.It confused me all the day.

View 2 Replies View Related

Debian Multimedia :: Send A Message To Other User With Ssh And Notify That?

Jun 14, 2011

Let's say there are machines A and B. user1 is on machine A, and has access to machine B through ssh (also as user1). user2 is sitting at machine B (let's say in Gnome session). And user1 has sudo access on machine B. How can user1 send a message to user2 (so it should appear on user2's desktop) with notify-send? code...

This doesn't work. I get in result:
(notify-send:28676): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
What else should be done to make it work? (trying it on current Debian testing).

View 3 Replies View Related

General :: How To Send Message To Local User Logged Into X11

Jul 13, 2011

Is possible to send a message (popup window or something) to local user logged into X (xdm, fluxbox) from console ? For example: user1 is logged and using X/fluxbox, user2 logging into the same box by ssh to console. Now - what user2 have to do to send message to user1 ?

View 1 Replies View Related

Ubuntu Networking :: Send A Broadcast Message To All Users?

Jan 11, 2010

I'm looking for a solution to broadcast messages on the network. All systems are Linux / Ubuntu.

It would be used in case the server has to be rebooted. It saves me a walk to every office in the building.

View 9 Replies View Related

Ubuntu Networking :: Send Message Through Terminal With Smbclient?

Apr 26, 2010

i am trying to send message through terminal with smbclient, i have searched the net and found this command

Code:
smbclient -M <hostname>
now i am confused on hostname, which i open the network folder i see to icons
1. is my laptop
2. Windows Network

when i enter Windows Network folder i see 2 more icons
1.MSHOME
2.WORKGROUP

and when i enter MSHOME folder i see one icon 1. MIRZA-SAAD this is the computer which has xp in it i want to send message to it with smbclient now how when i write this command i see this error

Code:
amir@amir-laptop:~$ smbclient -M //MSHOME/MIRZA-SAAD/
Connection to //MSHOME/MIRZA-SAAD/ failed. Error NT_STATUS_BAD_NETWORK_NAME

View 7 Replies View Related

Ubuntu :: Send A Message To A Computer Which Is Connected To Internet?

Jun 15, 2010

I would like to send a pop-up message to a computer using its ip address which is connected online,how it can be done..?

View 9 Replies View Related

Networking :: Dbus-daemon: Rejected Send Message?

Apr 10, 2009

Each time after boot, I have to wait for proximately 2 minutes before Firefox starts showing any web pages. I believe the delay is caused by the following issue: Code: Apr 7 21:03:18 linux-kr6c nm-dispatcher.action: cript '/etc/NetworkManager/dispatcher.d/netcontrol_global_hooks' exited with error status 1.Apr 7 21:03:18 linux-kr6c nm-dispatcher.action: cript '/etc/NetworkManager/dispatcher.d/nfs' exited with error status 2.
Apr 7 21:03:18 linux-kr6c dbus-daemon: Rejected send message, 14 matched rules; type="method_return", sender=":1.50" (uid=0 pid=3132 comm="/usr/lib/NetworkManager/nm-dispatcher.action ") interface="(unset)" member="(unset)" error name="(unset)" requested_reply=0 destination=":1.5" (uid=0 pid=2097 comm="/usr/sbin/NetworkManager "))
Apr 7 21:05:39 linux-kr6c ntpd[3500]: ntpd 4.2.4p4@1.1520-o Mon Jan 19 14:44:51 UTC 2009 (1)Apr 7 21:05:39 linux-kr6c ntpd[3501]: precision = 1.000 usec I have no idea what my machine is doing, but it seems as nothing is happening between 21:03:18 and 21:05:39.

View 5 Replies View Related

General :: Send Color Message To All Users With Wall?

May 21, 2010

How to send color message to all users with wall.

View 1 Replies View Related

General :: Send Message On Evolution From Mail Client

Jan 14, 2011

I am able to reieve message but not able to send message on evolution from my mail client. evolution gives the error as: PHP Code: Cannot get message 1285571362.20345.mail312.opentransfer.com,S=1928: Input/output error 

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved