Hello
Am very new to linux/unix, workin in it since 10 days only. I had started with bash and now I need to work in tcsh. I have changed shell for my user profile using 'chsh'
I use gedit for script writing. Now in the first line if I write #!/bin/tcsh i get d msg
/home/usr/.cshrc: No such... (2 Replies)
All;
Thanks for reading.
I'm having a heck of a time with this cshell script that fires off an hp temperature monitor and rotates logs.
I keep getting
'/opt/temperature/temp.sh: line 22: syntax error: unexpected end of file'
when I try to 'sh /opt/temperature/temp.sh" it
--script... (3 Replies)
Hi folks
There are about 200 csh scripts (I didn't wrote them). Do all those scripts run with tcsh without modification? Is tcsh 100% compatible with the plain-old csh?
$ which csh
/usr/bin/csh
$ which tcsh
/usr/bin/tcsh
$ uname -a
SunOS purzelse 5.9 Generic_117171-07 sun4u sparc... (2 Replies)
Hi,
I type in my shell:
set prompt="(%M) %c%b%# "
to get something like:
a/b/c>
this works, but only partially.
every time I move to to a different directory (i.e. 'cd <some dir>'), the prompt is reset. Meaning, when I 'echo $prompt' after setting the prompt I get the correct prompt,... (8 Replies)
Hi, issue with my prompt, other gets their name, my comes with command number. Why?
{118} /home/markb > echo $SHELL
/bin/tcsh
{119} /home/markb > echo $SHELL
/bin/tcsh
{120} /home/markb >
my .cshrc has this....
set prompt="%{\0330;%n@%M : %~%L \007%} `pwd` >%{\033
... (3 Replies)
Hello,
I am writing a script that requires the user to enter a string of numbers:
ex: 134 345 865 903
This command only allows for one variable to be entered:
set "var" = $<
and than once I got the array I want to change it to a list with each input on a different line:
... (1 Reply)
Is it possible to change the color when doing an echo?
Example, having the following command print in dark blue.
echo "Hello"
---------- Post updated at 11:50 AM ---------- Previous update was at 10:25 AM ----------
Just figured out how to do it (2 Replies)
Discussion started by: kristinu
2 Replies
LEARN ABOUT DEBIAN
xtell
XTELL(1) General Commands Manual XTELL(1)NAME
xtell - sends a message to another computer running xtelld
SYNOPSIS
xtell [-v] [user[:tty][@host[:port]]] [message]
write user [tty]
DESCRIPTION
How to use it: suppose you want to send a message to user gubas on computer trener.fsport.uniba.sk Just type:
prompt:~% xtell gubas@trener.fsport.uniba.sk Hi
To send multiple lines long message to user 7tokarova at computer pascal.fmph.uniba.sk, type
prompt:~% xtell 7tokarova@pascal.fmph.uniba.sk
Hi
How are you today
Please answer
^D
in this case, finish sending messages with EOF (CTRL D)
If you want to send message to user holik on local computer, you can do it either by typing:
prompt:~% xtell holik@localhost Hi
or simply:
prompt:~% xtell holik Hi
To send message to certain tty, append the tty to username, separated by colon:
prompt:~% xtell stanys:ttyp2@reaktor.ip.fmph.uniba.sk 'Sveikas Tomai'
will send message 'Sveikas Tomai' to user stanys on ttyp2 at computer reaktor.ip.fmph.uniba.sk
To specify other port than the default 4224, append the port to computer name, separated by colon:
prompt:~% xtell bosa@radon.dnp.fmph.uniba.sk:4000 'Ahoj'
assumes the xtell daemon runs at computer radon on port 4000, and sends the message 'Ahoj' to user bosa.
Option -v turns verbose mode on. Xtell will then display some messgaes about connecting, which is usefull especially when the connection is
slow.
Example:
prompt:~% xtell -v rybar@dmpc.dbp.fmph.uniba.sk
xtell invoked without parameters will ask user for username and host to send the message to.
If the user has created in his/her/its home directory the file .xtell-log, and the file is writable by nobody, all messages will be written
to this file as well as to the screen (handy when the screen is overwritten and you could not see the message).
xtell checks the environmental variable XTELLPROMPT. If it exists, it is used as prompt for messages.
Last notice: if you do not think zsh is the best shell, (besides doing a mistake) replace prompt:~% in above text with prompt:~$ or what-
ever :-)
AUTHOR
Radovan Garabik (garabik@melkor.dnp.fmph.uniba.sk)
SEE ALSO xtelld(8), write(1), talk(1), talkd(8), tty(1)BUGS
What happens to .xtell-log when two messages arrive simultaneously? There is no locking implemented.
XTELL(1)