Searched refs:cntl (Results 1 - 10 of 10) sorted by relevance

/ast/src/lib/libast/disc/
H A Dsfdcdio.c36 int cntl; /* file control flags */ member in struct:_direct_s
66 if(!(di->cntl & FDIRECT) )
67 { di->cntl |= FDIRECT;
68 (void)fcntl(f->file, F_SETFL, di->cntl);
90 if(done < n && (di->cntl & FDIRECT) )
92 di->cntl &= ~FDIRECT;
93 (void)fcntl(f->file, F_SETFL, di->cntl);
145 if(di->cntl&FDIRECT)
146 { di->cntl &= ~FDIRECT;
147 (void)fcntl(f->file,F_SETFL,di->cntl);
[all...]
/ast/src/cmd/ie/
H A Demacs.c250 ed_ungetchar(cntl('N'));
261 ed_ungetchar(cntl('Y'));
305 case cntl('V'):
311 case cntl('X'):
319 case cntl('S') :
320 case cntl('Q') :
339 case cntl('Y') :
393 case cntl('W') :
404 ed_ungetchar(cntl('D'));
410 case cntl('
[all...]
H A Dedit.h133 # define cntl(x) (x&037) macro
135 # define cntl(c) (c=='D'?55:(c=='E'?45:(c=='F'?46:(c=='G'?'\a':(c=='H'?'\b': \ macro
H A Dvi.c452 if( c == cntl('V') )
551 if(echoctl) /*** for cntl-echo erase the ^[ ***/
825 case cntl('L'): /** Redraw line **/
838 case cntl('V'):
1378 if( (c = getchar()) == cntl('V') )
1447 case cntl('W'): /** delete back word **/
2270 ed_ungetchar(cntl('L'));
2610 if((c=getchar())== cntl('V'))
H A Dedit.c284 editb.e_eof = cntl('D');
422 nttyparm.c_cc[VWERASE] = cntl('W');
425 nttyparm.c_cc[VLNEXT] = cntl('V');
/ast/src/cmd/ksh93/edit/
H A Demacs.c263 ed_ungetchar(ep->ed,cntl('N'));
274 ed_ungetchar(ep->ed,cntl('Y'));
327 case cntl('V'):
333 case cntl('X'):
341 case cntl('S') :
342 case cntl('Q') :
375 case cntl('Y') :
429 case cntl('W') :
440 ed_ungetchar(ep->ed,cntl('D'));
446 case cntl('
[all...]
H A Dedit.c68 # define printchar(c) ((c) ^ ('A'-cntl('A')))
75 case cntl('A'): return('A');
76 case cntl('B'): return('B');
77 case cntl('C'): return('C');
78 case cntl('D'): return('D');
79 case cntl('E'): return('E');
80 case cntl('F'): return('F');
81 case cntl('G'): return('G');
82 case cntl('H'): return('H');
83 case cntl('
[all...]
H A Dvi.c524 if(echoctl) /*** for cntl-echo erase the ^[ ***/
805 case cntl('L'): /** Redraw line **/
818 case cntl('V'):
897 ed_ungetchar(vp->ed,cntl('L'));
940 ed_ungetchar(vp->ed,cntl('L'));
2440 ed_ungetchar(vp->ed,cntl('L'));
/ast/src/cmd/ksh93/include/
H A Dedit.h185 #define ESC cntl('[')
194 # define cntl(x) (x&037) macro
196 # define cntl(c) (c=='D'?55:(c=='E'?45:(c=='F'?46:(c=='G'?'\a':(c=='H'?'\b': \ macro
/ast/src/lib/libcmd/
H A Dstty.c356 #define cntl(x) (((x)=='?')?0177:((x)&037)) macro
358 #define cntl(x) (((x)=='?')?ccmapc(0177,CC_ASCII,CC_NATIVE):ccmapc(ccmapc(x,CC_NATIVE,CC_ASCII)&037,CC_ASCII,CC_NATIVE)) macro
400 sp->c_cc[tp->mask] = cntl(tp->val);
625 return(cntl(cp[1]));

Completed in 650 milliseconds