Possible Changeover Bugs

From Netsoc Wiki
Jump to: navigation, search

This page is hilariously out of date, and preserved for historical purposes.

Once you've moved over to spoon, the odds are that something that used to work won't work anymore, or at least won't work as expected. Although we have made every effort to ensure that all the major things are working, we simply can't keep track of the many smaller issues. Examples of these are: "My prompt looks different","The colors in Mutt look all wrong" and "A program I often use is not installed on spoon". As we become aware of these problems we will add them (and hopefully their solutions) to this page. If you notice something not working or that a program is missing that used to be on matrix, let us know by contacting support@netsoc.tcd.ie.

A lot of the fixes outlined bellow involve editing configuration files. You may need to learn about Text Editors and we recomend the use of Vim.

Changing Your Shell

Your shell is the program that you use to interact with the server. It allows you to type commands and see text on the screen. The most common shells are zsh, tcsh and bash. The default shell on spoon is tcsh. It would be better to use the same shell on spoon as you used to use on matrix, as it may help ensure things work as expected. To check what your shell was on matrix, log into matrix.netsoc.tcd.ie and type echo $SHELL .This will output something like "/bin/tcsh". If it says tcsh then you are ok, as tcsh is spoons default shell. If it says bash or zsh then you'll need to change your shell. Do this by typing chsh . It will tell you your current shell and ask for the new one. Enter either /bin/zsh or /bin/bash (whichever your shell was on matrix) and press enter.

Fixing Mutts Colors

If you used mutt (an email client) on matrix you will probably continue to do so on spoon. But mutt on spoon doesn't have the same pretty color formatting. If you add the following lines to your .muttrc file using an Text Editor like vim mutt will look just like it used to.


color hdrdefault cyan black
color quoted green black
color signature brightcyan black
color indicator brightyellow red
color attachment brightyellow black
color error white black
color message white black
color search brightwhite magenta
color status brightgreen blue
color tree red black
color normal white black
color tilde green black
color bold brightyellow black
color markers red black
color header brightyellow black "^(From|Subject):"
color header brightgreen black "^(To):"
color header red black "^X-Junked-Because:"
mono header bold "^(From|Subject|X-Junked-Because):"

(it is possible this may be added to the global muttr file at some point and you won't have to bother, but feel free to use this as a guide to change the colors to your own personal prefference)

Backspace key may not work in Vim

This problem comes from a confusion between key mappings with certain terminals such as the commonly used PuTTy program. The backspace key will behave like the delete key instead of backspacing. To backspace you must hold down shift while pressing backspace.This is known to happen when using PuTTy but not when using XTerm. To fix this problem add the following lines to your .vimrc file:

:if &term == "xterm-color"<BR>
:  set t_kb=^V<BS><BR>
:  fixdel<BR>
:endif<BR>

Be warned that this fix will cause the backspace to not work correctly if you are using an eTerm (a linux terminal).


This page is not finished