![빨지 않고 간단한 터미널에서 탭 크기를 변경하는 방법은 무엇입니까?](https://linux55.com/image/183987/%EB%B9%A8%EC%A7%80%20%EC%95%8A%EA%B3%A0%20%EA%B0%84%EB%8B%A8%ED%95%9C%20%ED%84%B0%EB%AF%B8%EB%84%90%EC%97%90%EC%84%9C%20%ED%83%AD%20%ED%81%AC%EA%B8%B0%EB%A5%BC%20%EB%B3%80%EA%B2%BD%ED%95%98%EB%8A%94%20%EB%B0%A9%EB%B2%95%EC%9D%80%20%EB%AC%B4%EC%97%87%EC%9E%85%EB%8B%88%EA%B9%8C%3F.png)
st 버전에서 탭 크기를 4칸 너비로 변경하는 방법을 알아내려고 합니다(여전히 탭을 사용함). 다음을 수행했지만 작동하지 않습니다.
tabspaces
변수를 8에서 4로 변경하고 값 it#8
을 다음으로 변경했습니다.거룩한 메시지it#4
파일의 코드에 표시된 대로 다음과 같습니다 config.def.h
.
/*
* spaces per tab
*
* When you are changing this value, don't forget to adapt the »it« value in
* the st.info and appropriately install the st.info in the environment where
* you use this st version.
*
* it#$tabspaces,
*
* Secondly make sure your kernel is not expanding tabs. When running `stty
* -a` »tab0« should appear. You can tell the terminal to not expand tabs by
* running following command:
*
* stty tabs
*/
unsigned int tabspaces = 4;
그런 다음 삭제했습니다.구성 파일파일을 만든 다음 make clean install
.
그러나 탭 너비는 변경되지 않습니다. 어떤 아이디어가 있나요?