/*
* 4 - Text filling, centering, and adjusting.
* "\ " - unbreakable space
* .n register - length of last line
* nl register - text baseline position on this page
* .h register - baseline high water mark
* .k register - current horizontal output position
* \p - cause break at end of word, justify
* \& - non-printing zero-width filler
* tr - output translation
* \c - break (but don't) input line in .nf mode
* \c - break (but don't) word in .fi mode
*/
int
e_space(void)
{
return 0xA0; /* non-breaking space */
}
nr(L(".j"), getnr(L(".j"))|1);
if(argc < 2)
return;
c = argv[1][0];
switch(c){
default:
fprint(2, "%L: bad adjust %C\n", c);
return;
case 'r':
n = 2*2|1;
break;
case 'l':
n = 0;
break;
case 'c':
n = 1*2|1;
break;
case 'b':
case 'n':
n = 0*2|1;
break;
case '0':
case '1':
case '2':
case '3':
case '4':
case '5':
n = c-'0';
break;
}
nr(L(".j"), n);
}