Thread View: news.software.readers
3 messages
3 total messages
Started by Will Estes
Tue, 26 Jan 1993 20:37
TIN: How can I change editor startup options?
Author: Will Estes
Date: Tue, 26 Jan 1993 20:37
Date: Tue, 26 Jan 1993 20:37
14 lines
891 bytes
891 bytes
Using TIN, how can I specify the edit command to be used? I need to make sure that one of two things happen: 1) my alias for vi is used instead of an absolute path to /usr/ucb/vi OR 2) I can supply my own startup string directly. I need for the startup string to contain an environment variable, as in: vi -c "$VI_ARGS" Any hints appreciated. -- Will Estes Internet: westes@netcom.com
Re: TIN: How can I change editor startup options?
Author: Pope Clifton
Date: Wed, 27 Jan 1993 00:11
Date: Wed, 27 Jan 1993 00:11
12 lines
1023 bytes
1023 bytes
Set the environment variable VISUAL to the full path of the editor you want, either in your .profile/.login (if you want it to apply to all programs, not just tin) or in invoking tin, thus: VISUAL=$HOME/bin/myvi tin -- Clifton -- cliftonr@netcom.com Home: +1 808 521 9073 Work: +1 808 625 3234 Clifton Royston, Pope of the Church of the Subgenius in Paradise - Dissecting personal psychopathology at the edge of the 20th century -
Re: TIN: How can I change editor startup options?
Author: Tom Middleton ; System Manager
Date: Wed, 27 Jan 1993 05:04
Date: Wed, 27 Jan 1993 05:04
20 lines
1294 bytes
1294 bytes
[ Thanx to Tom for letting me use his account ] westes@netcom.com (Will Estes) writes: : : Using TIN, how can I specify the edit command to be used? I need to : make sure that one of two things happen: : 1) my alias for vi is used instead of an absolute path to : /usr/ucb/vi : OR : 2) I can supply my own startup string directly. I need : for the startup string to contain an environment variable, : as in: : vi -c "$VI_ARGS" In the present version neither of the above points are possible. I may add parsing of env. variables withiN the editor string in a future release so watch this space. Iain
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads