Closing Stdin, Installing Mail Servers and Keyboard Shortcuts
:newbie: Question One
When I use a program that reads from stdin, I don't know how to stop it! I mean things like gpg on its own. I end up Ctrl-Cing it, which I am sure isn't the best way. Please help! :newbie: Question Two Are there any other keyboard shortcuts I should know apart from Ctrl-C and -Z? :newbie: Question Three How do I set up a POP and SMTP server on a Debian box? :newbie: Question Four When I send shutdown -r -t 5 19:32 reason I can't end the input, so it cancels the shutdown! How do terminate it? Thanks very much! (Note: I only have shell access to the above server.) |
Re: Closing Stdin, Installing Mail Servers and Keyboard Shortcuts
Quote:
Quote:
CTRL + ALT + F1-6 should switch you terminals. If you are switching from one to the other, you only need ALT + F1-6, CTRL is for switching out of X to a terminal. There are probably a billion of these really, for general use, I use the 2 you have listed. Quote:
You follow a HOW-TO for the one you want to install ;) I'm a huge postfix fan with courier as my pop/imap server. With Debian, you are looking at something like 'apt get install postfix courier-imap' Quote:
Good Luck! Cool |
Thanks, that was a lot of information. But I still don't know how to stop stdin!
|
Quote:
|
Well, here is one particular example of what is happening to help you understand.
Bang in GPG. It says 'Go ahead and type your message...' And then stops, and allows me to input. How do I terminate this input? Thanks! |
I don't use 'bang' but, it could be vim driven. In which case, to end, you type:
ESC :wq! The colon ( : ) tells it to stop taking input in the text file, and that you are giving it commands to do something with the text file, in this case, write then quit. Cool |
All times are GMT -5. The time now is 11:15 PM. |