4
votes
1answer
139 views

How to automatically define functions and aliases on remote server after ssh login

I want to define bash functions and aliases in my remote shell automatically on login. I can't put the definitions into .profile or similar because the users I log in as are often shared with others ...
3
votes
2answers
199 views

How to prevent GNU screen from expanding tabs into spaces?

Using a normal bash prompt echo -e 'hello\tworld' produces a real tab. However the same command run within GNU screen puts spaces between the two words. I have tested this on Ubuntu 10.04 with Screen ...
2
votes
1answer
1k views

GNU screen clearing on vim,less,etc. exit

I'm very new to screen but have configured my ~/.screenrc file according to various recommendations I've found on the internet. I have one issue with it though which I'm sure could be resolved very ...
4
votes
4answers
3k views

GNU screen loses (parts of) command histories

I use GNU screen with 5 different sessions, each of which stores its own command history. But often I don't find a command in the history, although I'm sure I've used it exactly in the session I'm ...