User Tools

Site Tools


playground:vps_-_plan9front_-_fn_reply_and_prompt

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
playground:vps_-_plan9front_-_fn_reply_and_prompt [2022/06/26 05:19]
hc9 [reply with selected text]
playground:vps_-_plan9front_-_fn_reply_and_prompt [2022/06/26 05:46]
hc9 removed
Line 35: Line 35:
 cpu% cpu%
 </code> </code>
 +
 +=== whatis vim: ===
  
 <code> <code>
Line 75: Line 77:
 |**New Cut Paste Snarf Sort Zerox Delcol Mail**| |**New Cut Paste Snarf Sort Zerox Delcol Mail**|
 |**///mail/fs/mbox//** **Del Snarf : Look Put Mail Delmesg Undelmesg Next**| |**///mail/fs/mbox//** **Del Snarf : Look Put Mail Delmesg Undelmesg Next**|
-|2/|:::|⇐ An Email messages is here.|+|2/|:::|⇐ An Email messages is here. Mouse button 3 press #2.|
 |1/| |1/|
-|**///mail/fs/mbox/2///** **Del Snarf : Look Reply all Mail Delmesg Save |ireply**|:::|⇐ Mouse button 2 press //|ireply// after highlighting the text to include in the reply, then mouse button 2 press //Reply//.|+|**///mail/fs/mbox/2///** **Del Snarf : Look Reply all Mail Delmesg Save |ireply**|:::|⇐ Add //|ireply// by typing ''|ireply''Mouse button 2 press //|ireply// after highlighting the text (below) to include in the reply, then mouse button 2 press //Reply//.|
 |From: ne1nb00k@9p.sdf.org| |From: ne1nb00k@9p.sdf.org|
 |To:   ne1nb00k@9p.sdf.org| |To:   ne1nb00k@9p.sdf.org|
Line 97: Line 99:
  
 ^#^Examples^ ^#^Examples^
-|**1**|//To set your prompt in rc to reflect your current directory add this to your profile.//+|**1.**|//To set your prompt in rc to reflect your current directory add this to your profile.//
-|//a//|''<nowiki>fn cd { builtin cd $* && prompt=(`{pwd}^% '' ) }</nowiki>''+|//a.//|''<nowiki>fn cd { builtin cd $* && prompt=(`{pwd}^% '' ) }</nowiki>''
-|**2**|//If you make frequent use of cpu's -''h'' and ''-u'' arguments, this variant keeps track of the host you are connected to, and as which user://| +|**2.**|//If you make frequent use of cpu's -''h'' and ''-u'' arguments, this variant keeps track of the host you are connected to, and as which user://| 
-|//a//|''<nowiki>prompt = (`{cat /dev/user}^@^`{cat /dev/sysname}^'% '  ' ')</nowiki>''+|//a.//|''<nowiki>prompt = (`{cat /dev/user}^@^`{cat /dev/sysname}^'% '  ' ')</nowiki>''
-|//b//|''<nowiki>fn `{echo $prompt(1) | tr -d ' '} { $* }</nowiki>''|+|//b.//|''<nowiki>fn `{echo $prompt(1) | tr -d ' '} { $* }</nowiki>''|
  
 **Example #1:** **Example #1:**
Line 124: Line 126:
 cpu% cpu%
 </code> </code>
 +
 +=== whatis cd: ===
  
 <code> <code>