Changeset 1202 for trunk/src/kash/histedit.c
- Timestamp:
- Oct 7, 2007, 2:24:15 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kash/histedit.c
r1201 r1202 125 125 el_err = tracefile; 126 126 #endif 127 term = lookupvar( "TERM");127 term = lookupvar(psh, "TERM"); 128 128 if (term) 129 129 setenv("TERM", term, 1); … … 322 322 if (sflg == 0) { 323 323 if (editor == NULL && 324 (editor = bltinlookup( "FCEDIT", 1)) == NULL &&325 (editor = bltinlookup( "EDITOR", 1)) == NULL)324 (editor = bltinlookup(psh, "FCEDIT", 1)) == NULL && 325 (editor = bltinlookup(psh, "EDITOR", 1)) == NULL) 326 326 editor = DEFEDITOR; 327 327 if (editor[0] == '-' && editor[1] == '\0') { … … 444 444 evalstring(psh, editcmd, 0); /* XXX - should use no JC command */ 445 445 INTON; 446 readcmdfile( editfile); /* XXX - should read back - quick tst */446 readcmdfile(psh, editfile); /* XXX - should read back - quick tst */ 447 447 unlink(editfile); 448 448 }
Note:
See TracChangeset
for help on using the changeset viewer.