Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.4: Get status of foreground jobs with ^T' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Get status of foreground jobs with ^T
Authored by: quentinsf on Jun 03, '05 10:36:40AM

Another useful and, I find, little-known, key is Ctrl-U. It deletes back to the beginning of the current line. I use this most often when I realise I've made an error typing a password. Since you can't see what you're typing, and backspaces can sometimes be handled in funny ways, Ctrl-U is the easiest way to start again.

Most people know Ctrl-K (delete to end of line). Another big favourite of mine is Ctrl-T, which swaps the two letters around the cursor; very handy for correcting typos. Ctrl-K and Ctrl-T also work in most Cocoa apps. Ctrl-U doesn't.



[ Reply to This | # ]
10.4: Get status of foreground jobs with ^T
Authored by: GlowingApple on Jun 03, '05 11:36:51AM

Is there any where I can get a list of these commands? I've always used page up in tty's in Gentoo to show me the most recent command beginning with what I currently have typed (i.e. typing ssh and then hitting page up would give me the full command to the last box I ssh'd to). But in Terminal.app it simply scrolls up the output buffer to the previous page of output. I'd love to find out what all the keyboard equivalents are for Terminal.app.

---
Jayson --When Microsoft asks you, "Where do you want to go today?" tell them "Apple."



[ Reply to This | # ]
Emacs key bindsing are universal in os x
Authored by: SOX on Jun 03, '05 11:55:42AM

All of these are a subset of the emacs key-bindings. so look at emacs and you will find a list.

a few of my favorites:
ctrl-a move to begining of line
ctrl-e mode to end of line
ctrl-k cut from cursor to end of line
ctrl-y paste previous cut at cursor

By the way these work in ALL cocoa application text frames. this includes any fill-out form on a webpage, mail.app, text-edit, spotlight,....

also shell specific handy keys are:
ctrl-c kills job
ctrl-z suspends job, retruns prompt; type "fg" to resume it.
ctrl-u kills entire line
ctrl-s halts all screen printing (your jobs may halt too!)
ctrl-q resumes screen printing.




[ Reply to This | # ]
10.4: Get status of foreground jobs with ^T
Authored by: simonpie on Jun 03, '05 02:51:06PM
stty -a

[ Reply to This | # ]
10.4: Get status of foreground jobs with ^T
Authored by: mayo2ca on Jun 03, '05 01:46:52PM

and ctrl+w to delete the last word ...



[ Reply to This | # ]