User Tools

Site Tools



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

Link to this comparison view

automargins [2015/09/07 03:22] (current)
Line 1: Line 1:
 +=====About Automargin support=====
 +Starting in EPIC5-1.4, EPIC has improved automargin support, which makes it easier to copy and paste long URLs.
 +These are the steps:
 +  - **Use a terminal emulator that supports automargins (they pretty much all do)**
 +  - **Set your TERM env variable to something that supports automargins.** <​code>​export TERM=vt102am</​code>​ should do the job
 +  - **Restart EPIC after you've updated the TERM.** ​ \\ It's not enough to just change the TERM and re-attach screen. It's a good idea to check this when you're upgrading.
 +  - **/[[SET CONTINUED_LINE|SET -CONTINUED_LINE]]** \\ to get rid of the + thingee
 +  - **/[[SET INDENT|SET -INDENT]]** \\ to get rid of indenting the 2nd and subsequent lines
 +  - **/[[SET FIRST_LINE]] :::**  \\ or something if you don't use /set output_rewrite to prefix every line
 +  - **/[[SET WORD_BREAK]]<​space><​space><​enter>​** ​ \\ URLs contain commas and dots and semicolons, and you don't want epic to word break on anything other than a space.
 +That should do it!  Your display will now use the final column
 +on the display, and urls should be unmangled when you copy them
 +and want to rebreak your windows in order to take advantage of this after
 +the fact, you can always just do /[[WINDOW REBREAK_SCROLLBACK]] after setting things the way you need.
 +*** IMPORTANT! *** \\
 +Note that you _must_ be running with a TERM supporting
 +automargins or this will not change things!
 +You can check this by doing <​code>/​eval echo $getcap(TERM enter_am_mode)</​code>​
 +If it returns blank, then your TERM does not support automargins.
 +\\ *** IMPORTANT! ***
automargins.txt ยท Last modified: 2015/09/07 03:22 (external edit)