[daip] Problems about open MSGSVR windows and how pop up tv window and reinstall
Eric Greisen
egreisen at nrao.edu
Tue Mar 5 16:01:16 EST 2019
On 03/01/2019 08:21 AM, 肖 黄飞 wrote:
> Dear Sir/Madam,
>
>
> Thanks for reading my queries email. I'm a student from Shanghai
> Astronomical Observatory(Shao), China. I encountered some problems with
> my AIPS in (Ubuntu 18.04) Linux. After reading FAQ and HELP(when
> running) and trying to looking helps from Cook Book, I still have no
> ideas to deal with these problems. I hope I can attain assistance from
> you, thanks again! The problems are put as followings.
>
>
> 1. Showing as the screen-snap, there is only a pop up window, tv, and
> nothing. But there should be a message window and other windows(?)
> simultaneously after I input and run command "aips tv=local", my tutor
> told me. BUT, For environment setting, I have put "
what do you mean by pop-up window?
>
> # set environment for AIPS
> AIPS_ROOT=/home/xiaohuangfei/astro/AIPS
> export AIPS_ROOT
> . $AIPS_ROOT/LOGIN.SH
> export AIPS_MSG_HOLD=YES
>
> "
>
> in my .bashrc file and also put"
>
> sssin 5000/tcp SSSIN # AIPS TV server
> ssslock 5002/tcp SSSLOCK # AIPS TV Lock
> msgserv 5008/tcp MSGSERV # AIPS Message Server
> tekserv 5009/tcp TEKSERV # AIPS TekServer
> aipsmt0 5010/tcp AIPSMT0 # AIPS remote FITS disk access
> aipsmt1 5011/tcp AIPSMT1 # AIPS remote tape 1
> aipsmt2 5012/tcp AIPSMT2 # AIPS remote tape 2
> aipsmt3 5013/tcp AIPSMT3
> aipsmt4 5014/tcp AIPSMT4
> aipsmt5 5015/tcp AIPSMT5
> aipsmt6 5016/tcp AIPSMT6
> aipsmt7 5017/tcp AIPSMT7
>
> "
>
> in the /etc/services file following as the FAQ said. So finally I have
> no idea how to solve this issue...
>
I am not entirely clear on what the problem is. If you have a terminal
window (i.e. an xterm or some other) and you type aips tv=local, then
2 new windows should appear. One is the TV labeled AIPSTV-UNIX-1 and
the other is an xterm labeled AIPS_MSGSRV_1. There is a 2nd xterm which
comes up in icon form labeled AIPS_TEKSRV_1. If the MSGSRV window does
not appear, perhaps you have an issue with xterms. Try the command
xterm %
A window should appear into which you may type. If it does not, then
you do not have the function normally provided by the program called
xterm on which the message server and TEK server depend. Note that many
users do not like the message server and kill it when it comes up. Task
and verb messages will then appear in the terminal window in which you
started aips.
The /etc/services fix which you did allows you to use internet TV
instead - simply say aips without the tv=local. For a single computer,
either is fine and tv=local usually has fewer problems.
>
> 2. If I click the close button on the right of tv window, is there any
> operation(command) for me to open this window again? (This is a bit like
> I don't know how to pop up the message window.)
If you click on the close button in the XAS window, you kill XAS
completely and abruptly. You do not allow it to release the shared
memory it has allocated and so eventually your machine will run out of
memory that can be allocated. Not a good idea. AIPS has the command
KLEENEX which closes the windows gracefully as aips exits. The Esc key
type when the cursor is in the TV window also is a graceful way to close
it. To get a new TV you must start a new aips. NOte that you can run
multiple instances of aips with or without multiple TVs. The MSG window
is different. You can close it with CTRL-D in the window or the kill
button at the top right.
>
>
> 3. If the 1st problem cannot be solved, the most likely method for me is
> to reinstall my AIPS in my Linux system. BUT it seems that I didn't find
> a proper way to delete this old one, cause I'm afraid that directly
> delete the AIPS directory(using for installation) is not right and might
> affect the next installation.
You probably do not need to reinstall aips, but if you want to reinstall
a version - say 31DEC19 - over agin.
cd $AIPS_VERSION
"/bin/rm" -rf 31DEC19
and then 31DEC19 is fully cleaned out and may be reinstalled.
>
> Sorry for my sudden bother to ask these bland questions. But I do have a
> problem...
>
>
> I'm looking forward to hearing from you. Thank you a lot!
>
>
> Best regards,
>
> Xiao
>
>
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> Daip mailing list
> Daip at listmgr.nrao.edu
> https://listmgr.nrao.edu/mailman/listinfo/daip
>
More information about the Daip
mailing list