📄 faq
字号:
TROUBLESHOOTING===============Q: Sometimes amsn "hangs", why?A: When amsn hangs it's usually a problem with the sound configuration. Maybeyou're playing a sound but the sound card is blocked, and the play commandstops until the sound card is available. Try disabling sound or changing thesound command configuration.Q: I try to run amsn but I get this error:bash: ./amsn: bad interpreter: No such file or directoryA: you need to install the tcl/tk packages, because you need the wishinterpreter. If you think you have it, try "wish amsn" instead of "./amsn". Ifthis works, edit amsn and change the first line: #!/usr/bin/wish with the location of the wish interpreter.Q: When I run amsn I get this error:Error in startup script: bad option "map": must becompare, first, index, last, length, match, range,tolower, toupper, trim, trimleft, trimright, wordend,or wordstartwhile executing"string map $map $md5body"(in namespace eval "::md5" script line 65)invoked from within"namespace eval ::md5 { ... etcA: You're using a version of tcl/tk that is older than 8.3. Update tcl/tk.Q: After updating amsn, this is what I get when I run it:Error in startup script: expected integer but got ""while executing"font create menufont -family $family -size $size-weight normal"(procedure "::amsn::initLook" line 5)invoked from within"::amsn::initLook $family $size $config(backgroundcolor)"(file "amsn" line 2184)A: There have been some changes in the configuration file. A quick fix to havethe new version working is to delete the old config file in your home dir.Delete /home/yourusername/.amsn/config and it should work now.Q: Can't type chinese / japanese / other languages in amsn. What can I do?A: It looks like xcin or similar programs are not supported in the currentversion of tcl/tk, so amsn doesn't work with them either. You should wait fornext version of tcl/tk and hope it supports xcin. Meanwhile, you can type thetext in another editor, and copy-paste it into the chat window .New:Internationalization copy and paste. If you have problems pasting charactersin to AMSN, download and install this version of Tcl/Tk from this site:http://jfontain.free.fr/tcl-8.4a3-2.i386.rpmhttp://jfontain.free.fr/tk-8.4a3-2.i386.rpmhttp://jfontain.free.fr/tcl-thread-8.4a3-2.i386.rpmPlease note that this could be a work around in caseyou can't type your language directly in to AMSN, forexample Traditional Chinese using xcin.Q: Can I use AMSN behind a proxy server?A: As of the development version right after 0.61, HTTP proxy support isavailable. This means that you can only connect behind an HTTP proxy (such assquid for example). If your proxy server is socks5 then you will not be ableto connect yet, but socks5 support is on the way.Q: Amsn looks connected, but when I try to chat with someone or change my stateI get disconnected. This happens often, after some minutes of inactivity.Probably I'm behind a router or firewall.A: Try enabling "Keepalive (NAT)" in the tools->options menu, inside advancedpreferences. It's a fix for shared internet connections that keeps sending adummy packet to the server every 2 minutes, to keep the connection alive.Q: The sound event is repeating. For example if XMMS is running and someonelogged in or you were chatting with someone, after XMMS is closed or thefile is finished all the sound events that weren`t able to be playedbecause of XMMS are now played in an annoying way.A: You have many solutions. If you're using KDE, you can configure XMMSto play sound through arts, and use artsplay as sound play command for amsn.This way sounds will be mixed. If you use gnome, you can use esdplay andconfigure xmms for playing through ESD. Or instead of using the play command,you could just make a small script that checks if /dev/dsp is busy, or free,before calling "play".Q: I'm using amsn behind a firewall, or using IP-Masquerade. Sending fileswon't work, can I fix it?A: Maybe the firewall is blocking incoming connections. File transfers workthis way: When you want to send someone a file, you send an invitation withyour IP address and a port number. Then the remote client must connect toyour IP:port to start the transfer.The used port is usually 6891, 6892 and so on (first transfer is on port 6891,but if you start a new file transfer while the first one hasn't finished yet,then it will use 6892, and so on).So, if using a firewall, you must make sure that it allows incomingconnections to port 6891 (and next ones if you want to be able to make morethan one transfer at the same time).If you're inside a private network with private addresses, like 192.168.0.x,then it's more difficult to make file transfers work. You need to send thereal internet address (you can enter it manually or tell amsn to guess itfrom a web page), instead of the internal address, and tell the gateway (thecomputer with direct connection to the internet) to forward incomingconnections to port 6891 to your computer inside the private network.Q: How to open filetransfer ports in Suse Linux?A: Guide thanks to John Hillier1. Open Konqueror in Super User mode (KMenu/System/More Programs/File Manager - Super User Mode).2. Enter in Konqueror URL field /etc/sysconfig/SuSEfirewall2.3. Click on text, right click with mouse, open KWrite to edit firewall script.4. Edit section #9 line FW_SERVICES_EXT_TCP="6891" to include port 6891.5. Save prior to closing all windows then restart firewall in YaST.An easiest way is to open "YaST/Security and Users/Firewall/Firewall Configuration". Click on "Expert" in "Additional Services" and add port 6891. I posted both steps since I learned a lot of useful information is containRunning on Windows==============Q: Can I make the sound work under windows?A: Yes, we have a small program called plwav.exe that just plays a wav underwindows. You can use it as sound command (amsn needs some external programto play sounds). Go to the Tools->options->preferences->applications menu andenter "plwav" as sound server command.Q: When notify window pops up, the windows taskbar partially hides it, can Ifix this?A: Yes, you can move the notify window X pixels to the left and Y pixels tothe top. You can change this in Tools->Options->Preferences, inside the"Advanced" preferences section.OTHER=====Q: I noticed AMSN is opening some ports over port 60000. Is it normal? Is ita backdoor? Why does this happen?A: It is normal. AMSN uses sockets as a locking system to avoid two AMSNinstances use the same profile at once (which could cause trouble). This isthe better platform independent locking system we found. If you find a betterway of doing this, just tell us :)If you check ~/.amsn/profiles, you can see what port is used for each profile.Q: I have another question, can you help me?A: Yes, we can. But first, take a look at the sourceforge project page, locatedat http://sourceforge.net/projects/amsn, and check all the bugs, supportrequest and general forums to check if your problem is already answered. Don'tcheck only the messages marked as "Open". There's a drop down list where youcan select "Closed", or "Pending" at the top of the messages list. Already answeredquestions are usually marked as Closed.Before submitting a bug or asking for support, get the following information:- Amsn version.- Tcl and Tk version.- Stack trace of the submitted error (if applicable).- Last error messages in debug windows (Ctrl+D and Ctrl+S in contact list).If you still have a question, please check:http://amsn.sourceforge.net/wiki/tiki-index.php?page=HOW+TO+help+and+getting+help
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -