Alert Notification from Terminal


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Alert Notification from Terminal
# 8  
Old 11-09-2010
Well, it might be there and not in the path. Or, you may be in a text only terminal with no standard gui apps. Can it do
Code:
find / -name xterm -type f

# 9  
Old 11-09-2010
Yep it can:
Code:
/private/var/stash/share.JAR6on/terminfo/x/xterm

---------- Post updated at 07:22 PM ---------- Previous update was at 07:18 PM ----------

Gave this a shot:
Code:
/private/var/stash/share.JAR6on/terminfo/x/xterm -e ksh -c 'echo hello;sleep 9'
-sh: /private/var/stash/share.JAR6on/terminfo/x/xterm: Permission denied

no luck

---------- Post updated at 07:46 PM ---------- Previous update was at 07:22 PM ----------

tried copying the file to the tmp dir and changing the permissions to allow me to run it:
Code:
root# /tmp/xterm -e ksh -c 'echo hello;sleep 9'
-sh: /tmp/xterm: cannot execute binary file

no cigar
# 10  
Old 11-09-2010
That file is probably part of the terminfo database for the terminal type "xterm" not the xterm executable.

Code:
$ file /usr/bin/xterm
/usr/bin/xterm: PE32 executable for MS Windows (console) Intel 80386 32-bit

$ file /usr/share/terminfo/x/xterm
/usr/share/terminfo/x/xterm: Compiled terminfo entry


Last edited by Chubler_XL; 11-09-2010 at 11:27 PM..
# 11  
Old 11-10-2010
Yes, terminfo has so many terms it upset old UNIX dir limits, so they made a dir per letter.

Either you have to install X or they use a different facility to make local text windows. Do you have a 'ps -fp $$' to see your own terminal?
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Cybersecurity

**ALERT**ALERT* Whats app requesting users to upgrade to latest version as; its vulnerability found.

Hello All, Want to share here an article for Whats app users that team whats app is requesting users to upgrade to its latest version since they have found a vulnerability; where Hacker could turn on a cell's camera, mic and scan messages and emails. Here is an article from "THE VERGE" for... (1 Reply)
Discussion started by: RavinderSingh13
1 Replies

2. Shell Programming and Scripting

Print Terminal Output Exactly how it Appears in the Terminal to a New Text File

Hello All, I have a text file containing output from a command that contains lots of escape/control characters that when viewed using vi or view, looks like jibberish. But when viewed using the cat command the output is formatted properly. Is there any way to take the output from the cat... (7 Replies)
Discussion started by: mrm5102
7 Replies

3. Shell Programming and Scripting

Cannot get terminal application to launch with a graphical launcher when successful in terminal

I have been having an extremely annoying problem. For the record, I am relatively new at this. I've only been working with unix-based OS's for roughly two years, mostly Xubuntu and some Kali. I am pretty familiar with the BASH language, as that's the default shell for debian. Now, I've made this... (16 Replies)
Discussion started by: Huitzilopochtli
16 Replies

4. UNIX for Dummies Questions & Answers

Does DOS has a terminal or pseudo terminal?

I am wondering if the DOS console works like the unix terminal? (1 Reply)
Discussion started by: vistastar
1 Replies

5. UNIX for Advanced & Expert Users

if up notification

Hello experts, I have a requirement of notifying my application everytime a network interface is brought up. My application supports Various Unix flavours e.g. RHEL, SLES, AIX, Solaris and Mac OS. I know that SLES supports /etc/sysconfig/network/if-up.d hook scripts that run once an interface is... (2 Replies)
Discussion started by: GajendraSharma
2 Replies

6. UNIX for Dummies Questions & Answers

Gnuplot wxt terminal vs x11 terminal

Hi, I installed ubuntu recently on my pc. And I installed gnuplot as well. When I first started working with gnuplot it was working . I did a plot and when I wanted to fit my data something happened and not the default terminal of gnuplot is xwt! I changed it to: set terminal x11, but it... (0 Replies)
Discussion started by: cosmologist
0 Replies

7. UNIX for Advanced & Expert Users

Pseudo-terminal will not be allocated because stdin is not a terminal.

I am trying to automate a SSH login using Keys using the following command ssh -i id_rsa usernamw@ipaddr. I am successful in doing this and i am getting the Warning Screen and I logon successfully. but when I am executing the command tail -1cf put.dat | ssh -i id_rsa username@ipaddr > get.dat ... (1 Reply)
Discussion started by: Shivdatta
1 Replies

8. UNIX for Dummies Questions & Answers

ALERT!!! ALERT!!! I messed up the UNIX!!!

Hello If you want a short description read my last thread! I have no root access anymore. No remote access! By user access i get a programm started and when i close it, i got logged off! So I guess I messed up the passwd file! is there a chance of booting a unix system (SCO-UNIX UnixWare... (15 Replies)
Discussion started by: Fwurm
15 Replies

9. UNIX for Advanced & Expert Users

connecting to unix through hyper terminal - as a dumb terminal

I just changed from windows NT to XP and I am no longer able to connect to my unix system. I used to use hyper terminal -- which acts as dumb terminal to my main frame unix system. I think one of the options used to be "direct to comX". This option isn't listed now. I use a serial port and the... (2 Replies)
Discussion started by: michelle
2 Replies
Login or Register to Ask a Question